Skip to content

Commit f471383

Browse files
committed
Add GitHub link with icon to the page header
1 parent aa2d436 commit f471383

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

‎apps/web/app/page.tsx‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { ConfidenceRow } from "@/components/confidence-row";
99
import { Button } from "@/components/ui/button";
1010
import { Toast } from "@/components/toast";
1111
import { LoadingDots } from "@/components/loading-dots";
12+
import { Github } from "lucide-react";
1213

1314
export default function Page() {
1415
const [fileA, setFileA] = useState<File | null>(null);
@@ -94,7 +95,19 @@ export default function Page() {
9495
<h1 className="text-xl font-semibold tracking-tight">Face Metric</h1>
9596
<p className="text-sm text-slate-400">Two photos in. One clean match score out.</p>
9697
</div>
97-
<PrivacyBadge />
98+
<div className="flex items-center gap-3">
99+
<PrivacyBadge />
100+
<a
101+
href="https://github.com/neozhu/face-metric"
102+
target="_blank"
103+
rel="noreferrer"
104+
className="inline-flex items-center gap-2 rounded-md border border-border bg-card/50 px-3 py-2 text-sm text-slate-200 hover:bg-card/70 transition-colors"
105+
>
106+
<Github className="h-4 w-4 text-slate-200" />
107+
GitHub
108+
</a>
109+
110+
</div>
98111
</header>
99112

100113
<section className="grid grid-cols-1 lg:grid-cols-2 gap-6">

0 commit comments

Comments
 (0)