feat: refactor inline links and use heroicons

This commit is contained in:
2026-04-01 21:03:52 +02:00
parent d9d87daf7e
commit 62339b4f33
7 changed files with 54 additions and 36 deletions

View File

@@ -1,7 +1,6 @@
---
import { Image } from "astro:assets";
import ButtonLink from "../components/button-link.astro";
import InlineSvg from "../components/inline-svg.astro";
import GitHubLogo from "../images/GitHub.svg";
import GitLabLogo from "../images/GitLab.svg";
import KeyoxideLogo from "../images/Keyoxide.svg";
@@ -38,9 +37,10 @@ import BaseLayout from "../layouts/BaseLayout.astro";
title="Mein Matrix-Konto"
external
>
<InlineSvg
SvgComponent={MatrixLogo}
<MatrixLogo
class="size-6"
fill="currentColor"
role="presentation"
slot="logo"
/>
<span>@kmoschcau:matrix.org</span>
@@ -53,9 +53,10 @@ import BaseLayout from "../layouts/BaseLayout.astro";
title="Mein GitHub-Konto"
external
>
<InlineSvg
SvgComponent={GitHubLogo}
<GitHubLogo
class="size-6"
fill="currentColor"
role="presentation"
slot="logo"
/>
<span>kmoschcau</span>
@@ -68,9 +69,10 @@ import BaseLayout from "../layouts/BaseLayout.astro";
title="Mein GitLab-Konto"
external
>
<InlineSvg
SvgComponent={GitLabLogo}
<GitLabLogo
class="size-6"
fill="currentColor"
role="presentation"
slot="logo"
/>
<span>kmoschcau</span>
@@ -83,9 +85,10 @@ import BaseLayout from "../layouts/BaseLayout.astro";
title="Mein LinkedIn-Konto"
external
>
<InlineSvg
SvgComponent={LinkedInLogo}
<LinkedInLogo
class="size-6"
fill="currentColor"
role="presentation"
slot="logo"
/>
<span>kmoschcau</span>
@@ -98,9 +101,10 @@ import BaseLayout from "../layouts/BaseLayout.astro";
title="Mein Keyoxide-Eintrag"
external
>
<InlineSvg
SvgComponent={KeyoxideLogo}
<KeyoxideLogo
class="size-6"
fill="currentColor"
role="presentation"
slot="logo"
/>
<span>Keyoxide</span>