diff --git a/src/assets/ogp.svg b/src/assets/ogp.svg new file mode 100644 index 0000000..4fc3705 --- /dev/null +++ b/src/assets/ogp.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index a334311..7ea72e4 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,12 +1,16 @@ --- import Navigation from "../components/Navigation.astro"; +import ogp from "../assets/ogp.svg"; interface Props { lang?: string; title?: string; + description?: string; } -const { lang = "en", title } = Astro.props; +const { lang = "en", title, description } = Astro.props; + +const pageTitle = title ? `iChemy | ${title}` : "iChemy"; --- @@ -16,7 +20,27 @@ const { lang = "en", title } = Astro.props; - {title ? `iChemy | ${title}` : "iChemy"} + {pageTitle} + + {description && } + + + + + + + + + + + + + + +