diff --git a/src/components/Logo.astro b/src/components/Logo.astro new file mode 100644 index 0000000..1ae47c1 --- /dev/null +++ b/src/components/Logo.astro @@ -0,0 +1,42 @@ +--- +import Config from "@srx/config/page.json"; + +interface Props { + className?: string; + href?: string; + alt?: string; + fill?: string; + height?: number; + width?: number; + wordmark?: boolean; + picturemark?: boolean; +} + +const { + className = "h-10 fill-primary", + href = Astro.url, + alt = Config.logo.alt, + height = Config.logo.size.height, + width = Config.logo.size.width, + wordmark = true, + picturemark = true, +} = Astro.props; +--- + + + + {alt} + + + +