diff --git a/website/components/AnimatedBackground.tsx b/website/components/AnimatedBackground.tsx new file mode 100644 index 0000000..e08e60a --- /dev/null +++ b/website/components/AnimatedBackground.tsx @@ -0,0 +1,38 @@ +import { motion, useAnimation, useInView } from 'motion/react' + +export const AnimatedBackground = () => { + return ( +
+ + + + + + + + + {[...Array(20)].map((_, i) => ( + + ))} + + +
+ ) +} \ No newline at end of file diff --git a/website/components/Feature.tsx b/website/components/Feature.tsx index 5ccbbe6..fc1d05b 100644 --- a/website/components/Feature.tsx +++ b/website/components/Feature.tsx @@ -1,7 +1,7 @@ "use client"; import React, { ForwardRefExoticComponent, RefAttributes } from "react"; -import { motion } from "framer-motion"; +import { motion } from "motion/react"; import { LucideProps } from "lucide-react"; interface VintLangFeature { diff --git a/website/components/header.tsx b/website/components/header.tsx index 591970a..86e5cc2 100644 --- a/website/components/header.tsx +++ b/website/components/header.tsx @@ -15,8 +15,8 @@ export default function Header() { if (!mounted) return null return ( -
-
+
+
VintLang diff --git a/website/components/hero.tsx b/website/components/hero.tsx index d70f236..2ac0c63 100644 --- a/website/components/hero.tsx +++ b/website/components/hero.tsx @@ -4,43 +4,9 @@ import { useEffect, useRef } from 'react' import { motion, useAnimation, useInView } from 'motion/react' import { Button } from '@/components/ui/button' import { ArrowRight, Code2 } from 'lucide-react' +import { AnimatedBackground } from './AnimatedBackground' + -export const AnimatedBackground = () => { - return ( -
- - - - - - - - - {[...Array(20)].map((_, i) => ( - - ))} - - -
- ) -} export default function Hero() { const controls = useAnimation()