mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
48 lines
1.7 KiB
TypeScript
48 lines
1.7 KiB
TypeScript
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 />
|
|
}
|