Files
martials.no/src/components/links/GiteaLink.astro
Martin Berg Alstad 54db411930
Some checks failed
Build and deploy website / build (push) Failing after 22s
More style changes, removed test projects, favicon
- Fix missing aria-labels
- Fix breadcrumbs on specific projects
- Removed uses from NavBar
- Center image on project page
- Colour link on project page
- Initial README

Signed-off-by: Martin Berg Alstad <git@martials.no>
2025-02-15 19:29:06 +01:00

22 lines
486 B
Plaintext

---
import ExternalLink from "./ExternalLink.astro"
import * as m from "@/paraglide/messages"
import PajamasIcon from "../icons/PajamasIcon.astro"
interface Props {
href: string
class?: string
}
const { href, class: clazz } = Astro.props
---
<div>
<ExternalLink
href={href}
class:list={["flex items-center gap-1", clazz]}
title="Gitea"
>
<PajamasIcon name="pajamas:gitea" class="w-6 h-6" aria-label="Gitea icon" />
{m.sourceCode()}
</ExternalLink>
</div>