Files
rustfs-console/components/links/github.tsx
T
安正超andCopilot Autofix powered by AI 5cd22b33f2 feat: extract theme module with build-time overrides (#79)
* feat: extract theme module with build-time overrides

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fix: address theme module review feedback

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-15 14:03:50 +08:00

19 lines
500 B
TypeScript

"use client"
import { Button } from "@/components/ui/button"
import { RiGithubLine } from "@remixicon/react"
import { getThemeManifest } from "@/lib/theme/manifest"
export function LinksGithub() {
const github = getThemeManifest().links.github
if (!github) return null
return (
<Button variant="link" asChild>
<a href={github} target="_blank" rel="noopener noreferrer" className="flex items-center gap-1">
<RiGithubLine className="size-4" />
</a>
</Button>
)
}