@@ -36,7 +36,7 @@ const socialLinks = [
3636export default function ContactPage ( ) {
3737 const width = useWindowWidth ( ) ;
3838 return (
39- < >
39+ < div className = "relative w-full flex align-center overflow-hidden" >
4040 < svg
4141 xmlns = "http://www.w3.org/2000/svg"
4242 width = "825"
@@ -87,45 +87,50 @@ export default function ContactPage() {
8787 </ defs >
8888 </ svg >
8989 < Container
90- className = { `relative min-h-screen justify-center items-center flex gap-[46px] ${
91- width < 1024 ? 'flex-col mt-[100px] ' : 'flex-row'
90+ className = { `relative p-[64px] w-full min-h-screen justify-between max-x-7xl items-center flex gap-[46px] ${
91+ width < 1024 ? 'flex-col' : 'flex-row'
9292 } `}
9393 >
9494 < div
95- className = { `flex flex-col gap-[80px] items-start justify-start ${
95+ className = { `flex flex-col gap-4 sm:gap- [80px] items-start justify-start ${
9696 width < 1024
9797 ? 'text-center justify-center sw-[531px] items-center'
9898 : ''
9999 } `}
100100 >
101- < div className = "flex flex-col gap-[20px] text-white sm:items-center lg:items-start" >
101+ < div className = "flex flex-col gap-2 sm:gap- [20px] text-white sm:items-center lg:items-start" >
102102 < h1 className = "text-web-title-font font-bold" > Contact Us</ h1 >
103- < p className = "text-web-body-font sm:w-[300px ]" >
103+ < p className = "text-web-body-font sm:max- w-[450px ]" >
104104 Get in touch with us for any questions, concerns, or to learn more
105105 about our organization and initiatives
106106 </ p >
107107 </ div >
108- < div
109- className = { `flex gap-[28px] ${
110- width < 1024 ? 'flex-col items-center gap-[0px] ' : 'flex-row'
108+ < a
109+ href = "mailto:durianpy.davao@gmail.com"
110+ target = "_blank"
111+ rel = "noopener noreferrer"
112+ className = { `flex gap-2 sm:gap-[28px] ${
113+ width < 768
114+ ? 'flex-col items-center gap-[0px] '
115+ : 'flex-row items-center'
111116 } `}
112117 >
113118 < Image
114119 src = { '/assets/icons/email-us.svg' }
115120 width = { 63 }
116121 height = { 63 }
117122 alt = ""
118- className = ""
123+ className = "sm:w-[63px] sm:h-[63px] w-[40px] h-[40px] "
119124 />
120125 < div className = "flex flex-col text-white" >
121126 < p
122- className = { `text-[#FFC201] leading-[49px] text-web-medium-font font-bold ${ width < 1024 ? 'leading-[25px] mt-[5px] md :leading-[45px]' : '' } ` }
127+ className = { `text-[#FFC201] leading-[49px] text-web-medium-font font-bold ${ width < 1024 ? 'leading-[25px] mt-[5px] sm :leading-[45px]' : '' } ` }
123128 >
124129 E-mail us
125130 </ p >
126131 < p className = "text-web-body-font" > durianpy.davao@gmail.com</ p >
127132 </ div >
128- </ div >
133+ </ a >
129134 < div className = "flex flex-col gap-[10px]" >
130135 < p className = "text-white text-button-hovered font-bold " >
131136 Follow our social media
@@ -142,7 +147,7 @@ export default function ContactPage() {
142147 < FontAwesomeIcon
143148 icon = { icon }
144149 className = "text-primary group-hover:text-[#FBFF00] transition-transform duration-300 group-hover:scale-110
145- text-md sm:text-xl md :w-10 md:text-2xl md :h-10"
150+ text-sm sm:text-xl sm :w-10 md:text-2xl sm :h-10"
146151 />
147152 </ Link >
148153 ) ) }
@@ -182,6 +187,6 @@ export default function ContactPage() {
182187 </ div >
183188 < YourDetails />
184189 </ Container >
185- </ >
190+ </ div >
186191 ) ;
187192}
0 commit comments