From 817beebb7e2da3f997e114bba3b3ef117df7c682 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 14 Oct 2026 01:40:49 -0400 Subject: switching to alee14.ca; privacy policy tweaks; discord compon. embeds --- src/layouts/Default.astro | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) (limited to 'src/layouts/Default.astro') diff --git a/src/layouts/Default.astro b/src/layouts/Default.astro index 0d8633e..5f5208a 100644 --- a/src/layouts/Default.astro +++ b/src/layouts/Default.astro @@ -6,6 +6,9 @@ interface Props { const { title = "Andrew Lee", description = "Andrew Lee Website" } = Astro.props; import { ClientRouter } from "astro:transitions"; +import { toComponentEmbedScript } from 'discord-component-embed'; +import { HomeEmbed } from '../components/discord/index.tsx'; +import { PageEmbed } from '../components/discord/page.tsx'; import Navbar from '../components/Navbar.svelte'; const date = new Date(); --- @@ -30,12 +33,22 @@ const date = new Date(); - + + + + {Astro.url.pathname == "/" && + + } + + {Astro.url.pathname !== "/" && + + } +