Skip to content

Commit b22e7e9

Browse files
author
yashksaini-coder
committed
chore: 🤖 Clean up LandingPage and Footer components by removing unused code
1 parent b76d2aa commit b22e7e9

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

‎app/page.tsx‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,14 @@ export default function LandingPage() {
9292
{/* Main Content */}
9393
<main className="flex-1">
9494
{/* Hero Section */}
95-
<section className="w-full min-h-[calc(100vh-3.5rem)] py-12 md:py-24 lg:py-32 relative overflow-hidden bg-background">
95+
<section className="w-full py-12 md:py-24 lg:py-32 relative overflow-hidden bg-background">
9696
{/* <NetworkBackground /> */}
9797
<div className="container mx-auto px-4 md:px-6 relative z-10 flex flex-col items-center justify-center h-full text-center">
9898
<h1 className="text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl lg:text-7xl/none">
9999
<div className="relative font-medium text-[3rem] sm:text-[4rem] md:text-[5rem] leading-none text-foreground">
100100
<span className="relative inline-block">
101101
LeetCodeJournal
102-
<Star
102+
{/* <Star
103103
style={{
104104
top: "-30px",
105105
left: "10%",
@@ -147,7 +147,7 @@ export default function LandingPage() {
147147
color: "text-foreground",
148148
animationDelay: "1.2s",
149149
}}
150-
/>
150+
/> */}
151151
</span>
152152
</div>
153153
<p></p>
@@ -162,9 +162,6 @@ export default function LandingPage() {
162162
transition={{ duration: 1, delay: 0.5 }}
163163
className="text-2xl sm:text-3xl md:text-4xl lg:text-6xl/none relative"
164164
>
165-
<span className="bg-gradient-to-b from-transparent via-foreground to-foreground bg-clip-text text-transparent">
166-
& Master LeetCode
167-
</span>
168165
<div className="absolute inset-0 bg-gradient-to-b from-background via-transparent to-transparent" />
169166
</motion.div>
170167
</h1>

‎components/footer.tsx‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ export default function Footer() {
4141
<SocialLinks />
4242
</div>
4343
</div>
44-
</div>
45-
<div className="flex flex-col md:flex-row justify-start items-center border-t border-border">
4644
<p className="text-sm text-muted-foreground mb-4 md:mb-0">
4745
© 2025 LeetCode Journal. All rights reserved.
4846
</p>

0 commit comments

Comments
 (0)