Initial commit
This commit is contained in:
16
src/components/links/GiteaLink.astro
Normal file
16
src/components/links/GiteaLink.astro
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
import ExternalLink from "./ExternalLink.astro"
|
||||
import * as m from "../../paraglide/messages"
|
||||
import Gitea from "../../icons/Gitea.astro"
|
||||
interface Props {
|
||||
href: string
|
||||
}
|
||||
const { href } = Astro.props
|
||||
---
|
||||
|
||||
<div>
|
||||
<ExternalLink href={href} class="flex items-center gap-1">
|
||||
<Gitea class="w-6 h-6" />
|
||||
{m.sourceCode()}
|
||||
</ExternalLink>
|
||||
</div>
|
Reference in New Issue
Block a user