✨ More style changes, removed test projects, favicon
Some checks failed
Build and deploy website / build (push) Failing after 22s
Some checks failed
Build and deploy website / build (push) Failing after 22s
- 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>
This commit is contained in:
@ -1,16 +1,21 @@
|
||||
---
|
||||
import ExternalLink from "./ExternalLink.astro"
|
||||
import * as m from "@/paraglide/messages"
|
||||
import Gitea from "../icons/Gitea.astro"
|
||||
import PajamasIcon from "../icons/PajamasIcon.astro"
|
||||
interface Props {
|
||||
href: string
|
||||
class?: string
|
||||
}
|
||||
const { href } = Astro.props
|
||||
const { href, class: clazz } = Astro.props
|
||||
---
|
||||
|
||||
<div>
|
||||
<ExternalLink href={href} class="flex items-center gap-1">
|
||||
<Gitea class="w-6 h-6" />
|
||||
<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>
|
||||
|
Reference in New Issue
Block a user