|
1 | | -import TestComponent from './components/TestComponent'; |
| 1 | +import { Container } from '@/components/ui/container'; |
| 2 | +import YourDetails from './components/YourDetails'; |
| 3 | +import Image from 'next/image'; |
| 4 | +import Link from 'next/link'; |
| 5 | +import { |
| 6 | + faFacebook, |
| 7 | + faDiscord, |
| 8 | + faInstagram, |
| 9 | + faLinkedin, |
| 10 | + faGithub, |
| 11 | + faYoutube, |
| 12 | +} from '@fortawesome/free-brands-svg-icons'; |
| 13 | +import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; |
| 14 | + |
| 15 | +const socialLinks = [ |
| 16 | + { href: 'https://discord.gg/T7sTQRHFFy', icon: faDiscord }, |
| 17 | + { href: 'https://www.facebook.com/durianpy', icon: faFacebook }, |
| 18 | + { href: 'https://instagram.com/durianpy.dvo', icon: faInstagram }, |
| 19 | + { href: 'https://youtube.com/@DurianPy', icon: faYoutube }, |
| 20 | + { |
| 21 | + href: 'https://github.com/DurianPy-Davao-Python-User-Group', |
| 22 | + icon: faGithub, |
| 23 | + }, |
| 24 | + { href: 'https://www.linkedin.com/company/durianpy', icon: faLinkedin }, |
| 25 | +]; |
2 | 26 |
|
3 | 27 | export default function ContactPage() { |
4 | 28 | return ( |
5 | | - <main> |
6 | | - <h1 className="text-[10rem]">Contact Us</h1> |
7 | | - <TestComponent /> |
8 | | - </main> |
| 29 | + <> |
| 30 | + <svg |
| 31 | + xmlns="http://www.w3.org/2000/svg" |
| 32 | + width="825" |
| 33 | + height="813" |
| 34 | + viewBox="0 0 825 813" |
| 35 | + fill="none" |
| 36 | + className="absolute top-0 left-0" |
| 37 | + > |
| 38 | + <g filter="url(#filter0_f_2582_874)"> |
| 39 | + <path |
| 40 | + d="M605 31C605 341.384 351.145 593 38 593C-275.145 593 -529 341.384 -529 31C-529 -279.384 -275.145 -531 38 -531C351.145 -531 605 -279.384 605 31Z" |
| 41 | + fill="url(#paint0_radial_2582_874)" |
| 42 | + /> |
| 43 | + </g> |
| 44 | + <defs> |
| 45 | + <filter |
| 46 | + id="filter0_f_2582_874" |
| 47 | + x="-748.5" |
| 48 | + y="-750.5" |
| 49 | + width="1573" |
| 50 | + height="1563" |
| 51 | + filterUnits="userSpaceOnUse" |
| 52 | + color-interpolation-filters="sRGB" |
| 53 | + > |
| 54 | + <feFlood flood-opacity="0" result="BackgroundImageFix" /> |
| 55 | + <feBlend |
| 56 | + mode="normal" |
| 57 | + in="SourceGraphic" |
| 58 | + in2="BackgroundImageFix" |
| 59 | + result="shape" |
| 60 | + /> |
| 61 | + <feGaussianBlur |
| 62 | + stdDeviation="109.75" |
| 63 | + result="effect1_foregroundBlur_2582_874" |
| 64 | + /> |
| 65 | + </filter> |
| 66 | + <radialGradient |
| 67 | + id="paint0_radial_2582_874" |
| 68 | + cx="0" |
| 69 | + cy="0" |
| 70 | + r="1" |
| 71 | + gradientUnits="userSpaceOnUse" |
| 72 | + gradientTransform="translate(37.9999 30.9999) rotate(90) scale(562 567)" |
| 73 | + > |
| 74 | + <stop stop-color="#009643" /> |
| 75 | + <stop offset="1" stop-color="#271E00" stop-opacity="0" /> |
| 76 | + </radialGradient> |
| 77 | + </defs> |
| 78 | + </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"> |
| 81 | + <div className="flex flex-col gap-[20px] text-white"> |
| 82 | + <h1 className="text-web-title-font font-bold">Contact Us</h1> |
| 83 | + <p className="text-web-body-font"> |
| 84 | + Get in touch with us for any questions, concerns, or to learn more |
| 85 | + about our organization and initiatives |
| 86 | + </p> |
| 87 | + </div> |
| 88 | + <div className="flex gap-[28px]"> |
| 89 | + <Image |
| 90 | + src={'/assets/icons/email-us.svg'} |
| 91 | + width={63} |
| 92 | + height={63} |
| 93 | + alt="" |
| 94 | + /> |
| 95 | + <div className="flex flex-col text-white"> |
| 96 | + <p className="text-[#FFC201] leading-[49px] text-web-medium-font font-bold"> |
| 97 | + E-mail us |
| 98 | + </p> |
| 99 | + <p className="text-web-body-font">durianpy.davao@gmail.com</p> |
| 100 | + </div> |
| 101 | + </div> |
| 102 | + <div className="flex flex-col gap-[10px]"> |
| 103 | + <p className="text-white text-button-hovered font-bold"> |
| 104 | + Follow our social media |
| 105 | + </p> |
| 106 | + <div className="flex gap-[8px]"> |
| 107 | + {socialLinks.map(({ href, icon }, index) => ( |
| 108 | + <Link |
| 109 | + key={index} |
| 110 | + href={href} |
| 111 | + target="_blank" |
| 112 | + rel="noopener noreferrer" |
| 113 | + className="group" |
| 114 | + > |
| 115 | + <FontAwesomeIcon |
| 116 | + icon={icon} |
| 117 | + className="text-primary group-hover:text-[#FBFF00] transition-transform duration-300 group-hover:scale-110 |
| 118 | + text-md sm:text-xl md:w-10 md:text-2xl md:h-10" |
| 119 | + /> |
| 120 | + </Link> |
| 121 | + ))} |
| 122 | + </div> |
| 123 | + </div> |
| 124 | + </div> |
| 125 | + <YourDetails /> |
| 126 | + </Container> |
| 127 | + </> |
9 | 128 | ); |
10 | 129 | } |
0 commit comments