Skip to content

Commit a01febc

Browse files
committed
footer
1 parent 712f580 commit a01febc

File tree

2 files changed

+47
-5
lines changed

2 files changed

+47
-5
lines changed

components/SocialLinks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export function SocialLinks() {
1919
href={link.url}
2020
target="_blank"
2121
rel="noopener noreferrer"
22-
className="text-muted-foreground hover:text-primary"
22+
className=" hover:text-primary"
2323
whileHover={{ scale: 1.1 }}
2424
whileTap={{ scale: 0.95 }}
2525
initial={{ opacity: 0, y: 20 }}

components/footer.tsx

Lines changed: 46 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import { RainbowButton } from "@/components/ui/rainbow-button";
44
import { SocialLinks } from "@/components/SocialLinks";
55
import { BookOpen, Github } from "lucide-react";
66
import { useEffect, useState } from "react";
7+
import { Separator } from "./ui/separator";
8+
import Link from "next/link";
79

810
export default function Footer() {
911
const [currentYear, setCurrentYear] = useState<number>(new Date().getFullYear());
@@ -16,10 +18,15 @@ export default function Footer() {
1618
<footer className="w-full pt-8 pb-4 px-4 md:px-6 border-t bg-secondary">
1719
<div className="container mx-auto">
1820
<div className="flex flex-col md:flex-row justify-between items-center mb-8">
19-
<div className="flex items-center space-x-4 mb-4 md:mb-0">
20-
<BookOpen className="h-6 w-6 text-primary" />
21-
<span className="font-bold text-lg">LeetCode Journal</span>
21+
<div className="space-y-2 ">
22+
<div className="flex items-center space-x-4 mb-4 md:mb-0">
23+
<BookOpen className="h-6 w-6 text-primary" />
24+
<span className="font-bold text-lg">LeetCode Journal</span>
25+
26+
</div>
27+
<p className="text-gray-400">The Journey to Coding Mastery Begins Now</p>
2228
</div>
29+
2330
<div className="flex items-center space-x-4 -ml-2">
2431
<RainbowButton className="hidden md:inline-flex items-center space-x-2">
2532
<a
@@ -35,7 +42,42 @@ export default function Footer() {
3542
<SocialLinks />
3643
</div>
3744
</div>
38-
<div className="flex flex-col md:flex-row justify-center items-center pt-8 border-t border-border">
45+
<div className="flex justify-between items-center ">
46+
<div className="">
47+
<div className="text-md">
48+
<div className="">Quick Links</div>
49+
<ul className="space-y-2 text-muted-foreground mt-4 ">
50+
<li>
51+
<Link href="/">Home</Link>
52+
</li>
53+
<li>
54+
<Link href="/learn-more">About Us</Link>
55+
</li>
56+
<li>
57+
<Link href="/FAQ">FAQ</Link>
58+
</li>
59+
</ul>
60+
</div>
61+
</div>
62+
<div className="">
63+
<div className="text-md text-right">
64+
<div className="">Support</div>
65+
<ul className="space-y-2 text-muted-foreground mt-4">
66+
<li>
67+
<Link href="#">Contact Us</Link>
68+
</li>
69+
<li>
70+
<Link href="#">Privacy Policy</Link>
71+
</li>
72+
<li>
73+
<Link href="#">Terms of Service</Link>
74+
</li>
75+
</ul>
76+
</div>
77+
</div>
78+
</div>
79+
<Separator className="my-4 bg-muted-foreground" />
80+
<div className="flex flex-col md:flex-row justify-start items-center border-t border-border">
3981
<p className="text-sm text-muted-foreground mb-4 md:mb-0">
4082
© 2025 LeetCode Journal. All rights reserved.
4183
</p>

0 commit comments

Comments
 (0)