mirror of
https://github.com/rustfs/console.git
synced 2026-10-31 12:13:27 +08:00
19 lines
492 B
TypeScript
19 lines
492 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">
|
|
<a href={github} target="_blank" rel="noopener noreferrer" className="flex items-center gap-1">
|
|
<RiGithubLine className="size-4" />
|
|
</a>
|
|
</Button>
|
|
)
|
|
}
|