Skip to content

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

remove announcements (#26613)

Francesco Sansalvadored1037d95bab7
diff --git a/apps/www/components/Hero/Hero.tsx b/apps/www/components/Hero/Hero.tsx
index 84dd85541e3..e7bdbfe1d26 100644
--- a/apps/www/components/Hero/Hero.tsx
+++ b/apps/www/components/Hero/Hero.tsx
@@ -6,7 +6,6 @@ import gaEvents from '~/lib/gaEvents'
import { Button, IconBookOpen } from 'ui'
import SectionContainer from '~/components/Layouts/SectionContainer'
import HeroFrameworks from './HeroFrameworks'
-import AnnouncementBadge from '../Announcement/Badge'
const Hero = () => {
const router = useRouter()
@@ -23,13 +22,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="/ga-week"
- badge="GA Week"
- announcement="View everything we shipped"
- />
- </div>
<h1 className="text-foreground text-4xl sm:text-5xl sm:leading-none lg:text-7xl">
<span className="block text-[#F4FFFA00] bg-clip-text bg-gradient-to-b from-foreground to-foreground-light">
Build in a weekend
diff --git a/apps/www/components/Nav/index.tsx b/apps/www/components/Nav/index.tsx
index 683ac822a7d..669d6c1b137 100644
--- a/apps/www/components/Nav/index.tsx
+++ b/apps/www/components/Nav/index.tsx
@@ -5,7 +5,7 @@ import { useRouter } from 'next/router'
import { useTheme } from 'next-themes'
import { useWindowSize } from 'react-use'
-import { Announcement, Button, cn, LW11CountdownBanner } from 'ui'
+import { Button, cn } from 'ui'
import {
NavigationMenu,
NavigationMenuContent,
@@ -66,9 +66,6 @@ const Nav = (props: Props) => {
return (
<>
- <Announcement>
- <LW11CountdownBanner />
- </Announcement>
<div
className={cn(
'sticky top-0 z-40 transform',