feat: add GitHub link button in top-right corner

Use lucide-react Github icon and open repo page in new tab

Co-authored-by: Simon <85533298+handsomezhuzhu@users.noreply.github.com>
This commit is contained in:
v0
2026-02-04 16:08:51 +00:00
parent 89529d7e86
commit 565a30e246

View File

@@ -27,6 +27,7 @@ import {
Monitor,
Languages,
Check,
Github,
} from "lucide-react"
import { Button } from "@/components/ui/button"
import { Input } from "@/components/ui/input"
@@ -657,6 +658,22 @@ export default function TwoFactorAuth() {
</div>
</div>
<div className="flex items-center gap-2">
<Button
variant="ghost"
size="icon"
asChild
>
<a
href="https://github.com/handsomezhuzhu/2fa-tool"
target="_blank"
rel="noopener noreferrer"
title="GitHub"
>
<Github className="h-5 w-5" />
<span className="sr-only">GitHub</span>
</a>
</Button>
<Button
variant="ghost"
size="icon"