Skip to content

Commit f8d1aed

Browse files
committed
fix: make app logo link to landing page
1 parent 1f7d9dc commit f8d1aed

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

web/src/app/app/page.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,19 @@ function AppShell() {
9595
<header className="sticky top-0 z-40 border-b bg-background/80 backdrop-blur-sm">
9696
<div className="mx-auto flex h-14 max-w-6xl items-center justify-between px-6">
9797
<div className="flex items-center gap-3">
98-
<div className="flex items-center gap-2">
98+
<button
99+
type="button"
100+
onClick={() => router.push("/")}
101+
className="flex items-center gap-2 rounded-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
102+
title="Back to landing page"
103+
>
99104
<div className="h-5 w-5 rounded bg-foreground flex items-center justify-center">
100105
<Lock className="h-3 w-3 text-background" />
101106
</div>
102107
<span className="text-sm font-semibold tracking-tight">
103108
agentdocs
104109
</span>
105-
</div>
110+
</button>
106111
<span className="text-[10px] font-mono text-muted-foreground/60 hidden sm:inline">
107112
e2ee
108113
</span>

0 commit comments

Comments
 (0)