mirror of
https://github.com/rustfs/console.git
synced 2026-11-03 06:33:31 +08:00
* 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>
19 lines
500 B
TypeScript
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>
|
|
)
|
|
}
|