From b91335a999ab642a94b13069ef273f1a4f001216 Mon Sep 17 00:00:00 2001 From: Jorge Vargas Date: Sun, 16 Feb 2025 15:24:23 -0600 Subject: [PATCH] Implement sidebar ad --- src/components/Footer.astro | 4 +-- src/components/Sidebar.astro | 7 +++++ src/components/sidebar/SidebarAd.astro | 43 ++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 src/components/sidebar/SidebarAd.astro diff --git a/src/components/Footer.astro b/src/components/Footer.astro index b31ba01..24f0ec1 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -3,7 +3,7 @@ const { permissions } = Astro.locals const show = !permissions.includes('SKIP_ADS') --- -{ show ? ( +{show ? ( <> + + +) : null} \ No newline at end of file