Skip to content

Commit 64bf161

Browse files
committed
ensure no banners show on the post-download page
1 parent 4fd9a2d commit 64bf161

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/layouts/BaseLayout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ const isPostDownloadPage = Astro.request.url.includes("/post-download");
5353
>
5454
<header class="z-50 sticky left-0 right-0 top-0">
5555
<NavigationReact client:load currentURL={Astro.request.url} />
56-
<BetaBanner client:load url={Astro.request.url} />
57-
<SurveyBanner client:load url={Astro.request.url} />
56+
{!isPostDownloadPage && <BetaBanner client:load url={Astro.request.url} />}
57+
{!isPostDownloadPage && <SurveyBanner client:load url={Astro.request.url} />}
5858
{!isPostDownloadPage && <PromoBanner client:load />}
5959
</header>
6060

0 commit comments

Comments
 (0)