Update components/hero.tsx
This commit is contained in:
parent
175a292241
commit
cf0b52d489
|
|
@ -3,7 +3,6 @@
|
||||||
import Balancer from "react-wrap-balancer";
|
import Balancer from "react-wrap-balancer";
|
||||||
import { Button } from "./ui/button";
|
import { Button } from "./ui/button";
|
||||||
import { HiArrowRight } from "react-icons/hi2";
|
import { HiArrowRight } from "react-icons/hi2";
|
||||||
import { Badge } from "./badge";
|
|
||||||
import { motion } from "framer-motion";
|
import { motion } from "framer-motion";
|
||||||
|
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
|
|
@ -14,25 +13,6 @@ export const Hero = () => {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col min-h-screen pt-20 md:pt-40 relative overflow-hidden">
|
<div className="flex flex-col min-h-screen pt-20 md:pt-40 relative overflow-hidden">
|
||||||
<motion.div
|
|
||||||
initial={{
|
|
||||||
y: 40,
|
|
||||||
opacity: 0,
|
|
||||||
}}
|
|
||||||
animate={{
|
|
||||||
y: 0,
|
|
||||||
opacity: 1,
|
|
||||||
}}
|
|
||||||
transition={{
|
|
||||||
ease: "easeOut",
|
|
||||||
duration: 0.5,
|
|
||||||
}}
|
|
||||||
className="flex justify-center"
|
|
||||||
>
|
|
||||||
<Badge onClick={() => router.push("/blog/top-5-llm-of-all-time")}>
|
|
||||||
{/* removed badge */}
|
|
||||||
</Badge>
|
|
||||||
</motion.div>
|
|
||||||
<motion.h1
|
<motion.h1
|
||||||
initial={{
|
initial={{
|
||||||
y: 40,
|
y: 40,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue