Skip to content

Commit

Permalink
feat: add animation
Browse files Browse the repository at this point in the history
  • Loading branch information
noyyyy committed Apr 14, 2024
1 parent ca1f1c3 commit b0a4369
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/client/src/component/March.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function March({
>
{inComing.map((i) => (
<a
className="m-2"
className="m-2 animate-blink"
id={i.messageId}
href={`https://ccip.chain.link/msg/${i.messageId}`}
>
Expand Down
12 changes: 11 additions & 1 deletion packages/client/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {},
extend: {
keyframes: {
blink: {
"0%, 100%": { opacity: "1" },
"50%": { opacity: "0" },
},
},
animation: {
blink: "blink 2s linear infinite",
},
},
},
plugins: [require("daisyui")],
daisyui: {
Expand Down

0 comments on commit b0a4369

Please sign in to comment.