1+ 'use client' ;
2+
3+ import useWindowWidth from '@/components/csr/useWindowWidth' ;
14import { Container } from '@/components/ui/container' ;
25import YourDetails from './components/YourDetails' ;
36import Image from 'next/image' ;
47import Link from 'next/link' ;
8+
59import {
610 faFacebook ,
711 faDiscord ,
812 faInstagram ,
913 faLinkedin ,
1014 faGithub ,
1115 faYoutube ,
16+ faMeetup ,
1217} from '@fortawesome/free-brands-svg-icons' ;
1318import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' ;
1419
@@ -22,9 +27,14 @@ const socialLinks = [
2227 icon : faGithub ,
2328 } ,
2429 { href : 'https://www.linkedin.com/company/durianpy' , icon : faLinkedin } ,
30+ {
31+ href : 'https://www.meetup.com/durianpy-davao-python-user-group/' ,
32+ icon : faMeetup ,
33+ } ,
2534] ;
2635
2736export default function ContactPage ( ) {
37+ const width = useWindowWidth ( ) ;
2838 return (
2939 < >
3040 < svg
@@ -76,8 +86,16 @@ export default function ContactPage() {
7686 </ radialGradient >
7787 </ defs >
7888 </ svg >
79- < Container className = "relative min-h-screen justify-center items-center flex gap-[46px]" >
80- < div className = "flex flex-col gap-[80px] items-start justify-start" >
89+ < Container
90+ className = { `relative min-h-screen justify-center items-center flex gap-[46px] ${
91+ width < 1024 ? 'flex-col' : 'flex-row'
92+ } `}
93+ >
94+ < div
95+ className = { `flex flex-col gap-[80px] items-start justify-start ${
96+ width < 1024 ? 'text-center w-[531px] items-center' : ''
97+ } `}
98+ >
8199 < div className = "flex flex-col gap-[20px] text-white" >
82100 < h1 className = "text-web-title-font font-bold" > Contact Us</ h1 >
83101 < p className = "text-web-body-font" >
@@ -93,14 +111,14 @@ export default function ContactPage() {
93111 alt = ""
94112 />
95113 < div className = "flex flex-col text-white" >
96- < p className = "text-[#FFC201] leading-[49px] text-web-medium-font font-bold" >
114+ < p className = "text-[#FFC201] leading-[49px] text-web-medium-font font-bold text-left " >
97115 E-mail us
98116 </ p >
99117 < p className = "text-web-body-font" > durianpy.davao@gmail.com</ p >
100118 </ div >
101119 </ div >
102120 < div className = "flex flex-col gap-[10px]" >
103- < p className = "text-white text-button-hovered font-bold" >
121+ < p className = "text-white text-button-hovered font-bold " >
104122 Follow our social media
105123 </ p >
106124 < div className = "flex gap-[8px]" >
@@ -119,6 +137,37 @@ export default function ContactPage() {
119137 />
120138 </ Link >
121139 ) ) }
140+ { /* Latest Version of Medium Icon was not included in the package */ }
141+ < Link
142+ href = "https://medium.com/@durianpy.davao"
143+ target = "_blank"
144+ rel = "noopener noreferrer"
145+ className = "group"
146+ >
147+ < svg
148+ xmlns = "http://www.w3.org/2000/svg"
149+ width = "33"
150+ height = "33"
151+ viewBox = "0 0 1024 1024"
152+ fill = "none"
153+ className = "w-[16px] h-[16px] sm:w-[24px] sm:h-[24px] sm:mb-1 md:w-[40px] md:h-[40px] text-primary group-hover:text-[#FBFF00] transition-transform duration-300 group-hover:scale-110"
154+ >
155+ < rect
156+ width = "1024"
157+ height = "1024"
158+ rx = "179.649"
159+ fill = "currentColor"
160+ />
161+ < path
162+ d = "M1024 704.736V797.736C1018.16 798.3 1012.16 798.588 1006 798.588C896.061 798.588 834.166 707.016 831.497 592.432C831.418 588.002 831.448 583.6 831.546 579.228C831.606 576.501 831.714 573.783 831.852 571.075C831.921 569.628 831.989 568.269 832.098 566.753C832.206 565.236 832.315 563.72 832.443 562.204C836.401 511.613 852.687 466.594 879.568 433.284C896.267 412.606 916.334 396.852 939.09 386.316C959.078 376.253 987.17 370.699 1010.07 370.699H1011.06C1015.4 370.699 1019.71 370.844 1024 371.13V396.717C1019.45 395.47 1014.58 394.801 1009.4 394.715C963.086 395.67 935.486 451.145 932.049 528.007H1024V549.669H929.972L929.942 549.689C925.703 624.579 966.692 687.87 1024 704.736Z"
163+ fill = "#112018"
164+ />
165+ < path
166+ d = "M836.115 244.625L836.923 244.448V238.195H672.014L518.891 598.084L365.768 238.195H188.059V244.448L188.857 244.625C218.957 251.419 234.239 261.551 234.239 298.091V725.872C234.239 762.412 218.898 772.544 188.798 779.338L188 779.516V785.788H308.57V779.535L307.773 779.358C277.672 772.564 262.39 762.432 262.39 725.892V322.905L459.093 785.788H470.249L672.683 309.996V736.457C670.104 765.317 654.96 774.228 627.705 780.382L626.897 780.569V786.773H836.923V780.569L836.115 780.382C808.831 774.228 793.322 765.317 790.743 736.457L790.605 298.091H790.743C790.743 261.551 806.024 251.419 836.115 244.625Z"
167+ fill = "#112018"
168+ />
169+ </ svg >
170+ </ Link >
122171 </ div >
123172 </ div >
124173 </ div >
0 commit comments