Skip to content

Commit

Permalink
chore: only animate when user allows it
Browse files Browse the repository at this point in the history
Signed-off-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
mcansh committed May 14, 2021
1 parent a7cb010 commit 363b1ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const links: LinksFunction = () => [
];

const IndexPage: RouteComponent = () => (
<div className="flex flex-col items-center justify-center h-full max-w-screen-md px-4 py-8 mx-auto animate-fall">
<div className="flex flex-col items-center justify-center h-full max-w-screen-md px-4 py-8 mx-auto motion-safe:animate-fall">
<div className="flex flex-col items-center justify-center flex-1">
<img
src="/me.jpg"
Expand Down

1 comment on commit 363b1ad

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for mcan.sh ready!

✅ Preview
https://mcansh-gacgf3tw7-mcansh.vercel.app

Built with commit 363b1ad.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.