jaecoo-cihampelas/components/landing-page/header-item.tsx

27 lines
696 B
TypeScript
Raw Permalink Normal View History

2025-07-13 07:48:15 +00:00
"use client";
import Image from "next/image";
import { motion } from "framer-motion";
export default function HeaderItems() {
return (
<section className="py-10 px-6 md:px-10 bg-white">
<motion.div
className="flex flex-col items-center gap-10"
initial={{ opacity: 0, y: 50 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.8 }}
>
<div className="relative w-full h-[640px] overflow-hidden p-5">
<Image
src={"/service.png"}
alt="Service Header"
fill
className="object-cover"
sizes="100vw"
/>
</div>
</motion.div>
</section>
);
}