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

Commit

Permalink
style(components:navbar): style the first link in navbar
Browse files Browse the repository at this point in the history
  ## what
  - style the first link in navbar
    - enlarge text
    - font bold
    - add margin right

  ## how

  ## why
  - to separate the home page link with the other links

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

  ## usage
  • Loading branch information
Clumsy-Coder committed Jan 4, 2024
1 parent f798c5d commit b1fe859
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const Navbar = ({ className, ...props }: React.HTMLAttributes<HTMLElement>) => {
className={cn(
"nav-link",
pathname === link.href && "active-nav-link",
"first:text-lg first:font-bold first:mr-8",
)}
>
{link.label}
Expand Down

0 comments on commit b1fe859

Please sign in to comment.