diff --git a/public/og.jpg b/public/og.jpg new file mode 100644 index 0000000..299be16 Binary files /dev/null and b/public/og.jpg differ diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..738254d --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://astro-multiverse.netlify.app/sitemap-index.xml \ No newline at end of file diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro new file mode 100644 index 0000000..0f86ab9 --- /dev/null +++ b/src/components/BaseHead.astro @@ -0,0 +1,38 @@ +--- +interface Props { + title?: string | undefined; + description?: string | undefined; + author?: string | undefined; + og?: string | undefined; +} + +const { title, description, author, og } = Astro.props; +--- + + + + + + + + + + {title} + + + + + + + + + + + + + + + diff --git a/src/pages/index.astro b/src/pages/index.astro index 92ec8d0..ee9a626 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,4 +1,5 @@ --- +import BaseHead from "../components/BaseHead.astro"; import Header from "../components/Header.astro"; import Footer from "../components/Footer.astro"; import Thumb from "../components/Thumb.astro"; @@ -11,16 +12,12 @@ let description = "Say hello to Multiverse, a slick, one-page gallery design wit - - {title} - - - - - - - - +