Skip to content

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

fix(www): prevent State of Startups banner collision (#49932)

Danny Whitee4ea619251c1
diff --git a/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx b/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx
index 0d624038a3c..b63bd89fce7 100644
--- a/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx
+++ b/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx
@@ -49,7 +49,7 @@ export function StateOfStartupsAuroraHeader() {
/>
{/* Content — constrained to default container */}
- <div className="relative z-10 max-w-240 mx-auto px-8 flex flex-col gap-4 justify-end pb-16 md:pb-18 min-h-[26rem] md:min-h-[50vh]">
+ <div className="relative z-10 max-w-240 mx-auto px-8 pt-40 md:pt-36 flex flex-col gap-4 justify-end pb-16 md:pb-18 min-h-[26rem] md:min-h-[50vh]">
<p className="font-mono uppercase tracking-wide text-sm text-foreground-light">
Supabase Presents
</p>
diff --git a/apps/www/components/Nav/index.tsx b/apps/www/components/Nav/index.tsx
index 1f45ce23f2e..8464a96d02e 100644
--- a/apps/www/components/Nav/index.tsx
+++ b/apps/www/components/Nav/index.tsx
@@ -81,7 +81,7 @@ const Nav = ({ hideNavbar, stickyNavbar = true }: Props) => {
return (
<>
- <AnnouncementBanner />
+ {!isStateOfStartupsPage && <AnnouncementBanner />}
<div
className={cn(
'sticky top-0 z-40 transform',
@@ -91,6 +91,7 @@ const Nav = ({ hideNavbar, stickyNavbar = true }: Props) => {
style={{ transform: 'translate3d(0,0,999px)' }}
data-nav-transparent={isTransparent ? '' : undefined}
>
+ {isStateOfStartupsPage && <AnnouncementBanner />}
<div
className={cn(
'absolute inset-0 h-full w-full bg-background/90 dark:bg-background/95 transition-all duration-300',