@@ -10,20 +10,26 @@ export default function Challenges() {
1010 ]
1111
1212 return (
13- < section className = "w-full bg-white py-16" >
14- < div className = "container mx-auto px-6" >
15- < h2 className = "text-3xl font-bold text-center mb-12 text-[#009563]" >
16- Barriers of adoption
17- </ h2 >
18- < div className = "grid grid-cols-1 md:grid-cols-3 gap-8" >
19- { challenges . map ( ( challenge , index ) => (
20- < div key = { index } className = "flex flex-col items-center text-center" >
21- < challenge . icon className = "w-16 h-16 text-[#fcac04] mb-4" />
22- < p className = "text-lg font-semibold text-gray-800" >
23- { challenge . text }
24- </ p >
25- </ div >
26- ) ) }
13+ < section className = "py-8 px-4 sm:px-6 lg:px-8" >
14+ < div className = "max-w-7xl mx-auto" >
15+ < h2 className = "text-3xl font-bold mb-8 text-center text-[#009563]" > Barriers of Adoption</ h2 >
16+ < div className = "flex flex-col gap-8" >
17+ < div className = "grid grid-cols-1 md:grid-cols-3 gap-8" >
18+ { challenges . slice ( 0 , 3 ) . map ( ( challenge , index ) => (
19+ < div key = { index } className = "flex flex-col items-center text-center" >
20+ < challenge . icon className = "h-12 w-12 text-[#fcac04] mb-4" />
21+ < p className = "text-lg font-semibold text-[#1D1D1D]" > { challenge . text } </ p >
22+ </ div >
23+ ) ) }
24+ </ div >
25+ < div className = "grid grid-cols-1 md:grid-cols-2 gap-8 md:px-24" >
26+ { challenges . slice ( 3 ) . map ( ( challenge , index ) => (
27+ < div key = { index } className = "flex flex-col items-center text-center" >
28+ < challenge . icon className = "h-12 w-12 text-[#fcac04] mb-4" />
29+ < p className = "text-lg font-semibold text-[#1D1D1D]" > { challenge . text } </ p >
30+ </ div >
31+ ) ) }
32+ </ div >
2733 </ div >
2834 </ div >
2935 </ section >
0 commit comments