feat: make InlineSvg more universal

This commit is contained in:
2026-04-01 20:34:37 +02:00
parent 320035c828
commit d9d87daf7e
2 changed files with 39 additions and 12 deletions

View File

@@ -38,7 +38,11 @@ import BaseLayout from "../layouts/BaseLayout.astro";
title="Mein Matrix-Konto"
external
>
<InlineSvg SvgComponent={MatrixLogo} slot="logo" />
<InlineSvg
SvgComponent={MatrixLogo}
fill="currentColor"
slot="logo"
/>
<span>@kmoschcau:matrix.org</span>
</ButtonLink>
</li>
@@ -49,7 +53,11 @@ import BaseLayout from "../layouts/BaseLayout.astro";
title="Mein GitHub-Konto"
external
>
<InlineSvg SvgComponent={GitHubLogo} slot="logo" />
<InlineSvg
SvgComponent={GitHubLogo}
fill="currentColor"
slot="logo"
/>
<span>kmoschcau</span>
</ButtonLink>
</li>
@@ -60,7 +68,11 @@ import BaseLayout from "../layouts/BaseLayout.astro";
title="Mein GitLab-Konto"
external
>
<InlineSvg SvgComponent={GitLabLogo} slot="logo" />
<InlineSvg
SvgComponent={GitLabLogo}
fill="currentColor"
slot="logo"
/>
<span>kmoschcau</span>
</ButtonLink>
</li>
@@ -71,7 +83,11 @@ import BaseLayout from "../layouts/BaseLayout.astro";
title="Mein LinkedIn-Konto"
external
>
<InlineSvg SvgComponent={LinkedInLogo} slot="logo" />
<InlineSvg
SvgComponent={LinkedInLogo}
fill="currentColor"
slot="logo"
/>
<span>kmoschcau</span>
</ButtonLink>
</li>
@@ -82,7 +98,11 @@ import BaseLayout from "../layouts/BaseLayout.astro";
title="Mein Keyoxide-Eintrag"
external
>
<InlineSvg SvgComponent={KeyoxideLogo} slot="logo" />
<InlineSvg
SvgComponent={KeyoxideLogo}
fill="currentColor"
slot="logo"
/>
<span>Keyoxide</span>
</ButtonLink>
</li>