diff --git a/landing/components/landing/hero-title.tsx b/landing/components/landing/hero-title.tsx index c9b51fd6bb..56fb87d0b2 100644 --- a/landing/components/landing/hero-title.tsx +++ b/landing/components/landing/hero-title.tsx @@ -1,21 +1,9 @@ "use client"; -import { AnimatePresence, motion } from "framer-motion"; +import { motion } from "framer-motion"; import Link from "next/link"; -import { useEffect, useState } from "react"; - -const rotatingWords = ["the web", "Next.js", "TypeScript"]; export function HeroTitle() { - const [wordIndex, setWordIndex] = useState(0); - - useEffect(() => { - const interval = setInterval(() => { - setWordIndex((i) => (i + 1) % rotatingWords.length); - }, 2500); - return () => clearInterval(interval); - }, []); - return ( -
+
-

- The most comprehensive authentication framework for{" "} - - - - {rotatingWords[wordIndex]} - - - +

+ The most comprehensive authentication framework

{/* CTA Buttons */} -
+