Skip to content

Commit 750b4b9

Browse files
committed
Add banner to hook pages
1 parent 1b5e49f commit 750b4b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

usehooks.com/src/pages/[hook].astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import NavInternal from "../sections/NavInternal.astro";
55
import Footer from "../sections/Footer.astro";
66
import Install from "../components/Install.astro";
77
import HooksList from "../components/search/HooksList";
8+
import CountdownBanner from "../components/CountdownBanner.astro";
89
910
export async function getStaticPaths() {
1011
const hooks = await getCollection("hooks");
@@ -45,6 +46,7 @@ const hooks = await getCollection("hooks").then((hooks) => {
4546
description={tagline}
4647
ogImage={ogImage}
4748
>
49+
<CountdownBanner />
4850
<NavInternal />
4951
<main>
5052
<section>

0 commit comments

Comments
 (0)