Skip to content

Commit 39efa6c

Browse files
Merge pull request #234 from uidotdev/end-sale
Remove banner
2 parents 394589e + b8fd64e commit 39efa6c

File tree

3 files changed

+0
-308
lines changed

3 files changed

+0
-308
lines changed

usehooks.com/src/components/CountdownBanner.astro

Lines changed: 0 additions & 304 deletions
This file was deleted.

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ 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";
98
109
export async function getStaticPaths() {
1110
const hooks = await getCollection("hooks");
@@ -46,7 +45,6 @@ const hooks = await getCollection("hooks").then((hooks) => {
4645
description={tagline}
4746
ogImage={ogImage}
4847
>
49-
<CountdownBanner />
5048
<NavInternal />
5149
<main>
5250
<section>

usehooks.com/src/pages/index.astro

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
import { getCollection } from "astro:content";
33
import Layout from "../layouts/Layout.astro";
4-
import CountdownBanner from "../components/CountdownBanner.astro";
54
import NavMain from "../sections/NavMain.astro";
65
import HomeHero from "../sections/HomeHero.astro";
76
import HooksList from "../components/search/HooksList";
@@ -14,7 +13,6 @@ const hooks = await getCollection("hooks");
1413
title="useHooks – The React Hooks Library"
1514
description="A collection of modern, server-safe React hooks – from the ui.dev team"
1615
>
17-
<CountdownBanner />
1816
<NavMain />
1917
<HomeHero />
2018
<HooksList client:load hooks={hooks} />

0 commit comments

Comments
 (0)