diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index d02f728..439fbde 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -1,8 +1,5 @@ --- import "@srx/styles/base.css"; -import "@fontsource-variable/literata"; -import "@fontsource-variable/manrope"; -import "@fontsource-variable/martian-mono"; import Navbar from "@srx/components/Navbar.astro"; import Footer from "@srx/components/Footer.astro"; @@ -11,21 +8,28 @@ interface Props { metaSubtitle?: string; metaDescription?: string; metaImage?: string; + metaImageWidth?: string; + metaImageHeight?: string; + metaImageType?: string; metaAuthors?: string[]; metaType?: string; metaDate?: string; metaSchema?: string; + analyticsUrl?: string; + analyticsId?: string; } const { metaTitle = "srx digital", metaSubtitle = "Development & Operations", - metaDescription = "", - metaImage = "https://srx.digital/srx_digital_opengraph.jpg", + metaDescription = "Hallo! Ich bin Sebastian aus Hamburg, spezialisiert auf Softwareentwicklung und Plattformengineering. Meine Welt sind Linux, Container, Cloud und Hardware, besonders wenn's um Open-Source geht. Ich helfe Firmen, ihre Digitalstrategien erfolgreich zu realisieren.", + metaImage = `${Astro.url}srx_digital_opengraph.jpg`, metaAuthors = ["Sebastian Wendel"], metaType = "website", metaDate, metaSchema, + analyticsUrl = "https://track.srx.dev/js/script.js", + analyticsId = "srx.digital", } = Astro.props; const isProduction = import.meta.env.MODE === "production"; @@ -33,32 +37,23 @@ const isProduction = import.meta.env.MODE === "production"; - {`${metaTitle} - ${metaSubtitle}`} + + - - - - + + - + + + + + { metaDate && ( - + ) } { @@ -70,6 +65,21 @@ const isProduction = import.meta.env.MODE === "production"; /> )) } + + + + + + { + metaAuthors?.map((author) => ( + + )) + } + + + + + { metaSchema && (