diff --git a/apps/www/components/Nav/index.tsx b/apps/www/components/Nav/index.tsx index 7e631d3717042..a8493733124d7 100644 --- a/apps/www/components/Nav/index.tsx +++ b/apps/www/components/Nav/index.tsx @@ -7,7 +7,7 @@ import { useWindowSize } from 'react-use' import { useIsLoggedIn, useUser } from 'common' import { Button, buttonVariants, cn } from 'ui' -import { AnnouncementBanner, AuthenticatedDropdownMenu } from 'ui-patterns' +import { AuthenticatedDropdownMenu } from 'ui-patterns' import { useSendTelemetryEvent } from 'lib/telemetry' import GitHubButton from './GitHubButton' @@ -88,7 +88,6 @@ const Nav = ({ hideNavbar, stickyNavbar = true }: Props) => { return ( <> -
{ - const monoStyle = 'text-sm font-mono uppercase leading-none tracking-wide text-white/50' - const gridUnit = 24 - const logoWidth = 320 - const speakerImgWidth = gridUnit * 12 // 288px - const gridWidth = gridUnit * 26 // 624px - const selectSiteUrl = 'https://select.supabase.com/' - const headerText = ['Our first user conference', 'Oct 3 2025', '@ YC Offices, SF'] - const mainText = [ - 'The conference for builders', - 'Speakers include Figma CEO Dylan Field, Vercel CEO Guillermo Rauch, and Firebase Co-Founder James Tamplin', - ] - const speakers = [ - { - name: 'Dylan Field', - slug: 'dylan-field', - title: 'CEO of Figma', - }, - { - name: 'Guillermo Rauch', - slug: 'guillermo-rauch', - title: 'CEO of Vercel', - }, - { - name: 'James Tamplin', - slug: 'james-tamplin', - title: 'Co-Founder of Firebase', - }, - ] - - return ( -
- {/* Main centered content */} -
-
- {/* Header */} -
- {Object.entries(headerText).map(([index, value]: [string, string]) => ( -

- {value} -

- ))} -
- {/* Main text, CTA, and images */} -
- {/* Speaker image */} - {speakers[0].name} - {/* Logo and speaker name */} -
- {/* Logo */} - - Supabase Select - - {/* Speaker name */} - -
- -
- {/* Grid background */} -
-
- -
- {/* Main text */} -
-

{mainText[0]}

-

{mainText[1]}

-
- {/* CTA */} - -
-
-
-
-
- ) -} - -export { SupabaseSelectPromo as default } diff --git a/apps/www/components/SupabaseSelectPromo/styles.css b/apps/www/components/SupabaseSelectPromo/styles.css deleted file mode 100644 index cd65e478f3830..0000000000000 --- a/apps/www/components/SupabaseSelectPromo/styles.css +++ /dev/null @@ -1,8 +0,0 @@ -/* Font face definitions also used in Launch Week 15 */ -@font-face { - font-family: 'SuisseIntl-Book'; - src: url('/fonts/launchweek/15/SuisseIntl-Book.otf') format('opentype'); - font-weight: 400; - font-style: normal; - font-display: swap; -} diff --git a/apps/www/pages/state-of-startups.tsx b/apps/www/pages/state-of-startups.tsx index a4b62f3f7eaf1..2ce5bb779d9ab 100644 --- a/apps/www/pages/state-of-startups.tsx +++ b/apps/www/pages/state-of-startups.tsx @@ -13,7 +13,6 @@ import { SurveyChapter } from '~/components/SurveyResults/SurveyChapter' import { SurveyChapterSection } from '~/components/SurveyResults/SurveyChapterSection' import { SurveySectionBreak } from '~/components/SurveyResults/SurveySectionBreak' import { StateOfStartupsHeader } from '~/components/SurveyResults/StateOfStartupsHeader' -import SupabaseSelectPromo from '~/components/SupabaseSelectPromo' import { useSendTelemetryEvent } from '~/lib/telemetry' @@ -262,7 +261,6 @@ function StateOfStartupsPage() { ))} - ) diff --git a/apps/www/public/images/supabase-select/logo.svg b/apps/www/public/images/supabase-select/logo.svg deleted file mode 100644 index 4d47a3cdd5aa9..0000000000000 --- a/apps/www/public/images/supabase-select/logo.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/apps/www/public/images/supabase-select/speakers/dylan-field.jpg b/apps/www/public/images/supabase-select/speakers/dylan-field.jpg deleted file mode 100644 index a38ebb70b5cfb..0000000000000 Binary files a/apps/www/public/images/supabase-select/speakers/dylan-field.jpg and /dev/null differ diff --git a/packages/ui-patterns/src/Banners/AnnouncementBanner.tsx b/packages/ui-patterns/src/Banners/AnnouncementBanner.tsx index 73795aeaf71b8..fdee27fac09b9 100644 --- a/packages/ui-patterns/src/Banners/AnnouncementBanner.tsx +++ b/packages/ui-patterns/src/Banners/AnnouncementBanner.tsx @@ -1,13 +1,13 @@ import { Announcement } from 'ui/src/layout/banners' -import SelectBanner from './SelectBanner' +import LW15Banner from './LW15Banner' import announcementJSON from './data.json' export const announcement = announcementJSON export const AnnouncementBanner = () => { return ( - - + + ) } diff --git a/packages/ui-patterns/src/Banners/SelectBanner.tsx b/packages/ui-patterns/src/Banners/SelectBanner.tsx deleted file mode 100644 index 7c67ab9a9fddc..0000000000000 --- a/packages/ui-patterns/src/Banners/SelectBanner.tsx +++ /dev/null @@ -1,92 +0,0 @@ -import React from 'react' -import Link from 'next/link' - -export function SelectBanner() { - const selectSiteUrl = 'https://select.supabase.com/' - const desc = [ - 'Our first user conference', - 'Oct 3 2025', - 'Patrick Collison, Dylan Field, and more', - ] - const cta = 'Watch replay' - - const baseStyles = 'flex flex-col justify-center border-l border-muted py-8 ' - const textBlockStyles = - baseStyles + - 'pr-8 text-xs font-mono uppercase leading-none tracking-wide text-white/50 [&_p]:mt-[5px]' - - return ( -
-
-
- - Supabase Select - -
- - - - -
- - {cta} - {/* Crosshairs */} -
- {['top-left', 'top-right', 'bottom-left', 'bottom-right'].map((position) => ( -
-
-
-
- ))} -
- -
-
-
- ) -} - -export default SelectBanner