27 lines
696 B
TypeScript
27 lines
696 B
TypeScript
|
|
"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>
|
||
|
|
);
|
||
|
|
}
|