Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

feat(JoinUs): add wave animation to emoji #575

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default function JoinUs(props) {
href="https://sei23.eventbrite.pt"
className={`flex h-28 w-28 flex-shrink-0 rotate-15 transform items-center justify-center font-ibold text-xl text-${props.fgColor} bg-${props.button} translate-x-0 rounded-full`}
>
Join us 👋
Join us <span className="origin-bottom-right animate-wave">👋</span>
</a>
);
}
8 changes: 8 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,15 @@ module.exports = {
ithin: ["Inter-Thin"],
terminal: ["Terminal"],
},
animation: {
wave: "wave 5s cubic-bezier(0.4, 0, 0.2, 1) infinite",
},
keyframes: {
wave: {
"6%, 12%": { transform: "rotate(15deg)" },
"9%, 15%": { transform: "rotate(-15deg)" },
"21%": { transform: "rotate(0deg)" },
},
"typewriter-cursor-pulse": {
"50%": { opacity: 0 },
},
Expand Down