Skip to content

Commit

Permalink
logo animation
Browse files Browse the repository at this point in the history
  • Loading branch information
saml33 committed Sep 26, 2023
1 parent d309554 commit 3f5224c
Show file tree
Hide file tree
Showing 6 changed files with 241 additions and 263 deletions.
5 changes: 4 additions & 1 deletion components/BoostLogo.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import mangoStore from '@store/mangoStore'

const BoostLogo = ({ className }: { className?: string }) => {
const submittingBoost = mangoStore((s) => s.submittingBoost)
return (
<svg
className={`${className}`}
className={`${className} ${submittingBoost ? 'animate-shake' : ''}`}
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 48 37"
fill="currentColor"
Expand Down
Loading

0 comments on commit 3f5224c

Please sign in to comment.