diff --git a/src/app/page.tsx b/src/app/page.tsx index 361b446..dfb6439 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -68,9 +68,8 @@ const Landing = () => { className="text-xl text-muted-foreground max-w-2xl mx-auto mb-10 leading-relaxed animate-fade-in stagger-2 opacity-0" style={{ animationFillMode: "forwards" }} > - DevRun is competitive programming reimagined. Race the clock - through algorithmic challenges, track your splits, and compete for - the fastest runs on the global leaderboard. + Race the clock through challenges, track your splits, and compete + for the fastest runs on the global leaderboard.
{/* CTA Buttons */} diff --git a/src/components/app/Navbar.tsx b/src/components/app/Navbar.tsx index 4dadf46..d8277b4 100644 --- a/src/components/app/Navbar.tsx +++ b/src/components/app/Navbar.tsx @@ -1,7 +1,36 @@ +"use client"; + import Link from "next/link"; import { Timer, Trophy, User, Zap } from "lucide-react"; +import { usePathname } from "next/navigation"; +import { cn } from "@/lib/utils"; + +const navs = [ + { + link: "/problems", + icon: Zap, + name: "Problems", + }, + { + link: "/run", + icon: Timer, + name: "Run", + }, + { + link: "/leaderboards", + icon: Trophy, + name: "Leaderboards", + }, + { + link: "/profile", + icon: User, + name: "Profile", + }, +]; const Navbar = () => { + const pathname = usePathname(); + return (