Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
chore(components:navbar): add navbar link to /problems page
Browse files Browse the repository at this point in the history
  ## what
  - add navbar link to `/problems` page

  ## how

  ## why

  ## where
  - ./src/components/navbar.tsx

  ## usage
  • Loading branch information
Clumsy-Coder committed Jan 2, 2024
1 parent 7f94cfd commit b39fca5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<HTMLElement>) => {
return (
Expand Down

0 comments on commit b39fca5

Please sign in to comment.