Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

remove lw13 announcements (#32624)

Francesco Sansalvadore9b4b66b432e3
diff --git a/apps/docs/features/app.providers.tsx b/apps/docs/features/app.providers.tsx
index 55b37d0ee0b..8513316a789 100644
--- a/apps/docs/features/app.providers.tsx
+++ b/apps/docs/features/app.providers.tsx
@@ -3,7 +3,6 @@ import { type PropsWithChildren } from 'react'
import { ThemeProvider } from 'common'
import { SonnerToaster } from 'ui'
import { CommandProvider } from 'ui-patterns/CommandMenu'
-// import { PromoToast } from 'ui-patterns/PromoToast'
import SiteLayout from '~/layouts/SiteLayout'
import { AuthContainer } from './auth/auth.client'
import { DocsCommandMenu } from './command'
@@ -11,7 +10,6 @@ import { QueryClientProvider } from './data/queryClient.client'
import { PageTelemetry } from './telemetry/telemetry.client'
import { ScrollRestoration } from './ui/helpers.scroll.client'
import { ThemeSandbox } from './ui/theme.client'
-import { PromoToast } from 'ui-patterns'
/**
* Global providers that wrap the entire app
@@ -26,7 +24,6 @@ function GlobalProviders({ children }: PropsWithChildren) {
<CommandProvider>
<div className="flex flex-col">
<SiteLayout>
- <PromoToast />
{children}
<DocsCommandMenu />
</SiteLayout>
diff --git a/apps/www/components/Hero/Hero.tsx b/apps/www/components/Hero/Hero.tsx
index caec1558767..073d584b9a0 100644
--- a/apps/www/components/Hero/Hero.tsx
+++ b/apps/www/components/Hero/Hero.tsx
@@ -23,13 +23,6 @@ const Hero = () => {
<div className="mx-auto max-w-2xl lg:col-span-6 lg:flex lg:items-center justify-center text-center">
<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">
<div className="flex flex-col items-center">
- <div className="z-40 w-full flex justify-center -mt-4 lg:-mt-12 mb-8">
- <AnnouncementBadge
- url="/launch-week"
- badge="Launch Week 13"
- announcement="Learn more"
- />
- </div>
<h1 className="text-foreground text-4xl sm:text-5xl sm:leading-none lg:text-7xl">
<span className="block text-foreground">Build in a weekend</span>
<span className="text-brand block md:ml-0">Scale to millions</span>
diff --git a/apps/www/pages/_app.tsx b/apps/www/pages/_app.tsx
index a8982819b8d..23ce6964d85 100644
--- a/apps/www/pages/_app.tsx
+++ b/apps/www/pages/_app.tsx
@@ -15,7 +15,7 @@ import { AppProps } from 'next/app'
import Head from 'next/head'
import { useRouter } from 'next/router'
import { useEffect } from 'react'
-import { Announcement, SonnerToaster, themes } from 'ui'
+import { SonnerToaster, themes } from 'ui'
import { CommandProvider } from 'ui-patterns/CommandMenu'
import { useConsent } from 'ui-patterns/ConsentToast'
@@ -23,7 +23,6 @@ import MetaFaviconsPagesRouter, {
DEFAULT_FAVICON_ROUTE,
DEFAULT_FAVICON_THEME_COLOR,
} from 'common/MetaFavicons/pages-router'
-import LW13CountdownBanner from 'ui/src/layout/banners/LW13CountdownBanner/LW13CountdownBanner'
import { WwwCommandMenu } from '~/components/CommandMenu'
import { API_URL, APP_NAME, DEFAULT_META_DESCRIPTION, IS_PREVIEW } from '~/lib/constants'
import { post } from '~/lib/fetchWrapper'
@@ -161,9 +160,6 @@ export default function App({ Component, pageProps }: AppProps) {
forcedTheme={forceDarkMode ? 'dark' : undefined}
>
<CommandProvider>
- <Announcement>
- <LW13CountdownBanner />
- </Announcement>
<SonnerToaster position="top-right" />
<Component {...pageProps} />
<WwwCommandMenu />