Skip to content

Commit 40f68f7

Browse files
committed
update top nav
1 parent 6838e26 commit 40f68f7

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

app/components/top-nav.tsx

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
useUser,
77
} from "@clerk/tanstack-start";
88
import {
9+
CrownIcon,
910
HomeIcon,
1011
LogOutIcon,
1112
MailIcon,
@@ -225,10 +226,12 @@ function NewTopNav() {
225226
return (
226227
<>
227228
<header className="sticky top-0 z-10 flex items-center justify-between p-4 border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60 md:hidden">
228-
<div className="flex items-center gap-2">
229-
<Video className="w-8 h-8 text-red-500" />
230-
<span className="font-semibold">Slipstream</span>
231-
</div>
229+
<Link to="/">
230+
<div className="flex items-center gap-2">
231+
<Video className="w-8 h-8 text-red-500" />
232+
<span className="font-semibold">Slipstream</span>
233+
</div>
234+
</Link>
232235

233236
<div className="flex items-center gap-2">
234237
<Button
@@ -305,7 +308,19 @@ function NewTopNav() {
305308
)}
306309
>
307310
<HomeIcon className="w-4 h-4" />
308-
Dashboard
311+
Home
312+
</Link>
313+
</SheetClose>
314+
<SheetClose>
315+
<Link
316+
to="/pricing"
317+
className={cn(
318+
"flex items-center gap-3 px-3 py-2 text-sm transition-colors rounded-md hover:bg-accent",
319+
currentPath === "/pricing" && "bg-accent"
320+
)}
321+
>
322+
<CrownIcon className="w-4 h-4" />
323+
Pricing
309324
</Link>
310325
</SheetClose>
311326
<SheetClose>

0 commit comments

Comments
 (0)