@@ -5,79 +5,55 @@ import Image from 'next/image';
55export default function MissionPillars ( ) {
66 return (
77 < section className = "flex flex-col w-full md:justify-center items-center bg-white md:bg-[#CEEDF4] py-12 space-y-10" >
8- < p className = "md:uppercase tracking-wide font-bold md:font-light text-2xl md:text-5xl" >
8+ < p className = "md:uppercase font-bold md:font-light text-2xl md:text-5xl" >
99 Our Mission Pillars
1010 </ p >
11- < div className = "hidden md:flex flex-col md:flex-row md:space-x-4 md:justify-between items-center w-4/5 lg:w-1/2 xl:2/5" >
12- < Pillar count = "01" label = "Mentorship" />
13- < Image
14- src = { '/images/mentorship-image.png' }
15- alt = "Mentorship Image"
16- width = { 360 }
17- height = { 270 }
18- className = "rounded-lg"
19- />
20- </ div >
21- < div className = "hidden md:flex flex-col md:flex-row-reverse space-x-4 justify-between items-center w-4/5 lg:w-1/2 xl:2/5" >
22- < Pillar count = "02" label = "Learning" />
23- < Image
24- src = { '/images/learning-image.png' }
25- alt = "Learning Image"
26- width = { 360 }
27- height = { 270 }
28- className = "rounded-lg"
29- />
30- </ div >
31- < div className = "hidden md:flex flex-col md:flex-row space-x-4 justify-between items-center w-4/5 lg:w-1/2 xl:2/5" >
32- < Pillar count = "03" label = "Community" />
33- < Image
34- src = { '/images/community-image.png' }
35- alt = "Community Image"
36- width = { 360 }
37- height = { 270 }
38- className = "rounded-lg"
39- />
40- </ div >
41- < div className = "flex md:hidden flex-col space-y-2 w-full px-6" >
42- < div className = "flex w-full" >
43- < Pillar count = "01" label = "Mentorship" />
11+ < div className = "flex flex-col md:flex-row md:items-center md:justify-center w-full px-6 space-y-4 md:space-x-6" >
12+ < div className = "flex" >
13+ < Pillar count = "01" label = "Mentorship" />
4414 </ div >
45- < div className = "flex justify-end" >
46- < Image
47- src = { '/images/mentorship-image.png' }
48- alt = "Mentorship Image"
49- width = { 172 }
50- height = { 138 }
51- className = "rounded-lg"
52- />
15+ < div className = "flex justify-end w-full md:w-2/5 lg:w-1/4" >
16+ < div className = "flex w-1/2 md:w-full" >
17+ < div className = "w-full overflow-hidden aspect-w-4 aspect-h-3" >
18+ < Image
19+ src = { '/images/mentorship-image.png' }
20+ alt = "Mentorship Image"
21+ layout = "fill"
22+ />
23+ </ div >
24+ </ div >
5325 </ div >
5426 </ div >
55- < div className = "flex md:hidden flex-col space-y-2 w-full px-6" >
56- < div className = "flex w-full justify-end" >
57- < Pillar count = "02" label = "Learning" />
58- </ div >
59- < div className = "flex justify-start" >
60- < Image
61- src = { '/images/learning-image.png' }
62- alt = "Learning Image"
63- width = { 172 }
64- height = { 138 }
65- className = "rounded-lg"
66- />
27+ < div className = "flex flex-col md:flex-row-reverse md:items-center md:justify-center w-full px-6 space-y-4 md:space-x-6 md:space-x-reverse" >
28+ < div className = "flex justify-end" >
29+ < Pillar count = "02" label = "Learning" />
30+ </ div >
31+ < div className = "flex md:justify-start w-full md:w-2/5 lg:w-1/4" >
32+ < div className = "flex w-1/2 md:w-full" >
33+ < div className = "w-full overflow-hidden aspect-w-4 aspect-h-3" >
34+ < Image
35+ src = { '/images/learning-image.png' }
36+ alt = "Learning Image"
37+ layout = "fill"
38+ />
39+ </ div >
40+ </ div >
6741 </ div >
6842 </ div >
69- < div className = "flex md:hidden flex-col space-y-2 w-full px-6" >
70- < div className = "flex w-full " >
71- < Pillar count = "03" label = "Community" />
43+ < div className = "flex flex-col md:flex-row md:items-center md:justify-center w-full px-6 space-y-4 md:space-x -6" >
44+ < div className = "flex" >
45+ < Pillar count = "03" label = "Community" />
7246 </ div >
73- < div className = "flex justify-end" >
74- < Image
75- src = { '/images/community-image.png' }
76- alt = "Community Image"
77- width = { 172 }
78- height = { 138 }
79- className = "rounded-lg"
80- />
47+ < div className = "flex justify-end w-full md:w-2/5 lg:w-1/4 " >
48+ < div className = "flex w-1/2 md:w-full" >
49+ < div className = "w-full overflow-hidden aspect-w-4 aspect-h-3" >
50+ < Image
51+ src = { '/images/community-image.png' }
52+ alt = "Community Image"
53+ layout = "fill"
54+ />
55+ </ div >
56+ </ div >
8157 </ div >
8258 </ div >
8359 </ section >
0 commit comments