Skip to content

Commit 6a9ce3c

Browse files
committed
Revert "Add black friday banner"
This reverts commit 99b7be1.
1 parent 671d9fe commit 6a9ce3c

File tree

4 files changed

+0
-41
lines changed

4 files changed

+0
-41
lines changed

src/components/layout/index.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import type { FooterProps } from './footer';
44
import { Footer } from './footer';
55
import { SimpleFooter } from './footer/simple-footer';
66
import { Header } from './header';
7-
import { TopBanner } from './top-banner';
87

98
interface LayoutProps extends Pick<FooterProps, 'withoutNewsletter'> {
109
isNavigationEnabled?: boolean;
@@ -17,16 +16,8 @@ export const Layout = ({
1716
children,
1817
withoutNewsletter,
1918
}: Component<LayoutProps>) => {
20-
// Define banner content here - set to null to hide the banner
21-
const bannerContent = (
22-
<p>
23-
<strong>50% off annual Pro accounts until Cyber Monday</strong>, with coupon BLACKFRIDAY25
24-
</p>
25-
);
26-
2719
return (
2820
<>
29-
{bannerContent && <TopBanner>{bannerContent}</TopBanner>}
3021
<Header isNavigationEnabled={isNavigationEnabled} />
3122
<Suspense>
3223
<main id="main-content">{children}</main>

src/components/layout/top-banner/index.tsx

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

src/components/layout/top-banner/top-banner.styles.ts

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

src/components/layout/top-banner/top-banner.types.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)