BaseLayout ok
+diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..89915d6 --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1,8 @@ + diff --git a/public/og-image.svg b/public/og-image.svg new file mode 100644 index 0000000..7421288 --- /dev/null +++ b/public/og-image.svg @@ -0,0 +1,13 @@ + diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..137a33f --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://www.cameleer.io/sitemap-index.xml diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro new file mode 100644 index 0000000..b3326d8 --- /dev/null +++ b/src/layouts/BaseLayout.astro @@ -0,0 +1,53 @@ +--- +import '../styles/global.css'; + +interface Props { + title: string; + description: string; + canonicalPath?: string; + ogImage?: string; +} + +const { + title, + description, + canonicalPath = Astro.url.pathname, + ogImage = '/og-image.svg', +} = Astro.props; + +const canonical = new URL(canonicalPath, Astro.site ?? 'https://www.cameleer.io').toString(); +const ogUrl = new URL(ogImage, Astro.site ?? 'https://www.cameleer.io').toString(); +--- + + +
+ + + + + + +scaffold ok
- +BaseLayout ok
+