diff --git a/src/components/inline-svg.astro b/src/components/inline-svg.astro index 8f09eb9..2f20289 100644 --- a/src/components/inline-svg.astro +++ b/src/components/inline-svg.astro @@ -1,17 +1,24 @@ --- -import type { SvgComponent } from "astro/types"; +import type { HTMLAttributes, SvgComponent } from "astro/types"; -interface Props { +interface Props extends HTMLAttributes<"svg"> { SvgComponent: SvgComponent; size?: number; } -const { size = 24, SvgComponent } = Astro.props; +const { + SvgComponent, + height, + role = "presentation", + size = 24, + width, + ...rest +} = Astro.props; --- diff --git a/src/pages/index.astro b/src/pages/index.astro index 7a35030..1e3968a 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -38,7 +38,11 @@ import BaseLayout from "../layouts/BaseLayout.astro"; title="Mein Matrix-Konto" external > - + @kmoschcau:matrix.org @@ -49,7 +53,11 @@ import BaseLayout from "../layouts/BaseLayout.astro"; title="Mein GitHub-Konto" external > - + kmoschcau @@ -60,7 +68,11 @@ import BaseLayout from "../layouts/BaseLayout.astro"; title="Mein GitLab-Konto" external > - + kmoschcau @@ -71,7 +83,11 @@ import BaseLayout from "../layouts/BaseLayout.astro"; title="Mein LinkedIn-Konto" external > - + kmoschcau @@ -82,7 +98,11 @@ import BaseLayout from "../layouts/BaseLayout.astro"; title="Mein Keyoxide-Eintrag" external > - + Keyoxide