Skip to content

Commit 8b00829

Browse files
committed
Disable banner
1 parent a6a0398 commit 8b00829

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/components/Layout.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { usePathname } from 'next/navigation';
1111
import { useEffect, useState } from 'react';
1212
import { LogoMark } from './LogoMark';
1313
import { Search } from './search/Search';
14-
import { TopBanner } from './TopBanner';
1514
import VersionSelector from './VersionSelector';
1615

1716
function GitHubIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
@@ -46,24 +45,24 @@ function Header() {
4645
className="sticky top-0 z-50"
4746
>
4847
{/* Cody docs banner */}
49-
{isCodyDocs && !isopenCtxDocs && <TopBanner
48+
{/*isCodyDocs && !isopenCtxDocs && <TopBanner
5049
text="UPDATE: Starting July 23, 2025, we're making changes to Cody Free, Pro, and Enterprise Starter plans."
5150
link="https://sourcegraph.com/blog/changes-to-cody-free-pro-and-enterprise-starter-plans"
5251
linkText="Read here"
5352
textColor="#ffffff"
5453
backgroundColor="#F34E3F"
5554
opacity='0.80'
56-
/>}
55+
/>*/}
5756

5857
{/* Pricing docs banner */}
59-
{isPricingDocs && !isopenCtxDocs && <TopBanner
58+
{/*isPricingDocs && !isopenCtxDocs && <TopBanner
6059
text="UPDATE: Starting July 23, 2025, we're making changes to Cody Free, Pro, and Enterprise Starter plans."
6160
link="https://sourcegraph.com/blog/changes-to-cody-free-pro-and-enterprise-starter-plans"
6261
linkText="Read here"
6362
textColor="#ffffff"
6463
backgroundColor="#F34E3F"
6564
opacity='0.80'
66-
/>}
65+
/>*/}
6766

6867
{/* Openctx docs banner */}
6968
{/* {isopenCtxDocs && <TopBanner

0 commit comments

Comments
 (0)