Skip to content

Commit 9b4b66b

Browse files
remove lw13 announcements (supabase#32624)
1 parent 82bb29a commit 9b4b66b

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

apps/docs/features/app.providers.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@ import { type PropsWithChildren } from 'react'
33
import { ThemeProvider } from 'common'
44
import { SonnerToaster } from 'ui'
55
import { CommandProvider } from 'ui-patterns/CommandMenu'
6-
// import { PromoToast } from 'ui-patterns/PromoToast'
76
import SiteLayout from '~/layouts/SiteLayout'
87
import { AuthContainer } from './auth/auth.client'
98
import { DocsCommandMenu } from './command'
109
import { QueryClientProvider } from './data/queryClient.client'
1110
import { PageTelemetry } from './telemetry/telemetry.client'
1211
import { ScrollRestoration } from './ui/helpers.scroll.client'
1312
import { ThemeSandbox } from './ui/theme.client'
14-
import { PromoToast } from 'ui-patterns'
1513

1614
/**
1715
* Global providers that wrap the entire app
@@ -26,7 +24,6 @@ function GlobalProviders({ children }: PropsWithChildren) {
2624
<CommandProvider>
2725
<div className="flex flex-col">
2826
<SiteLayout>
29-
<PromoToast />
3027
{children}
3128
<DocsCommandMenu />
3229
</SiteLayout>

apps/www/components/Hero/Hero.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@ const Hero = () => {
2323
<div className="mx-auto max-w-2xl lg:col-span-6 lg:flex lg:items-center justify-center text-center">
2424
<div className="relative z-10 lg:h-auto pt-[90px] lg:pt-[90px] lg:min-h-[300px] flex flex-col items-center justify-center sm:mx-auto md:w-3/4 lg:mx-0 lg:w-full gap-4 lg:gap-8">
2525
<div className="flex flex-col items-center">
26-
<div className="z-40 w-full flex justify-center -mt-4 lg:-mt-12 mb-8">
27-
<AnnouncementBadge
28-
url="/launch-week"
29-
badge="Launch Week 13"
30-
announcement="Learn more"
31-
/>
32-
</div>
3326
<h1 className="text-foreground text-4xl sm:text-5xl sm:leading-none lg:text-7xl">
3427
<span className="block text-foreground">Build in a weekend</span>
3528
<span className="text-brand block md:ml-0">Scale to millions</span>

apps/www/pages/_app.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ import { AppProps } from 'next/app'
1515
import Head from 'next/head'
1616
import { useRouter } from 'next/router'
1717
import { useEffect } from 'react'
18-
import { Announcement, SonnerToaster, themes } from 'ui'
18+
import { SonnerToaster, themes } from 'ui'
1919
import { CommandProvider } from 'ui-patterns/CommandMenu'
2020
import { useConsent } from 'ui-patterns/ConsentToast'
2121

2222
import MetaFaviconsPagesRouter, {
2323
DEFAULT_FAVICON_ROUTE,
2424
DEFAULT_FAVICON_THEME_COLOR,
2525
} from 'common/MetaFavicons/pages-router'
26-
import LW13CountdownBanner from 'ui/src/layout/banners/LW13CountdownBanner/LW13CountdownBanner'
2726
import { WwwCommandMenu } from '~/components/CommandMenu'
2827
import { API_URL, APP_NAME, DEFAULT_META_DESCRIPTION, IS_PREVIEW } from '~/lib/constants'
2928
import { post } from '~/lib/fetchWrapper'
@@ -161,9 +160,6 @@ export default function App({ Component, pageProps }: AppProps) {
161160
forcedTheme={forceDarkMode ? 'dark' : undefined}
162161
>
163162
<CommandProvider>
164-
<Announcement>
165-
<LW13CountdownBanner />
166-
</Announcement>
167163
<SonnerToaster position="top-right" />
168164
<Component {...pageProps} />
169165
<WwwCommandMenu />

0 commit comments

Comments
 (0)