11"use client" ;
22import { useEffect , useRef } from "react" ;
33import { gsap } from "gsap" ;
4+ import { IoMdCloseCircle , IoMdRemoveCircle , IoMdAddCircle } from "react-icons/io" ;
45
56export default function Hero ( ) {
67 const cardsRef = useRef ( [ ] ) ;
@@ -17,7 +18,12 @@ export default function Hero() {
1718
1819 return (
1920 < section className = "flex justify-center items-center py-12 px-6" >
20- < div className = "max-w-6xl w-full bg-white rounded-xl shadow-lg flex flex-col md:flex-row items-center overflow-hidden" >
21+ < div className = "max-w-6xl w-full bg-white rounded-xl shadow-lg " >
22+ < div className = "flex justify-between mx-2 my-2" >
23+ < IoMdCloseCircle className = "text-lg text-black opacity-50" />
24+ < IoMdCloseCircle className = "text-lg text-black opacity-50" />
25+ </ div >
26+ < div className = "flex flex-col md:flex-row items-center overflow-hidden" >
2127 { /* Left: Heading and CTA */ }
2228 < div className = "w-full md:w-1/2 p-8 md:px-14 md:py-24 flex flex-col justify-center items-start" >
2329 < h1 className = "text-4xl md:text-4xl font-semibold text-neutral-900 mb-4" >
@@ -58,10 +64,35 @@ export default function Hero() {
5864 key = { i }
5965 ref = { ( el ) => ( cardsRef . current [ i ] = el ) }
6066 className = "absolute w-40 h-60 bg-neutral-100 rounded-lg shadow-md"
61- />
67+ >
68+ < div className = "flex justify-start mt-1 ml-1" >
69+ < IoMdCloseCircle className = "text-lg text-red-500" />
70+ < IoMdRemoveCircle className = "text-lg text-amber-500" />
71+ < IoMdAddCircle className = "text-lg text-green-500" />
72+ </ div >
73+ < div className = "mx-4 mt-1" >
74+ < div className = "border border-black/25 rounded-lg h-[60px] flex justify-center items-center w-auto" >
75+ < p className = "text-black/50 text-sm" > Add image</ p >
76+ </ div >
77+ < div className = "mt-2 flex flex-col" >
78+ < p className = "text-sm ml-1" > Card Heading</ p >
79+ < p className = "text-xs ml-1 text-black/50" > A short description goes here, explaining the component or its purpose.</ p >
80+ < div className = "border border-black/25 rounded-3xl mt-2" > </ div >
81+ </ div >
82+ </ div >
83+ < div className = "flex flex-row gap-2 justify-center mt-2" >
84+ < div className = "bg-black text-white px-2 py-1 text-sm rounded-lg shadow-lg duration-300 hover:scale-110" > Button</ div >
85+ < div className = "border border-black text-black px-2 py-1 text-sm rounded-lg shadow-lg duration-300 hover:scale-110" > Button</ div >
86+ </ div >
87+ </ div >
6288 ) ) }
6389 </ div >
6490 </ div >
91+ < div className = "flex justify-between mx-2 my-2" >
92+ < IoMdCloseCircle className = "text-lg text-black opacity-50" />
93+ < IoMdCloseCircle className = "text-lg text-black opacity-50" />
94+ </ div >
95+ </ div >
6596 </ section >
6697 ) ;
6798}
0 commit comments