diff --git a/src/app/(site)/feed/_components/faq.tsx b/src/app/(site)/feed/_components/faq.tsx index 673d598..0a1ae6d 100644 --- a/src/app/(site)/feed/_components/faq.tsx +++ b/src/app/(site)/feed/_components/faq.tsx @@ -1,6 +1,8 @@ import { FAQType } from "@/types/interface"; import React from "react"; import { FAQDropDown } from "@/components/faq"; +import links from "@/lib/data/links.json"; + const faqs: FAQType[] = [ { id: "faq0", @@ -105,10 +107,7 @@ const FAQs = () => {

More questions? Reach out to us in - + {" our Discord server "} and we'll get back to you ASAP! diff --git a/src/components/footer.tsx b/src/components/footer.tsx index b8d6745..dd2a50e 100644 --- a/src/components/footer.tsx +++ b/src/components/footer.tsx @@ -1,5 +1,6 @@ import React from "react"; import { BsInstagram, BsLinkedin, BsDiscord } from "react-icons/bs"; +import links from "@/lib/data/links.json"; export const LandingFooter: React.FC = () => { return ( @@ -9,24 +10,22 @@ export const LandingFooter: React.FC = () => {

Contact Us

-

fullyhacks@gmail.com

+

{links.email}

- + - + - + ACM Logo - +
diff --git a/src/components/nav-bar.tsx b/src/components/nav-bar.tsx index b64653c..1166f28 100644 --- a/src/components/nav-bar.tsx +++ b/src/components/nav-bar.tsx @@ -20,6 +20,7 @@ import { HiMenu, HiOutlineSpeakerphone } from "react-icons/hi"; import { HiOutlineTrophy } from "react-icons/hi2"; import { IoArrowBackSharp } from "react-icons/io5"; import { SlEnergy } from "react-icons/sl"; +import links from "@/lib/data/links.json"; export const NavBarLanding: React.FC = () => { const menuList: MenuType[] = [ @@ -299,7 +300,7 @@ export const FeedSideBar: React.FC = ({ setLocation }) => { Discord Server @@ -328,10 +329,7 @@ export const FeedSideBar: React.FC = ({ setLocation }) => {
- + Discord Server
diff --git a/src/lib/data/links.json b/src/lib/data/links.json new file mode 100644 index 0000000..c194d85 --- /dev/null +++ b/src/lib/data/links.json @@ -0,0 +1,7 @@ +{ + "discord": "https://discord.gg/XKNZxHEnJj", + "linkedin": "https://www.linkedin.com/company/fullyhacks/", + "instagram": "https://www.instagram.com/fullyhacks/", + "acmcsuf": "https://acmcsuf.com/", + "email": "fullyhacks@gmail.com" +}