Skip to content

Commit

Permalink
More subtle animation
Browse files Browse the repository at this point in the history
  • Loading branch information
mvaivre committed Mar 15, 2024
1 parent 36f45b6 commit ff59a97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/NavigationMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ const NavigationDrawer = ({ title, items, className }: NavigationDrawerProps) =>
{items.findIndex((i) => i.isNew) !== -1 && (
<NewItemBubble>
<NewItemBubbleEcho
initial={{ scale: 1, opacity: 1 }}
animate={{ scale: 4, opacity: 0 }}
transition={{ repeat: Infinity, duration: 1.5, repeatDelay: 0.5 }}
initial={{ scale: 1, opacity: 0.7 }}
animate={{ scale: 3, opacity: 0 }}
transition={{ repeat: Infinity, duration: 2, repeatDelay: 1 }}
/>
</NewItemBubble>
)}
Expand Down

0 comments on commit ff59a97

Please sign in to comment.