From b39fca515ba258534ab3eb0182e285db29c59d7c Mon Sep 17 00:00:00 2001 From: Clumsy-Coder <19594044+Clumsy-Coder@users.noreply.github.com> Date: Tue, 2 Jan 2024 15:52:22 -0700 Subject: [PATCH] chore(components:navbar): add navbar link to `/problems` page ## what - add navbar link to `/problems` page ## how ## why ## where - ./src/components/navbar.tsx ## usage --- src/components/navbar.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/navbar.tsx b/src/components/navbar.tsx index b8aaed9..43584c5 100644 --- a/src/components/navbar.tsx +++ b/src/components/navbar.tsx @@ -3,7 +3,10 @@ import Link from "next/link"; import { cn } from "@/lib/utils"; import { ModeToggle } from "@/components/darkmode-toggle"; -const links = [{ label: "Uva uHunt", href: "/" }]; +const links = [ + { label: "Uva uHunt", href: "/" }, + { label: "All problems", href: "/problems" }, +]; const Navbar = ({ className, ...props }: React.HTMLAttributes) => { return (