diff --git a/public/images/of-logo-b.webp b/public/images/of-logo-b.webp new file mode 100644 index 0000000..db15387 Binary files /dev/null and b/public/images/of-logo-b.webp differ diff --git a/src/layouts/StreamLiveLayout.astro b/src/layouts/InfoLayout.astro similarity index 77% rename from src/layouts/StreamLiveLayout.astro rename to src/layouts/InfoLayout.astro index 3d5d315..db5a591 100644 --- a/src/layouts/StreamLiveLayout.astro +++ b/src/layouts/InfoLayout.astro @@ -2,10 +2,11 @@ interface Props { title: string; description: string; - thumbnail: string; + thumbnail?: string | null; + metaURL: string; } -const { title, description, thumbnail } = Astro.props; +const { title, description, thumbnail, metaURL } = Astro.props; --- @@ -22,15 +23,23 @@ const { title, description, thumbnail } = Astro.props; - + { + thumbnail && ( + <> + + + + ) + } + - + - + diff --git a/src/pages/discord.astro b/src/pages/discord.astro index 3a49f29..51fe350 100644 --- a/src/pages/discord.astro +++ b/src/pages/discord.astro @@ -1,9 +1,13 @@ --- -import Layout from "../layouts/Layout.astro"; +import InfoLayout from "../layouts/InfoLayout.astro"; --- - - - + + + diff --git a/src/pages/live.astro b/src/pages/live.astro index ba21edd..caaa0fe 100644 --- a/src/pages/live.astro +++ b/src/pages/live.astro @@ -1,11 +1,12 @@ --- -import StreamLiveLayout from "../layouts/StreamLiveLayout.astro"; +import InfoLayout from "../layouts/InfoLayout.astro"; --- - - + + + diff --git a/src/pages/socials.astro b/src/pages/socials.astro index 4245be6..d7c9f1f 100644 --- a/src/pages/socials.astro +++ b/src/pages/socials.astro @@ -14,7 +14,7 @@ import Footer from "../components/sections/FooterComponent.astro";