feat: add dark theme, matrix and FA link, fix inline SVG aria label
This commit is contained in:
12
src/components/inline-svg.astro
Normal file
12
src/components/inline-svg.astro
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
import type { SvgComponent } from "astro/types";
|
||||
|
||||
interface Props {
|
||||
SvgComponent: SvgComponent;
|
||||
svgSize?: number;
|
||||
}
|
||||
|
||||
const { SvgComponent, svgSize = 24 } = Astro.props;
|
||||
---
|
||||
|
||||
<SvgComponent height={svgSize} width={svgSize} role="presentation" />
|
||||
Reference in New Issue
Block a user