diff --git a/web/src/app/_components/ray.tsx b/web/src/app/_components/ray.tsx new file mode 100644 index 0000000..a478d58 --- /dev/null +++ b/web/src/app/_components/ray.tsx @@ -0,0 +1,44 @@ +export function Ray() { + return ( + + + + + + + + + + + + + ); +} diff --git a/web/src/app/page.tsx b/web/src/app/page.tsx index 959e42a..78ba24e 100644 --- a/web/src/app/page.tsx +++ b/web/src/app/page.tsx @@ -27,6 +27,8 @@ import { BentoGrid } from "~/components/magicui/bento-grid"; import { FlickeringGrid } from "~/components/magicui/flickering-grid"; import { Button } from "~/components/ui/button"; +import { Ray } from "./_components/ray"; + export default function HomePage() { return (
@@ -38,6 +40,7 @@ export default function HomePage() {
); } diff --git a/web/src/styles/globals.css b/web/src/styles/globals.css index 527758c..3bd5b31 100644 --- a/web/src/styles/globals.css +++ b/web/src/styles/globals.css @@ -18,6 +18,18 @@ opacity: 1; } } + + --animate-spotlight: spotlight 2s ease 0.75s 1 forwards; + @keyframes spotlight { + 0% { + opacity: 0; + transform: translate(-72%, -62%) scale(0.5); + } + to { + opacity: 1; + transform: translate(-50%, -40%) scale(1); + } + } } @theme inline {