Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/app/(site)/feed/_components/faq.tsx
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -105,10 +107,7 @@ const FAQs = () => {
</div>
<p className="my-2 text-center">
More questions? Reach out to us in
<a
target={"_blank"}
href="https://discord.gg/XKNZxHEnJj"
className="font-bold">
<a target={"_blank"} href={links.discord} className="font-bold">
{" our Discord server "}
</a>
and we&apos;ll get back to you ASAP!
Expand Down
13 changes: 6 additions & 7 deletions src/components/footer.tsx
Original file line number Diff line number Diff line change
@@ -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 (
Expand All @@ -9,24 +10,22 @@ export const LandingFooter: React.FC = () => {
<h2 className="m-4 mt-14 text-center text-xxl font-medium text-[#B479FF] [text-shadow:_0_0_10px_#FFD8FD] md:text-[5rem]">
Contact Us
</h2>
<p className="font-medium">[email protected]</p>
<p className="font-medium">{links.email}</p>
<div className="mt-4 flex items-center justify-center gap-4 text-[#9A76FF]">
<a
target="_blank"
href="https://www.linkedin.com/company/fullyhacks/">
<a target="_blank" href={links.linkedin}>
<BsLinkedin className="h-12 w-12 md:h-16 md:w-16" />
</a>
<a target="_blank" href="https://discord.gg/3NvZKuQxJY">
<a target="_blank" href={links.discord}>
<BsDiscord className="h-12 w-12 md:h-16 md:w-16" />
</a>
<a target="_blank" href="https://acmcsuf.com/">
<a target="_blank" href={links.acmcsuf}>
<img
className="h-12 w-12 md:h-16 md:w-16"
src="/assets/acm_logo.svg"
alt="ACM Logo"
/>
</a>
<a target="_blank" href="https://www.instagram.com/fullyhacks/">
<a target="_blank" href={links.instagram}>
<BsInstagram className="h-8 w-8 md:h-12 md:w-12" />
</a>
</div>
Expand Down
8 changes: 3 additions & 5 deletions src/components/nav-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = [
Expand Down Expand Up @@ -299,7 +300,7 @@ export const FeedSideBar: React.FC<FeedSideBarProps> = ({ setLocation }) => {
<BsDiscord size={28} />
<a
target="_blank"
href="https://discord.gg/XKNZxHEnJj"
href={links.discord}
className="text-white transition-colors duration-200 hover:text-[#EF4DB3]">
Discord Server
</a>
Expand Down Expand Up @@ -328,10 +329,7 @@ export const FeedSideBar: React.FC<FeedSideBarProps> = ({ setLocation }) => {
</ul>
<div className="mt-4 flex items-center gap-4 text-center">
<BsDiscord size={28} />
<a
target={"_blank"}
href="https://discord.gg/XKNZxHEnJj"
className="text-white">
<a target={"_blank"} href={links.discord} className="text-white">
Discord Server
</a>
</div>
Expand Down
7 changes: 7 additions & 0 deletions src/lib/data/links.json
Original file line number Diff line number Diff line change
@@ -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": "[email protected]"
}
Loading