diff --git a/src/components/MetaTags.astro b/src/components/MetaTags.astro new file mode 100644 index 0000000..f5dc172 --- /dev/null +++ b/src/components/MetaTags.astro @@ -0,0 +1,13 @@ +--- +interface Props { + title: string; + cover: string; +} +--- + + + + + + + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 7900858..5e2af4f 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -6,10 +6,12 @@ import { useTranslations } from "@i18n/utils"; interface Props { title: string; width?: "full" | "compact"; + image?: string; } const t = useTranslations(Astro.url); const { title } = Astro.props; + import "./theme.css"; import "./global.css"; --- @@ -21,6 +23,7 @@ import "./global.css"; +