Skip to content

Commit dc849a9

Browse files
committed
Update MainNav component and site configuration
- Adjusted the size classes in the MainNav component for better consistency. - Renamed the navigation item from "Fun Fact Stats" to "Discover" in the site configuration.
1 parent fa91482 commit dc849a9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/main-nav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function MainNav({ items }: MainNavProps) {
2222
return (
2323
<div className="flex items-center gap-2 sm:gap-6 md:gap-10">
2424
<Link href="/" className="flex items-center space-x-2">
25-
<div className="flex size-8 items-center justify-center rounded-full bg-primary sm:size-10">
25+
<div className="flex h-8 w-8 items-center justify-center rounded-full bg-primary sm:size-10">
2626
<span className="text-sm font-bold text-primary-foreground sm:text-lg">
2727
U
2828
</span>

config/site.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ export const siteConfig = {
3131
href: "/",
3232
},
3333
{
34-
title: "Fun Fact Stats",
35-
href: "/statistics",
34+
title: "Discover",
35+
href: "/discover",
3636
},
3737
{
3838
title: "Deep Dive",

0 commit comments

Comments
 (0)