Skip to content

Commit e61f63e

Browse files
authored
Merge pull request #85 from sunithvs/fix(UI)/footer-links
feat: updated social media links to footer and constants
2 parents be25524 + 028683a commit e61f63e

File tree

2 files changed

+28
-7
lines changed

2 files changed

+28
-7
lines changed

www/components/footer.tsx

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
import Image from "next/image";
22
import Link from "next/link";
3-
import { DEVB_BUY_ME_A_COFFEE_LINK, DEVB_GITHUB_LINK } from "@/lib/constants";
3+
import {
4+
DEVB_BUY_ME_A_COFFEE_LINK,
5+
DEVB_DISCORD_LINK,
6+
DEVB_GITHUB_LINK,
7+
DEVB_INSTAGRAM_LINK,
8+
DEVB_LINKEDIN_LINK,
9+
DEVB_X_LINK,
10+
} from "@/lib/constants";
411

512
const Footer = () => {
613
return (
@@ -31,14 +38,24 @@ const Footer = () => {
3138
<div>
3239
<h3 className="text-lg font-medium mb-4">Quick Links</h3>
3340
<ul className="space-y-2">
41+
<li>
42+
<Link
43+
href={DEVB_DISCORD_LINK}
44+
target="_blank"
45+
rel="noopener noreferrer"
46+
className="text-[#F3F3F3] opacity-60 hover:opacity-100 text-sm"
47+
>
48+
Join Discord
49+
</Link>
50+
</li>
3451
<li>
3552
<Link
3653
href={DEVB_GITHUB_LINK}
3754
target="_blank"
3855
rel="noopener noreferrer"
3956
className="text-[#F3F3F3] opacity-60 hover:opacity-100 text-sm"
4057
>
41-
Star us on Github
58+
Star Us On GitHub
4259
</Link>
4360
</li>
4461
<li>
@@ -48,7 +65,7 @@ const Footer = () => {
4865
rel="noopener noreferrer"
4966
className="text-[#F3F3F3] opacity-60 hover:opacity-100 text-sm"
5067
>
51-
Support us
68+
Support Us
5269
</Link>
5370
</li>
5471
</ul>
@@ -60,7 +77,7 @@ const Footer = () => {
6077
<ul className="space-y-2">
6178
<li>
6279
<Link
63-
href="https://x.com/devb_io"
80+
href={DEVB_X_LINK}
6481
target="_blank"
6582
rel="noopener noreferrer"
6683
className="text-[#F3F3F3] opacity-60 hover:opacity-100 text-sm"
@@ -70,7 +87,7 @@ const Footer = () => {
7087
</li>
7188
<li>
7289
<Link
73-
href="https://github.com/devb-io"
90+
href={DEVB_GITHUB_LINK}
7491
target="_blank"
7592
rel="noopener noreferrer"
7693
className="text-[#F3F3F3] opacity-60 hover:opacity-100 text-sm"
@@ -80,7 +97,7 @@ const Footer = () => {
8097
</li>
8198
<li>
8299
<Link
83-
href="https://instagram.com/devb_io"
100+
href={DEVB_INSTAGRAM_LINK}
84101
target="_blank"
85102
rel="noopener noreferrer"
86103
className="text-[#F3F3F3] opacity-60 hover:opacity-100 text-sm"
@@ -90,7 +107,7 @@ const Footer = () => {
90107
</li>
91108
<li>
92109
<Link
93-
href="https://linkedin.com/company/devb-io"
110+
href={DEVB_LINKEDIN_LINK}
94111
target="_blank"
95112
rel="noopener noreferrer"
96113
className="text-[#F3F3F3] opacity-60 hover:opacity-100 text-sm"

www/lib/constants.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
export const DEVB_INVITE_LINK = "https://devb.io/?modal=true&ref=invite";
22
export const DEVB_GITHUB_LINK = "https://github.com/sunithvs/devb.io";
33
export const DEVB_BUY_ME_A_COFFEE_LINK = "https://buymeacoffee.com/sunithvs";
4+
export const DEVB_DISCORD_LINK = "https://discord.gg/se8fhSWSw9";
5+
export const DEVB_INSTAGRAM_LINK = "https://instagram.com/devb_io";
6+
export const DEVB_LINKEDIN_LINK = "https://www.linkedin.com/company/devb-io";
7+
export const DEVB_X_LINK = "https://x.com/devb_io";

0 commit comments

Comments
 (0)