Skip to content

Commit 843ee03

Browse files
committedJan 1, 2025·
refactor: 💡 Remove navigation links and update Learn More button in LandingPage component
1 parent be153ec commit 843ee03

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed
 

‎app/page.tsx

+3-7
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ export default function LandingPage() {
1919
<span className="font-bold text-lg">LeetCode Journal</span>
2020
</Link>
2121
<nav className="ml-auto flex gap-4 sm:gap-6">
22-
<Link className="text-sm font-medium hover:text-primary" href="#features">
23-
Features
24-
</Link>
25-
<Link className="text-sm font-medium hover:text-primary" href="#pricing">
26-
Pricing
27-
</Link>
2822
<ThemeToggle />
2923
</nav>
3024
</header>
@@ -45,7 +39,9 @@ export default function LandingPage() {
4539
</div>
4640
<div className="space-x-4">
4741
<Button size="lg" className="bg-primary text-primary-foreground hover:bg-primary/90">Get Started</Button>
48-
<Button variant="outline" size="lg">Learn More</Button>
42+
<Button variant="outline" size="lg">Learn More
43+
<a href=""></a>
44+
</Button>
4945
</div>
5046
</div>
5147
</div>

‎components/theme-toggle.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ export function ThemeToggle() {
3131
<DropdownMenuItem onClick={() => setTheme("dark")} className="cursor-pointer">
3232
Dark
3333
</DropdownMenuItem>
34-
<DropdownMenuItem onClick={() => setTheme("system")} className="cursor-pointer">
35-
System
36-
</DropdownMenuItem>
3734
</DropdownMenuContent>
3835
</DropdownMenu>
3936
)

0 commit comments

Comments
 (0)
Please sign in to comment.