Skip to content

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

chore(www + studio): remove expired Select 2026 promo banners (#51245)

Danny Whiteba821066972a
diff --git a/apps/studio/.github/eslint-rule-baselines.json b/apps/studio/.github/eslint-rule-baselines.json
index 0cdb7fb6500..745b53c2792 100644
--- a/apps/studio/.github/eslint-rule-baselines.json
+++ b/apps/studio/.github/eslint-rule-baselines.json
@@ -12,7 +12,7 @@
"jsx-a11y/anchor-is-valid": 6,
"jsx-a11y/heading-has-content": 2,
"valtio/state-snapshot-rule": 1,
- "shadcn/no-arbitrary-values": 212,
+ "shadcn/no-arbitrary-values": 199,
"shadcn/no-unknown-classes": 151,
"shadcn/no-raw-colors": 64
},
@@ -1091,7 +1091,6 @@
"components/ui/AIEditor/AskAIWidget.tsx": 1,
"components/ui/AiAssistantDropdown.tsx": 2,
"components/ui/BannerStack/Banners/BannerExplorer.tsx": 3,
- "components/ui/BannerStack/Banners/BannerSelect2026.tsx": 13,
"components/ui/Charts/BarChart.tsx": 1,
"components/ui/Charts/ComposedChart.utils.tsx": 2,
"components/ui/DataTable/DataTableFilters/DataTableFilterCheckbox.tsx": 2,
diff --git a/apps/studio/components/interfaces/App/AppBannerWrapper.tsx b/apps/studio/components/interfaces/App/AppBannerWrapper.tsx
index e0047aa6cf5..07705189c50 100644
--- a/apps/studio/components/interfaces/App/AppBannerWrapper.tsx
+++ b/apps/studio/components/interfaces/App/AppBannerWrapper.tsx
@@ -2,11 +2,6 @@ import { IS_PLATFORM, LOCAL_STORAGE_KEYS, useFlag } from 'common'
import dayjs from 'dayjs'
import { usePathname } from 'next/navigation'
import { PropsWithChildren, useEffect, useRef, useState } from 'react'
-import {
- SELECT_26_LIVESTREAM_STUDIO_DISMISSAL_KEY,
- SELECT_26_STUDIO_DISMISSAL_KEY,
- useSelect26PromotionPhase,
-} from 'ui-patterns/Banners/Select26Promotion'
import { OrganizationResourceBanner } from '../Organization/HeaderBanner'
import { isLogsOrObservabilityPath, isOrganizationLandingPath } from './AppBannerWrapper.utils'
@@ -16,11 +11,6 @@ import { StatusBanner } from '@/components/layouts/AppLayout/StatusBanner'
import { StatusPageBanner } from '@/components/layouts/AppLayout/StatusPageBanner'
import { BannerLogsAllDeprecation } from '@/components/ui/BannerStack/Banners/BannerLogsAllDeprecation'
import { BannerPrivacyPolicyUpdate } from '@/components/ui/BannerStack/Banners/BannerPrivacyPolicyUpdate'
-import { BannerSelect2026 } from '@/components/ui/BannerStack/Banners/BannerSelect2026'
-import {
- SELECT_26_BANNER_PRIORITY,
- shouldShowSelect26Banner,
-} from '@/components/ui/BannerStack/Banners/BannerSelect2026.utils'
import { BANNER_ID, useBannerStack } from '@/components/ui/BannerStack/BannerStackProvider'
import { useLocalStorageQuery } from '@/hooks/misc/useLocalStorage'
import { useTrack } from '@/lib/telemetry/track'
@@ -44,46 +34,6 @@ export const AppBannerWrapper = ({ children }: PropsWithChildren<{}>) => {
const [privacyPolicyUpdateAcknowledged, , { isSuccess: isPrivacyPolicyDismissalLoaded }] =
useLocalStorageQuery(LOCAL_STORAGE_KEYS.PRIVACY_POLICY_UPDATE, false)
- const [isSelect26BannerDismissed, , { isSuccess: isSelect26DismissalLoaded }] =
- useLocalStorageQuery(SELECT_26_STUDIO_DISMISSAL_KEY, false)
- const [isSelect26LivestreamDismissed, , { isSuccess: isSelect26LivestreamDismissalLoaded }] =
- useLocalStorageQuery(SELECT_26_LIVESTREAM_STUDIO_DISMISSAL_KEY, false)
- const select26PromotionPhase = useSelect26PromotionPhase()
-
- useEffect(() => {
- const isLivestream = select26PromotionPhase === 'livestream'
- const dismissalLoaded = isLivestream
- ? isSelect26LivestreamDismissalLoaded
- : isSelect26DismissalLoaded
- if (!dismissalLoaded) return
-
- const shouldShow = shouldShowSelect26Banner({
- isPlatform: IS_PLATFORM,
- dismissalLoaded,
- isActive: select26PromotionPhase !== 'ended',
- isDismissed: isLivestream ? isSelect26LivestreamDismissed : isSelect26BannerDismissed,
- })
-
- if (shouldShow) {
- addBanner({
- id: BANNER_ID.SELECT_26,
- isDismissed: false,
- content: <BannerSelect2026 />,
- priority: SELECT_26_BANNER_PRIORITY,
- })
- } else {
- dismissBanner(BANNER_ID.SELECT_26)
- }
- }, [
- isSelect26DismissalLoaded,
- isSelect26LivestreamDismissalLoaded,
- select26PromotionPhase,
- isSelect26BannerDismissed,
- isSelect26LivestreamDismissed,
- addBanner,
- dismissBanner,
- ])
-
useEffect(() => {
if (!isPrivacyPolicyDismissalLoaded || pathname == null) return
diff --git a/apps/studio/components/layouts/ProjectLayout/index.test.tsx b/apps/studio/components/layouts/ProjectLayout/index.test.tsx
index 45b18c908f6..3d09809777c 100644
--- a/apps/studio/components/layouts/ProjectLayout/index.test.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/index.test.tsx
@@ -178,7 +178,6 @@ vi.mock('@/hooks/misc/useLocalStorage', () => ({
vi.mock('@/components/ui/BannerStack/BannerStackProvider', () => ({
BANNER_ID: {
FREE_MICRO_UPGRADE: 'free-micro-upgrade-banner',
- SELECT_26: 'select-2026-banner',
},
useBannerStack: () => ({
addBanner: mockAddBanner,
diff --git a/apps/studio/components/ui/BannerStack/BannerCard.tsx b/apps/studio/components/ui/BannerStack/BannerCard.tsx
index 7e21b9a32df..a18e1195044 100644
--- a/apps/studio/components/ui/BannerStack/BannerCard.tsx
+++ b/apps/studio/components/ui/BannerStack/BannerCard.tsx
@@ -7,27 +7,26 @@ interface BannerCardProps {
onDismiss?: () => void
children: React.ReactNode
className?: string
- background?: React.ReactNode
}
-export const BannerCard = ({ onDismiss, children, className, background }: BannerCardProps) => {
+export const BannerCard = ({ onDismiss, children, className }: BannerCardProps) => {
return (
<Card className={cn('relative overflow-hidden shadow-lg rounded-2xl', className)}>
- {background ?? (
- <div className="absolute -inset-16 z-0 opacity-100 pointer-events-none">
- <img
- src={`${BASE_PATH}/img/reports/bg-grafana-dark.svg`}
- alt="Background pattern"
- className="w-full h-full object-cover object-right hidden dark:block"
- />
- <img
- src={`${BASE_PATH}/img/reports/bg-grafana-light.svg`}
- alt="Background pattern"
- className="w-full h-full object-cover object-right dark:hidden"
- />
- <div className="absolute inset-0 bg-linear-to-r from-background-alternative to-transparent" />
- </div>
- )}
+ <div className="absolute -inset-16 z-0 opacity-100 pointer-events-none">
+ <img
+ src={`${BASE_PATH}/img/reports/bg-grafana-dark.svg`}
+ alt=""
+ aria-hidden="true"
+ className="w-full h-full object-cover object-right hidden dark:block"
+ />
+ <img
+ src={`${BASE_PATH}/img/reports/bg-grafana-light.svg`}
+ alt=""
+ aria-hidden="true"
+ className="w-full h-full object-cover object-right dark:hidden"
+ />
+ <div className="absolute inset-0 bg-linear-to-r from-background-alternative to-transparent" />
+ </div>
<CardContent className="relative z-10 p-6">
{onDismiss && (
diff --git a/apps/studio/components/ui/BannerStack/BannerStackProvider.tsx b/apps/studio/components/ui/BannerStack/BannerStackProvider.tsx
index 5baed27fbe2..50148decc82 100644
--- a/apps/studio/components/ui/BannerStack/BannerStackProvider.tsx
+++ b/apps/studio/components/ui/BannerStack/BannerStackProvider.tsx
@@ -7,7 +7,6 @@ export const BANNER_ID = {
FREE_MICRO_UPGRADE: 'free-micro-upgrade-banner',
PRIVACY_POLICY_UPDATE: 'privacy-policy-update-banner',
LOGS_ALL_DEPRECATION: 'logs-all-deprecation-banner',
- SELECT_26: 'select-2026-banner',
EXPLORER: 'explorer-banner',
} as const
diff --git a/apps/studio/components/ui/BannerStack/Banners/BannerSelect2026.test.tsx b/apps/studio/components/ui/BannerStack/Banners/BannerSelect2026.test.tsx
deleted file mode 100644
index 286654319a3..00000000000
--- a/apps/studio/components/ui/BannerStack/Banners/BannerSelect2026.test.tsx
+++ /dev/null
@@ -1,60 +0,0 @@
-import { act, fireEvent, render, screen } from '@testing-library/react'
-import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
-
-import { BannerSelect2026 } from './BannerSelect2026'
-
-const { dismissBanner, setWaitlistDismissed, setLivestreamDismissed } = vi.hoisted(() => ({
- dismissBanner: vi.fn(),
- setWaitlistDismissed: vi.fn(),
- setLivestreamDismissed: vi.fn(),
-}))
-
-vi.mock('../BannerStackProvider', () => ({
- BANNER_ID: { SELECT_26: 'select-2026-banner' },
- useBannerStack: () => ({ dismissBanner }),
-}))
-
-vi.mock('@/hooks/misc/useLocalStorage', () => ({
- useLocalStorageQuery: (key: string) => [
- false,
- key === 'select-2026-livestream-dismissed' ? setLivestreamDismissed : setWaitlistDismissed,
- ],
-}))
-
-beforeEach(() => {
- vi.useFakeTimers()
- vi.setSystemTime(new Date('2026-10-02T07:59:59.999-07:00'))
- vi.clearAllMocks()
-})
-
-afterEach(() => vi.useRealTimers())
-
-describe('BannerSelect2026', () => {
- it('switches copy and dismissal key at 8am, then disappears at 5:30pm', () => {
- render(<BannerSelect2026 />)
-
- expect(screen.getByRole('link', { name: 'Apply to attend' })).toHaveAttribute(
- 'href',
- 'https://select.supabase.com/'
- )
-
- act(() => vi.advanceTimersByTime(1))
- expect(screen.getByRole('link', { name: 'Watch livestream' })).toHaveAttribute(
- 'href',
- 'https://select.supabase.com/'
- )
- expect(screen.getByText('Supabase Select 2026')).toBeVisible()
- expect(
- screen.getByText('Keynote, main stage, and build stage, streamed all day.')
- ).toBeVisible()
-
- fireEvent.click(screen.getByRole('button', { name: 'Close banner' }))
- expect(setLivestreamDismissed).toHaveBeenCalledWith(true)
- expect(setWaitlistDismissed).not.toHaveBeenCalled()
- expect(dismissBanner).toHaveBeenCalledWith('select-2026-banner')
-
- vi.setSystemTime(new Date('2026-10-02T17:30:00-07:00'))
- act(() => document.dispatchEvent(new Event('visibilitychange')))
- expect(screen.queryByRole('link', { name: 'Watch livestream' })).toBeNull()
- })
-})
diff --git a/apps/studio/components/ui/BannerStack/Banners/BannerSelect2026.tsx b/apps/studio/components/ui/BannerStack/Banners/BannerSelect2026.tsx
deleted file mode 100644
index c9f732bf0c4..00000000000
--- a/apps/studio/components/ui/BannerStack/Banners/BannerSelect2026.tsx
+++ /dev/null
@@ -1,76 +0,0 @@
-import { ArrowUpRight } from 'lucide-react'
-import Link from 'next/link'
-import { Button } from 'ui'
-import {
- SELECT_26_CTA,
- SELECT_26_DESCRIPTION,
- SELECT_26_LIVESTREAM_DESCRIPTION,
- SELECT_26_LIVESTREAM_STUDIO_CTA,
- SELECT_26_LIVESTREAM_STUDIO_DISMISSAL_KEY,
- SELECT_26_STUDIO_DISMISSAL_KEY,
- SELECT_26_TITLE,
- SELECT_26_URL,
- Select26Field,
- useSelect26PromotionPhase,
-} from 'ui-patterns/Banners/Select26Promotion'
-
-import { BannerCard } from '../BannerCard'
-import { BANNER_ID, useBannerStack } from '../BannerStackProvider'
-import { useLocalStorageQuery } from '@/hooks/misc/useLocalStorage'
-
-export const BannerSelect2026 = () => {
- const phase = useSelect26PromotionPhase()
- const { dismissBanner } = useBannerStack()
- const [, setIsWaitlistDismissed] = useLocalStorageQuery(SELECT_26_STUDIO_DISMISSAL_KEY, false)
- const [, setIsLivestreamDismissed] = useLocalStorageQuery(
- SELECT_26_LIVESTREAM_STUDIO_DISMISSAL_KEY,
- false
- )
-
- const dismiss = () => {
- if (phase === 'livestream') setIsLivestreamDismissed(true)
- else setIsWaitlistDismissed(true)
- dismissBanner(BANNER_ID.SELECT_26)
- }
-
- if (phase === 'ended') return null
-
- return (
- <BannerCard
- onDismiss={dismiss}
- className="w-72 border-[#00482f]/15 bg-[#f8f3ef] text-[#001a10] dark:border-white/10 dark:bg-[#0b0e0d] dark:text-[#f8f3ef]"
- background={
- <>
- {/* Wider than the card so overflow-hidden clips left/right flush to the edges */}
- <Select26Field
- cols={36}
- rows={8}
- className="absolute left-1/2 top-0 z-0 -translate-x-1/2 -translate-y-[32%] text-xl opacity-90 dark:opacity-80"
- />
- <div className="pointer-events-none absolute inset-0 z-[1] bg-linear-to-b from-transparent from-[6%] via-[#f8f3ef]/85 via-[36%] to-[#f8f3ef] to-[48%] dark:via-[#0b0e0d]/85 dark:to-[#0b0e0d]" />
- </>
- }
- >
- <div className="flex flex-col gap-y-2">
- {/* Forehead spacer so the field reads above the copy */}
- <div className="h-10" aria-hidden />
- <div className="relative z-[2] flex flex-col gap-y-1 mb-2">
- <p className="text-sm font-medium text-balance">{SELECT_26_TITLE}</p>
- <p className="text-xs text-foreground-lighter text-balance dark:text-[#f8f3ef]/65">
- {phase === 'livestream' ? SELECT_26_LIVESTREAM_DESCRIPTION : SELECT_26_DESCRIPTION}
- </p>
- </div>
- <Button
- asChild
- size="tiny"
- className="relative z-[2] w-min"
- iconRight={<ArrowUpRight size={14} strokeWidth={1.5} />}
- >
- <Link href={SELECT_26_URL} target="_blank" rel="noopener noreferrer" onClick={dismiss}>
- {phase === 'livestream' ? SELECT_26_LIVESTREAM_STUDIO_CTA : SELECT_26_CTA}
- </Link>
- </Button>
- </div>
- </BannerCard>
- )
-}
diff --git a/apps/studio/components/ui/BannerStack/Banners/BannerSelect2026.utils.test.ts b/apps/studio/components/ui/BannerStack/Banners/BannerSelect2026.utils.test.ts
deleted file mode 100644
index 8a10d313afc..00000000000
--- a/apps/studio/components/ui/BannerStack/Banners/BannerSelect2026.utils.test.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-import { describe, expect, it } from 'vitest'
-
-import { SELECT_26_BANNER_PRIORITY, shouldShowSelect26Banner } from './BannerSelect2026.utils'
-
-const visibleState = {
- isPlatform: true,
- dismissalLoaded: true,
- isActive: true,
- isDismissed: false,
-}
-
-describe('shouldShowSelect26Banner', () => {
- it('shows the promotion on hosted Studio', () => {
- expect(shouldShowSelect26Banner(visibleState)).toBe(true)
- })
-
- it.each([
- ['self-hosted Studio', { isPlatform: false }],
- ['before dismissal state loads', { dismissalLoaded: false }],
- ['after campaign expiry', { isActive: false }],
- ['after dismissal', { isDismissed: true }],
- ])('hides the promotion %s', (_, state) => {
- expect(shouldShowSelect26Banner({ ...visibleState, ...state })).toBe(false)
- })
-
- it('sits behind every existing non-negative banner priority', () => {
- expect(SELECT_26_BANNER_PRIORITY).toBe(-1)
- })
-})
diff --git a/apps/studio/components/ui/BannerStack/Banners/BannerSelect2026.utils.ts b/apps/studio/components/ui/BannerStack/Banners/BannerSelect2026.utils.ts
deleted file mode 100644
index 7c37aa0e7ba..00000000000
--- a/apps/studio/components/ui/BannerStack/Banners/BannerSelect2026.utils.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-export const SELECT_26_BANNER_PRIORITY = -1
-
-export const shouldShowSelect26Banner = ({
- isPlatform,
- dismissalLoaded,
- isActive,
- isDismissed,
-}: {
- isPlatform: boolean
- dismissalLoaded: boolean
- isActive: boolean
- isDismissed: boolean
-}) => isPlatform && dismissalLoaded && isActive && !isDismissed
diff --git a/apps/studio/lib/session-replay.test.ts b/apps/studio/lib/session-replay.test.ts
index 06189bb095f..ee4c3083285 100644
--- a/apps/studio/lib/session-replay.test.ts
+++ b/apps/studio/lib/session-replay.test.ts
@@ -360,11 +360,8 @@ describe('maskReplayAttribute', () => {
expect(maskReplayAttribute('data-chart', 'chart-r1a')).toBe('chart-r1a')
})
- it.each([
- ['data-index', '0'],
- ['data-band', '3'],
- ])('keeps %o, which a shipped stylesheet selects on by value', (name, value) => {
- expect(maskReplayAttribute(name, value)).toBe(value)
+ it('keeps data-index, which monaco-editor selects on by value', () => {
+ expect(maskReplayAttribute('data-index', '0')).toBe('0')
})
it.each([
diff --git a/apps/studio/lib/session-replay.ts b/apps/studio/lib/session-replay.ts
index 51838180295..1cfd3e1024e 100644
--- a/apps/studio/lib/session-replay.ts
+++ b/apps/studio/lib/session-replay.ts
@@ -315,9 +315,6 @@ const RENDER_CRITICAL_ATTRIBUTES = new Set([
// Integer index, selected on by monaco-editor's quick-input CSS
// (`[data-index="0"] .quick-in...`) to drop the separator border on the first row.
'data-index',
- // 0 to 4, selected on by `Select26Promotion.module.css` as `.cell[data-band='N']`.
- // The banner ships in Studio through `BannerSelect2026.tsx`.
- 'data-band',
// Selected on by Studio's own stylesheets and by Radix's portal positioning.
'data-footnote-ref',
'data-radix-portal',
diff --git a/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx b/apps/www/app/state-of-startups/components/StateOfStartupsAuroraHeader.tsx
index 23dde9e37bc..3ddf412a970 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 pt-40 md:pt-36 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-20 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 e3fc0e604d9..5c72689f343 100644
--- a/apps/www/components/Nav/index.tsx
+++ b/apps/www/components/Nav/index.tsx
@@ -22,7 +22,6 @@ import {
NavigationMenuViewport,
} from 'ui'
import { AuthenticatedDropdownMenu } from 'ui-patterns/AuthenticatedDropdownMenu'
-import { AnnouncementBanner } from 'ui-patterns/Banners/AnnouncementBanner'
import GitHubButton from './GitHubButton'
import HamburgerButton from './HamburgerMenu'
@@ -101,7 +100,6 @@ const Nav = ({ hideNavbar, stickyNavbar = true }: Props) => {
return (
<>
- {!isStateOfStartupsPage && <AnnouncementBanner />}
<div
className={cn(
'sticky top-0 z-40 transform',
@@ -111,7 +109,6 @@ 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',
diff --git a/packages/ui-patterns/package.json b/packages/ui-patterns/package.json
index 8cdc6963cdc..0ac7fca083a 100644
--- a/packages/ui-patterns/package.json
+++ b/packages/ui-patterns/package.json
@@ -66,18 +66,6 @@
"import": "./src/Banners/LW15Banner.tsx",
"types": "./src/Banners/LW15Banner.tsx"
},
- "./Banners/Select26Banner": {
- "import": "./src/Banners/Select26Banner.tsx",
- "types": "./src/Banners/Select26Banner.tsx"
- },
- "./Banners/Select26Promotion.module.css": {
- "import": "./src/Banners/Select26Promotion.module.css",
- "types": "./src/Banners/Select26Promotion.module.css"
- },
- "./Banners/Select26Promotion": {
- "import": "./src/Banners/Select26Promotion.tsx",
- "types": "./src/Banners/Select26Promotion.tsx"
- },
"./Banners": {
"import": "./src/Banners/index.ts",
"types": "./src/Banners/index.ts"
diff --git a/packages/ui-patterns/src/Banners/AnnouncementBanner.test.tsx b/packages/ui-patterns/src/Banners/AnnouncementBanner.test.tsx
deleted file mode 100644
index 89af0fc2636..00000000000
--- a/packages/ui-patterns/src/Banners/AnnouncementBanner.test.tsx
+++ /dev/null
@@ -1,110 +0,0 @@
-import { act, fireEvent, render, screen, waitFor } from '@testing-library/react'
-import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
-
-import { AnnouncementBanner } from './AnnouncementBanner'
-import {
- SELECT_26_CTA,
- SELECT_26_LIVESTREAM_CTA,
- SELECT_26_LIVESTREAM_WWW_DISMISSAL_KEY,
- SELECT_26_MESSAGE,
- SELECT_26_TITLE,
- SELECT_26_URL,
- SELECT_26_WWW_DISMISSAL_KEY,
-} from './Select26Promotion'
-
-const mockUsePathname = vi.fn(() => '/database')
-
-vi.mock('next/navigation', () => ({ usePathname: () => mockUsePathname() }))
-
-describe('AnnouncementBanner', () => {
- const storage = new Map<string, string>()
-
- beforeEach(() => {
- storage.clear()
- mockUsePathname.mockReturnValue('/database')
- Object.defineProperty(window, 'localStorage', {
- configurable: true,
- value: {
- clear: () => storage.clear(),
- getItem: (key: string) => storage.get(key) ?? null,
- setItem: (key: string, value: string) => storage.set(key, value),
- },
- })
- vi.useFakeTimers({ shouldAdvanceTime: true })
- vi.setSystemTime(new Date('2026-08-25T00:00:00-07:00'))
- })
-
- afterEach(() => vi.useRealTimers())
-
- it('shows the complete Select promotion and external CTA', async () => {
- render(<AnnouncementBanner />)
-
- const message = await screen.findByText((_, element) => {
- return element?.tagName === 'P' && element.textContent === SELECT_26_MESSAGE
- })
- expect(message).toBeVisible()
- expect(screen.getByText(SELECT_26_TITLE)).toBeVisible()
- expect(screen.getByRole('link', { name: new RegExp(SELECT_26_CTA) })).toHaveAttribute(
- 'href',
- SELECT_26_URL
- )
- expect(screen.getByRole('link', { name: new RegExp(SELECT_26_CTA) })).toHaveAttribute(
- 'target',
- '_blank'
- )
- })
-
- it('persists dismissal using the Select 2026 campaign key', async () => {
- render(<AnnouncementBanner />)
-
- fireEvent.click(await screen.findByRole('button', { name: 'Dismiss announcement' }))
-
- expect(window.localStorage.getItem(SELECT_26_WWW_DISMISSAL_KEY)).toBe('hidden')
- await waitFor(() => expect(screen.queryByText(SELECT_26_TITLE)).not.toBeInTheDocument())
- })
-
- it('honours a previously persisted dismissal', () => {
- window.localStorage.setItem(SELECT_26_WWW_DISMISSAL_KEY, 'hidden')
-
- render(<AnnouncementBanner />)
-
- expect(screen.queryByText(SELECT_26_TITLE)).not.toBeInTheDocument()
- })
-
- it('shows the livestream even after the waitlist banner was dismissed', async () => {
- window.localStorage.setItem(SELECT_26_WWW_DISMISSAL_KEY, 'hidden')
- vi.setSystemTime(new Date('2026-10-02T08:00:00-07:00'))
-
- render(<AnnouncementBanner />)
-
- expect(
- await screen.findByRole('link', { name: new RegExp(SELECT_26_LIVESTREAM_CTA) })
- ).toBeVisible()
- expect(
- screen.getByRole('link', { name: new RegExp(SELECT_26_LIVESTREAM_CTA) })
- ).toHaveAttribute('href', SELECT_26_URL)
- fireEvent.click(screen.getByRole('button', { name: 'Dismiss announcement' }))
- expect(window.localStorage.getItem(SELECT_26_LIVESTREAM_WWW_DISMISSAL_KEY)).toBe('hidden')
- })
-
- it('removes the livestream at 5:30pm', async () => {
- vi.setSystemTime(new Date('2026-10-02T17:29:00-07:00'))
- render(<AnnouncementBanner />)
-
- expect(
- await screen.findByRole('link', { name: new RegExp(SELECT_26_LIVESTREAM_CTA) })
- ).toBeVisible()
- act(() => vi.advanceTimersByTime(60 * 1000))
- expect(screen.queryByRole('link', { name: new RegExp(SELECT_26_LIVESTREAM_CTA) })).toBeNull()
- })
-
- it('remains dismissible on launch-week routes', async () => {
- mockUsePathname.mockReturnValue('/launch-week')
- render(<AnnouncementBanner />)
-
- fireEvent.click(await screen.findByRole('button', { name: 'Dismiss announcement' }))
-
- expect(window.localStorage.getItem(SELECT_26_WWW_DISMISSAL_KEY)).toBe('hidden')
- await waitFor(() => expect(screen.queryByText(SELECT_26_TITLE)).not.toBeInTheDocument())
- })
-})
diff --git a/packages/ui-patterns/src/Banners/AnnouncementBanner.tsx b/packages/ui-patterns/src/Banners/AnnouncementBanner.tsx
index 1f530acf22d..e2386daad1a 100644
--- a/packages/ui-patterns/src/Banners/AnnouncementBanner.tsx
+++ b/packages/ui-patterns/src/Banners/AnnouncementBanner.tsx
@@ -1,27 +1,13 @@
-'use client'
-
import { Announcement } from './Announcement'
import announcementJSON from './data.json'
-import { Select26Banner } from './Select26Banner'
-import {
- SELECT_26_LIVESTREAM_WWW_DISMISSAL_KEY,
- SELECT_26_WWW_DISMISSAL_KEY,
- useSelect26PromotionPhase,
-} from './Select26Promotion'
+import LW15Banner from './LW15Banner'
export const announcement = announcementJSON
export const AnnouncementBanner = () => {
- const phase = useSelect26PromotionPhase()
-
- if (phase === 'ended') return null
-
- const dismissalKey =
- phase === 'livestream' ? SELECT_26_LIVESTREAM_WWW_DISMISSAL_KEY : SELECT_26_WWW_DISMISSAL_KEY
-
return (
- <Announcement key={dismissalKey} show announcementKey={dismissalKey}>
- <Select26Banner phase={phase} />
+ <Announcement show={true} announcementKey="announcement_lw15_d2">
+ <LW15Banner />
</Announcement>
)
}
diff --git a/packages/ui-patterns/src/Banners/Select26Banner.tsx b/packages/ui-patterns/src/Banners/Select26Banner.tsx
deleted file mode 100644
index b0c0cbfc09b..00000000000
--- a/packages/ui-patterns/src/Banners/Select26Banner.tsx
+++ /dev/null
@@ -1,55 +0,0 @@
-'use client'
-
-import { ArrowUpRight } from 'lucide-react'
-import Link from 'next/link'
-
-import {
- SELECT_26_CTA,
- SELECT_26_LIVESTREAM_CTA,
- SELECT_26_TITLE,
- SELECT_26_URL,
- Select26Field,
- type Select26PromotionPhase,
-} from './Select26Promotion'
-
-/** Three visible rows; top/bottom reach further inward than the middle row. */
-const WWW_FIELD_BASE_COLS = 24
-const WWW_FIELD_ROW_WIDTHS = [26, 24, 28]
-
-export const Select26Banner = ({ phase }: { phase: Exclude<Select26PromotionPhase, 'ended'> }) => (
- <div className="relative isolate flex min-h-14 w-full items-center overflow-hidden border-b border-[#00482f]/15 bg-[#f8f3ef] px-4 py-2.5 pr-12 text-base font-medium text-[#001a10] dark:border-white/10 dark:bg-[#0b0e0d] dark:text-[#f8f3ef] sm:px-6 sm:pr-14">
- <Select26Field
- cols={WWW_FIELD_BASE_COLS}
- rows={WWW_FIELD_ROW_WIDTHS.length}
- rowWidths={WWW_FIELD_ROW_WIDTHS}
- rowAlign="start"
- className="absolute left-0 top-1/2 -z-10 !hidden -translate-y-1/2 text-sm opacity-80 dark:opacity-70 sm:!flex md:text-base xl:text-[0.95rem]"
- />
- <Select26Field
- cols={WWW_FIELD_BASE_COLS}
- rows={WWW_FIELD_ROW_WIDTHS.length}
- rowWidths={WWW_FIELD_ROW_WIDTHS}
- rowAlign="end"
- mirror
- className="absolute right-0 top-1/2 -z-10 -translate-y-1/2 text-sm opacity-80 dark:opacity-70 md:text-base xl:text-[0.95rem]"
- />
- <div className="relative z-10 ml-0 mr-auto flex w-fit max-w-full flex-wrap items-center justify-start gap-x-2 rounded-md bg-[#f8f3ef] px-2.5 py-1 sm:mx-auto sm:flex-nowrap sm:justify-center sm:gap-x-2.5 sm:px-3.5 dark:bg-[#0b0e0d]">
- <p className="text-left leading-5 sm:text-center">
- {SELECT_26_TITLE}
- {phase === 'waitlist' && <span className="hidden sm:inline"> is coming October 2</span>}
- </p>
- <span aria-hidden className="text-[#00482f]/20 dark:text-white/15">
- ▪
- </span>
- <Link
- href={SELECT_26_URL}
- target="_blank"
- rel="noopener noreferrer"
- className="group inline-flex shrink-0 items-center gap-1 text-[#00482f] underline decoration-[#00482f]/35 underline-offset-4 transition-colors hover:decoration-[#00482f] dark:text-[#94e6b7] dark:decoration-[#94e6b7]/40 dark:hover:decoration-[#94e6b7]"
- >
- {phase === 'livestream' ? SELECT_26_LIVESTREAM_CTA : SELECT_26_CTA}
- <ArrowUpRight className="size-4 transition-transform group-hover:-translate-y-0.5 group-hover:translate-x-0.5 motion-reduce:transform-none" />
- </Link>
- </div>
- </div>
-)
diff --git a/packages/ui-patterns/src/Banners/Select26Promotion.module.css b/packages/ui-patterns/src/Banners/Select26Promotion.module.css
deleted file mode 100644
index cf2a7a846f8..00000000000
--- a/packages/ui-patterns/src/Banners/Select26Promotion.module.css
+++ /dev/null
@@ -1,84 +0,0 @@
-@font-face {
- font-family: 'Departure Mono Superbase';
- src: url('./fonts/DepartureMonoSuperbase-Regular.woff2') format('woff2');
- font-weight: 400;
- font-style: normal;
- font-display: swap;
-}
-
-.field {
- width: max-content;
- font-family: 'Departure Mono Superbase', ui-monospace, monospace;
- font-weight: 400;
- letter-spacing: 0;
- line-height: 1;
- pointer-events: none;
- user-select: none;
- /* Select green ramp — matches socials / glyph-engine exports */
- --select26-b0: #00482f;
- --select26-b1: #00a85a;
- --select26-b2: #3ecf8e;
- --select26-b3: #6dd9a8;
- --select26-b4: #95e6b8;
-}
-
-:global(.dark) .field,
-:global([data-theme='dark']) .field {
- --select26-b0: #00bd58;
- --select26-b1: #3ecf8e;
- --select26-b2: #95e6b8;
- --select26-b3: #e1fcd7;
- --select26-b4: #ffffff;
-}
-
-.row {
- display: grid;
- width: fit-content;
- flex-shrink: 0;
-}
-
-.fieldAlignStart {
- display: flex;
- flex-direction: column;
- align-items: flex-start;
-}
-
-.fieldAlignEnd {
- display: flex;
- flex-direction: column;
- align-items: flex-end;
-}
-
-.cell {
- display: grid;
- place-items: center;
- /* Select logo-grid cell: 22×40 at 34px → width/height in em of the field font-size */
- width: calc(22 / 34 * 1em);
- height: calc(40 / 34 * 1em);
-}
-
-.cell[data-band='0'] {
- color: var(--select26-b0);
-}
-
-.cell[data-band='1'] {
- color: var(--select26-b1);
-}
-
-.cell[data-band='2'] {
- color: var(--select26-b2);
-}
-
-.cell[data-band='3'] {
- color: var(--select26-b3);
-}
-
-.cell[data-band='4'] {
- color: var(--select26-b4);
-}
-
-@media (prefers-reduced-motion: reduce) {
- .cell {
- transition: none;
- }
-}
diff --git a/packages/ui-patterns/src/Banners/Select26Promotion.test.ts b/packages/ui-patterns/src/Banners/Select26Promotion.test.ts
deleted file mode 100644
index 09491db8dc3..00000000000
--- a/packages/ui-patterns/src/Banners/Select26Promotion.test.ts
+++ /dev/null
@@ -1,48 +0,0 @@
-import { act, renderHook } from '@testing-library/react'
-import { afterEach, describe, expect, it, vi } from 'vitest'
-
-import { getSelect26PromotionPhase, useSelect26PromotionPhase } from './Select26Promotion'
-
-afterEach(() => vi.useRealTimers())
-
-describe('getSelect26PromotionPhase', () => {
- it.each([
- ['2026-10-02T07:59:59.999-07:00', 'waitlist'],
- ['2026-10-02T08:00:00-07:00', 'livestream'],
- ['2026-10-02T17:29:59.999-07:00', 'livestream'],
- ['2026-10-02T17:30:00-07:00', 'ended'],
- ['2026-10-02T17:30:00.001-07:00', 'ended'],
- ] as const)('returns %s as %s', (time, phase) => {
- expect(getSelect26PromotionPhase(new Date(time).getTime())).toBe(phase)
- })
-})
-
-describe('useSelect26PromotionPhase', () => {
- it('updates an open page at both boundaries', () => {
- vi.useFakeTimers()
- vi.setSystemTime(new Date('2026-10-02T07:59:59.999-07:00'))
- const { result } = renderHook(() => useSelect26PromotionPhase())
-
- expect(result.current).toBe('waitlist')
-
- act(() => vi.advanceTimersByTime(1))
- expect(result.current).toBe('livestream')
-
- act(() => vi.advanceTimersByTime(9.5 * 60 * 60 * 1000))
- expect(result.current).toBe('ended')
- })
-
- it('refreshes after a background tab resumes', () => {
- vi.useFakeTimers()
- vi.setSystemTime(new Date('2026-10-02T07:00:00-07:00'))
- const { result } = renderHook(() => useSelect26PromotionPhase())
-
- vi.setSystemTime(new Date('2026-10-02T08:30:00-07:00'))
- act(() => document.dispatchEvent(new Event('visibilitychange')))
- expect(result.current).toBe('livestream')
-
- vi.setSystemTime(new Date('2026-10-02T17:31:00-07:00'))
- act(() => document.dispatchEvent(new Event('visibilitychange')))
- expect(result.current).toBe('ended')
- })
-})
diff --git a/packages/ui-patterns/src/Banners/Select26Promotion.tsx b/packages/ui-patterns/src/Banners/Select26Promotion.tsx
deleted file mode 100644
index 34157927ed0..00000000000
--- a/packages/ui-patterns/src/Banners/Select26Promotion.tsx
+++ /dev/null
@@ -1,296 +0,0 @@
-'use client'
-
-import { useEffect, useMemo, useRef, useState, type HTMLAttributes } from 'react'
-import { cn } from 'ui'
-
-import styles from './Select26Promotion.module.css'
-
-export const SELECT_26_URL = 'https://select.supabase.com/'
-/** Studio Banner Stack card title. */
-export const SELECT_26_TITLE = 'Supabase Select 2026'
-/** www announcement banner copy. */
-export const SELECT_26_MESSAGE = 'Supabase Select 2026 is coming October 2'
-export const SELECT_26_DESCRIPTION =
- 'A curated day of talks by the industry’s best builders. Join us on October 2nd in San Francisco.'
-export const SELECT_26_CTA = 'Apply to attend'
-export const SELECT_26_LIVESTREAM_DESCRIPTION =
- 'Keynote, main stage, and build stage, streamed all day.'
-export const SELECT_26_LIVESTREAM_CTA = 'Watch the livestream'
-export const SELECT_26_LIVESTREAM_STUDIO_CTA = 'Watch livestream'
-export const SELECT_26_LIVESTREAM_START = '2026-10-02T08:00:00-07:00'
-export const SELECT_26_EXPIRY = '2026-10-02T17:30:00-07:00'
-export const SELECT_26_WWW_DISMISSAL_KEY = 'announcement_select_26_08'
-export const SELECT_26_STUDIO_DISMISSAL_KEY = 'select-2026-promotion-dismissed'
-export const SELECT_26_LIVESTREAM_WWW_DISMISSAL_KEY = 'announcement_select_26_livestream'
-export const SELECT_26_LIVESTREAM_STUDIO_DISMISSAL_KEY = 'select-2026-livestream-dismissed'
-
-const SELECT_26_LIVESTREAM_START_MS = new Date(SELECT_26_LIVESTREAM_START).getTime()
-const SELECT_26_EXPIRY_MS = new Date(SELECT_26_EXPIRY).getTime()
-const MAX_TIMEOUT_MS = 2_147_483_647
-
-/** Mirrored bracket vocabulary from Select 2026 glyph-engine `brackets` / socials exports. */
-const OPEN_BRACKETS = ['‹', '{', '[', '('] as const
-const CLOSE_BRACKETS = ['›', '}', ']', ')'] as const
-
-/**
- * Radial sweep angular speed (rad / ms). Glyph-engine radar uses 0.004;
- * banners run slower so the beam reads without feeling frantic.
- */
-const SWEEP_SPEED = 0.00055
-/** Bracket face step period (ms), matching glyph-engine `bracketFace`. */
-const BRACKET_STEP_MS = 170
-/** Stepped paint rate — closer to glyph-engine `step` tween than 60fps React. */
-const FRAME_INTERVAL_MS = 70
-
-const positiveModulo = (value: number, modulo: number) => ((value % modulo) + modulo) % modulo
-
-export type Select26PromotionPhase = 'waitlist' | 'livestream' | 'ended'
-
-export const getSelect26PromotionPhase = (now = Date.now()): Select26PromotionPhase => {
- if (now < SELECT_26_LIVESTREAM_START_MS) return 'waitlist'
- if (now < SELECT_26_EXPIRY_MS) return 'livestream'
- return 'ended'
-}
-
-export const useSelect26PromotionPhase = () => {
- const [phase, setPhase] = useState<Select26PromotionPhase>(() => getSelect26PromotionPhase())
-
- useEffect(() => {
- let timeoutId: ReturnType<typeof setTimeout> | undefined
- const refreshPhase = () => {
- clearTimeout(timeoutId)
- const now = Date.now()
- const currentPhase = getSelect26PromotionPhase(now)
- setPhase(currentPhase)
- let nextBoundary: number | null = null
- if (currentPhase === 'waitlist') nextBoundary = SELECT_26_LIVESTREAM_START_MS
- if (currentPhase === 'livestream') nextBoundary = SELECT_26_EXPIRY_MS
- if (nextBoundary !== null) {
- timeoutId = setTimeout(refreshPhase, Math.min(nextBoundary - now, MAX_TIMEOUT_MS))
- }
- }
- const onVisibilityChange = () => {
- if (!document.hidden) refreshPhase()
- }
- refreshPhase()
- document.addEventListener('visibilitychange', onVisibilityChange)
- window.addEventListener('focus', refreshPhase)
- window.addEventListener('pageshow', refreshPhase)
- return () => {
- clearTimeout(timeoutId)
- document.removeEventListener('visibilitychange', onVisibilityChange)
- window.removeEventListener('focus', refreshPhase)
- window.removeEventListener('pageshow', refreshPhase)
- }
- }, [])
-
- return phase
-}
-
-type FieldCell = {
- ch: string
- /** Palette band 0–4 around the sweep. */
- band: number
- /** Beam proximity 0–1 (radar falloff). */
- weight: number
-}
-
-const cellAt = (
- x: number,
- y: number,
- cols: number,
- rows: number,
- timeMs: number,
- mirror = false
-): FieldCell => {
- const cx = (cols - 1) / 2
- const cy = (rows - 1) / 2
- const nx = x - cx
- const ny = y - cy
- const angle = Math.atan2(ny, nx)
- const sweep = positiveModulo(timeMs * SWEEP_SPEED, Math.PI * 2)
-
- const step = Math.floor(timeMs / BRACKET_STEP_MS + y * 1.7 + Math.abs(nx) * 0.8)
- const idx = positiveModulo(step, OPEN_BRACKETS.length)
- const onLeft = mirror ? x > cx : x <= cx
- const ch = onLeft ? OPEN_BRACKETS[idx] : CLOSE_BRACKETS[idx]
-
- const hue = positiveModulo(angle - sweep, Math.PI * 2) / (Math.PI * 2)
- const band = Math.min(4, Math.floor(hue * 5))
-
- const distance = Math.min(
- positiveModulo(angle - sweep, Math.PI * 2),
- positiveModulo(sweep - angle, Math.PI * 2)
- )
- // Same thresholds as glyph-engine `radarFace`, with a readable off-beam field.
- const weight = distance < 0.16 ? 1 : distance < 0.42 ? 0.85 : distance < 0.78 ? 0.55 : 0.28
-
- return { ch, band, weight }
-}
-
-type Select26FieldProps = HTMLAttributes<HTMLDivElement> & {
- cols?: number
- rows?: number
- /** Per-row column counts; defaults to `cols` for every row. */
- rowWidths?: number[]
- /** Which edge shorter rows hug when widths vary. */
- rowAlign?: 'start' | 'end'
- /** Mirror bracket glyphs (for right-hand fields; prefer over CSS scale-x). */
- mirror?: boolean
-}
-
-/**
- * Animated Radial sweep: mirrored brackets with rotating colour bands and
- * radar beam falloff. Stepped updates mirror the Select glyph-engine without
- * shipping its canvas runtime.
- */
-/**
- * One shared, throttled rAF loop for every mounted field, so multiple fields
- * (e.g. the mirrored www pair) paint in the same frame instead of each
- * running its own loop.
- */
-type FieldPainter = (timeMs: number) => void
-const fieldPainters = new Set<FieldPainter>()
-let fieldRaf = 0
-let fieldLastPaint = 0
-let fieldStarted = 0
-
-const fieldTick = (now: number) => {
- if (now - fieldLastPaint >= FRAME_INTERVAL_MS) {
- fieldLastPaint = now
- const timeMs = now - fieldStarted
- fieldPainters.forEach((paint) => paint(timeMs))
- }
- fieldRaf = fieldPainters.size > 0 ? requestAnimationFrame(fieldTick) : 0
-}
-
-const subscribeFieldPainter = (paint: FieldPainter) => {
- fieldPainters.add(paint)
- if (!fieldRaf) {
- if (!fieldStarted) fieldStarted = performance.now()
- fieldRaf = requestAnimationFrame(fieldTick)
- }
- return () => {
- fieldPainters.delete(paint)
- if (fieldPainters.size === 0 && fieldRaf) {
- cancelAnimationFrame(fieldRaf)
- fieldRaf = 0
- }
- }
-}
-
-export const Select26Field = ({
- cols = 10,
- rows = 6,
- rowWidths,
- rowAlign = 'start',
- mirror = false,
- className,
- ...props
-}: Select26FieldProps) => {
- const rootRef = useRef<HTMLDivElement>(null)
-
- const widths = useMemo(() => {
- if (rowWidths) return rowWidths
- return Array.from({ length: rows }, () => cols)
- }, [rowWidths, rows, cols])
- const fieldRows = widths.length
-
- // Static first frame for SSR / reduced motion; animation then mutates the
- // existing spans directly instead of re-rendering through React.
- const initialCells = useMemo(
- () =>
- widths.map((rowCols, y) =>
- Array.from({ length: rowCols }, (_, x) => cellAt(x, y, rowCols, fieldRows, 0, mirror))
- ),
- [widths, fieldRows, mirror]
- )
-
- useEffect(() => {
- const node = rootRef.current
- if (!node) return
- if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) return
-
- const spans = Array.from(node.querySelectorAll<HTMLSpanElement>('[data-cell]'))
- const coords = widths.flatMap((rowCols, y) => Array.from({ length: rowCols }, (_, x) => [x, y]))
- const previous = initialCells.flat()
-
- const paint: FieldPainter = (timeMs) => {
- for (let i = 0; i < spans.length; i++) {
- const [x, y] = coords[i]
- const next = cellAt(x, y, widths[y], fieldRows, timeMs, mirror)
- const prev = previous[i]
- const span = spans[i]
- if (next.ch !== prev.ch) span.textContent = next.ch
- if (next.band !== prev.band) span.dataset.band = String(next.band)
- if (next.weight !== prev.weight) span.style.opacity = String(next.weight)
- previous[i] = next
- }
- }
-
- let unsubscribe: (() => void) | undefined
- const start = () => {
- if (!unsubscribe) unsubscribe = subscribeFieldPainter(paint)
- }
- const stop = () => {
- unsubscribe?.()
- unsubscribe = undefined
- }
-
- // Only animate while on screen (also covers `display: none` breakpoints).
- if (typeof IntersectionObserver === 'undefined') {
- start()
- return stop
- }
- const observer = new IntersectionObserver(
- ([entry]) => (entry?.isIntersecting ? start() : stop()),
- { rootMargin: '80px' }
- )
- observer.observe(node)
- return () => {
- observer.disconnect()
- stop()
- }
- }, [widths, fieldRows, mirror, initialCells])
-
- return (
- <div
- ref={rootRef}
- aria-hidden
- className={cn(
- styles.field,
- rowAlign === 'end' ? styles.fieldAlignEnd : styles.fieldAlignStart,
- className
- )}
- {...props}
- >
- {initialCells.map((rowCells, y) => {
- const rowCols = widths[y]
- const cellWidth = 'calc(22 / 34 * 1em)'
-
- return (
- <div
- key={y}
- className={styles.row}
- style={{
- gridTemplateColumns: `repeat(${rowCols}, ${cellWidth})`,
- width: `calc(${rowCols} * 22 / 34 * 1em)`,
- }}
- >
- {rowCells.map((cell, index) => (
- <span
- key={index}
- data-cell
- className={styles.cell}
- data-band={cell.band}
- style={{ opacity: cell.weight }}
- >
- {cell.ch}
- </span>
- ))}
- </div>
- )
- })}
- </div>
- )
-}
diff --git a/packages/ui-patterns/src/Banners/fonts/DepartureMonoSuperbase-Regular.woff2 b/packages/ui-patterns/src/Banners/fonts/DepartureMonoSuperbase-Regular.woff2
deleted file mode 100644
index 40b0eb13378..00000000000
Binary files a/packages/ui-patterns/src/Banners/fonts/DepartureMonoSuperbase-Regular.woff2 and /dev/null differ
diff --git a/packages/ui-patterns/src/Banners/fonts/OFL.txt b/packages/ui-patterns/src/Banners/fonts/OFL.txt
deleted file mode 100644
index de524761838..00000000000
--- a/packages/ui-patterns/src/Banners/fonts/OFL.txt
+++ /dev/null
@@ -1,93 +0,0 @@
-Copyright 2022–2024 Helena Zhang (helenazhang.com).
-
-This Font Software is licensed under the SIL Open Font License, Version 1.1.
-This license is copied below, and is also available with a FAQ at:
-https://openfontlicense.org
-
-
------------------------------------------------------------
-SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
------------------------------------------------------------
-
-PREAMBLE
-The goals of the Open Font License (OFL) are to stimulate worldwide
-development of collaborative font projects, to support the font creation
-efforts of academic and linguistic communities, and to provide a free and
-open framework in which fonts may be shared and improved in partnership
-with others.
-
-The OFL allows the licensed fonts to be used, studied, modified and
-redistributed freely as long as they are not sold by themselves. The
-fonts, including any derivative works, can be bundled, embedded,
-redistributed and/or sold with any software provided that any reserved
-names are not used by derivative works. The fonts and derivatives,
-however, cannot be released under any other type of license. The
-requirement for fonts to remain under this license does not apply
-to any document created using the fonts or their derivatives.
-
-DEFINITIONS
-"Font Software" refers to the set of files released by the Copyright
-Holder(s) under this license and clearly marked as such. This may
-include source files, build scripts and documentation.
-
-"Reserved Font Name" refers to any names specified as such after the
-copyright statement(s).
-
-"Original Version" refers to the collection of Font Software components as
-distributed by the Copyright Holder(s).
-
-"Modified Version" refers to any derivative made by adding to, deleting,
-or substituting -- in part or in whole -- any of the components of the
-Original Version, by changing formats or by porting the Font Software to a
-new environment.
-
-"Author" refers to any designer, engineer, programmer, technical
-writer or other person who contributed to the Font Software.
-
-PERMISSION & CONDITIONS
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of the Font Software, to use, study, copy, merge, embed, modify,
-redistribute, and sell modified and unmodified copies of the Font
-Software, subject to the following conditions:
-
-1) Neither the Font Software nor any of its individual components,
-in Original or Modified Versions, may be sold by itself.
-
-2) Original or Modified Versions of the Font Software may be bundled,
-redistributed and/or sold with any software, provided that each copy
-contains the above copyright notice and this license. These can be
-included either as stand-alone text files, human-readable headers or
-in the appropriate machine-readable metadata fields within text or
-binary files as long as those fields can be easily viewed by the user.
-
-3) No Modified Version of the Font Software may use the Reserved Font
-Name(s) unless explicit written permission is granted by the corresponding
-Copyright Holder. This restriction only applies to the primary font name as
-presented to the users.
-
-4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
-Software shall not be used to promote, endorse or advertise any
-Modified Version, except to acknowledge the contribution(s) of the
-Copyright Holder(s) and the Author(s) or with their explicit written
-permission.
-
-5) The Font Software, modified or unmodified, in part or in whole,
-must be distributed entirely under this license, and must not be
-distributed under any other license. The requirement for fonts to
-remain under this license does not apply to any document created
-using the Font Software.
-
-TERMINATION
-This license becomes null and void if any of the above conditions are
-not met.
-
-DISCLAIMER
-THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
-OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
-COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
-DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
-OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/packages/ui-patterns/src/Banners/fonts/README.md b/packages/ui-patterns/src/Banners/fonts/README.md
deleted file mode 100644
index 7ef88559004..00000000000
--- a/packages/ui-patterns/src/Banners/fonts/README.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# Departure Mono Superbase (banner subset)
-
-Web font used by Select 2026 promotional banners (`Select26Field`).
-
-Source: Supabase’s Departure Mono Superbase derivative of Helena Zhang’s
-[Departure Mono](https://departuremono.com), SIL OFL 1.1 (see `OFL.txt`).
-
-Full font repo (OTF, sources, bolt glyph): select app
-`apps/2026/src/fonts/departure-mono-superbase`.