Skip to content

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

1.7 KB
Raw Blame
import type { Metadata } from 'next'

import { RegisterContent } from './register/RegisterContent'
import StateOfStartups2026Content from './StateOfStartups2026Content'

// TODO (alan): set this to true once results are available.
const SHOW_RESULTS = true

export const metadata: Metadata = SHOW_RESULTS
  ? {
      title: 'State of Startups 2026 | Supabase',
      description:
        'The latest trends among builders in tech stacks, AI usage, problem domains, and more.',
      alternates: {
        canonical: 'https://supabase.com/state-of-startups',
      },
      openGraph: {
        title: 'State of Startups 2026 | Supabase',
        description:
          'The latest trends among builders in tech stacks, AI usage, problem domains, and more.',
        url: 'https://supabase.com/state-of-startups',
        images: [
          {
            url: 'https://supabase.com/images/state-of-startups/2026/state-of-startups-og.png',
          },
        ],
      },
    }
  : {
      title: 'State of Startups 2026 — Survey | Supabase',
      description: 'Be the first to access the State of Startups 2026 report.',
      alternates: {
        canonical: 'https://supabase.com/state-of-startups',
      },
      openGraph: {
        title: 'State of Startups 2026 — Survey | Supabase',
        description: 'Be the first to access the State of Startups 2026 report.',
        url: 'https://supabase.com/state-of-startups',
      },
    }

export default function StateOfStartupsPage() {
  if (!SHOW_RESULTS) return <RegisterContent />
  // All survey numbers are embedded statically (data/surveys/
  // state-of-startups-data.json). No live database, no build-time fetch.
  return <StateOfStartups2026Content />
}