Skip to content

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

new go blocks (#43771)

Alan Danielee8cb336affb
diff --git a/apps/www/_go/index.tsx b/apps/www/_go/index.tsx
index 862c8595af2..3ba227d7512 100644
--- a/apps/www/_go/index.tsx
+++ b/apps/www/_go/index.tsx
@@ -22,8 +22,10 @@ import pgconfDevContestThankYou from './events/pgconf-dev-2026/contest-thank-you
import aiEngineerEuropeContest from './events/ai-engineer-europe-2026/contest'
import aiEngineerEuropeContestThankYou from './events/ai-engineer-europe-2026/contest-thank-you'
import startupGrindContest from './events/startup-grind-2026/contest'
+import exampleLeadGen from './lead-gen/example-lead-gen'
const pages: GoPageInput[] = [
+ exampleLeadGen,
byocEarlyAccess,
amoe,
amoeThankYou,
diff --git a/apps/www/_go/lead-gen/example-lead-gen.tsx b/apps/www/_go/lead-gen/example-lead-gen.tsx
index ec6fa623ea9..c6a234dd6df 100644
--- a/apps/www/_go/lead-gen/example-lead-gen.tsx
+++ b/apps/www/_go/lead-gen/example-lead-gen.tsx
@@ -14,7 +14,7 @@ const page: GoPageInput = {
title: 'Building Modern Applications with Supabase',
subtitle: 'Sample ebook landing page',
description:
- 'This is a sample lead generation page. The content below demonstrates the template layout. Replace it with your real ebook title, description, and cover image.',
+ 'This is a sample lead generation page. The content below demonstrates the template layout and all available section components. Replace it with your real ebook title, description, and cover image.',
image: {
src: 'https://zhfonblqamxferhoguzj.supabase.co/functions/v1/generate-og?template=announcement&layout=vertical&copy=Modern+applications&icon=supabase.svg',
alt: 'Ebook cover: Building Modern Applications with Supabase',
@@ -72,6 +72,92 @@ const page: GoPageInput = {
},
],
},
+ {
+ type: 'steps',
+ title: 'Get started in minutes',
+ description: 'Three simple steps to launch your project with Supabase.',
+ items: [
+ {
+ title: 'Create a project',
+ description:
+ 'Sign up for a free Supabase account and create a new project from the dashboard. Your database, auth, and storage are provisioned instantly.',
+ },
+ {
+ title: 'Build your schema',
+ description:
+ 'Use the Table Editor or write SQL directly to define your tables, relationships, and row-level security policies.',
+ },
+ {
+ title: 'Connect your app',
+ description:
+ 'Install the Supabase client library for your framework and start querying your database with auto-generated APIs.',
+ },
+ {
+ title: 'Deploy to production',
+ content: (
+ <div className="mt-2 space-y-3">
+ <p className="text-foreground-lighter text-sm leading-relaxed">
+ Push your project live with a single click. Supabase handles scaling, backups, and
+ monitoring automatically.
+ </p>
+ <img
+ src="https://zhfonblqamxferhoguzj.supabase.co/functions/v1/generate-og?template=announcement&layout=vertical&copy=Deploy+to+production&icon=supabase.svg"
+ alt="Deploy to production"
+ className="rounded-lg border border-muted w-full max-w-lg"
+ />
+ </div>
+ ),
+ },
+ ],
+ },
+ {
+ type: 'code-block',
+ title: 'Simple, powerful APIs',
+ description: 'Interact with your database using the auto-generated client library.',
+ files: [
+ {
+ filename: 'app/page.tsx',
+ language: 'typescript',
+ code: `import { createClient } from '@supabase/supabase-js'
+
+const supabase = createClient(
+ process.env.NEXT_PUBLIC_SUPABASE_URL!,
+ process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!
+)
+
+// Fetch all published posts
+const { data: posts } = await supabase
+ .from('posts')
+ .select('id, title, content, author(name)')
+ .eq('published', true)
+ .order('created_at', { ascending: false })`,
+ },
+ {
+ filename: 'lib/supabase.ts',
+ language: 'typescript',
+ code: `import { createClient } from '@supabase/supabase-js'
+
+export const supabase = createClient(
+ process.env.NEXT_PUBLIC_SUPABASE_URL!,
+ process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!
+)`,
+ },
+ {
+ filename: 'schema.sql',
+ language: 'sql',
+ code: `create table posts (
+ id bigint generated always as identity primary key,
+ title text not null,
+ content text,
+ author_id bigint references authors(id),
+ published boolean default false,
+ created_at timestamptz default now()
+);
+
+alter table posts enable row level security;`,
+ },
+ ],
+ },
{
type: 'metrics',
items: [
@@ -80,6 +166,44 @@ const page: GoPageInput = {
{ label: 'GitHub stars', value: '80,000+' },
],
},
+ {
+ type: 'quote',
+ quote:
+ 'Supabase has completely transformed how we build products. What used to take weeks now takes hours.',
+ author: 'Jane Smith',
+ role: 'CTO, Acme Corp',
+ avatar: {
+ src: 'https://i.pravatar.cc/80?u=jane-smith',
+ alt: 'Jane Smith',
+ },
+ },
+ {
+ type: 'faq',
+ title: 'Frequently asked questions',
+ description: 'Everything you need to know about getting started with Supabase.',
+ items: [
+ {
+ question: 'What is Supabase?',
+ answer:
+ 'Supabase is an open-source Firebase alternative that provides a Postgres database, authentication, instant APIs, edge functions, real-time subscriptions, and storage. It gives you all the backend services you need to build a product.',
+ },
+ {
+ question: 'How much does Supabase cost?',
+ answer:
+ 'Supabase has a generous free tier that includes 500MB of database space, 1GB of storage, and 50,000 monthly active users. Paid plans start at $25/month for additional resources and features like daily backups and priority support.',
+ },
+ {
+ question: 'Can I self-host Supabase?',
+ answer:
+ 'Yes! Supabase is fully open-source and can be self-hosted using Docker. The official documentation provides detailed guides for deploying Supabase on your own infrastructure.',
+ },
+ {
+ question: 'What frameworks does Supabase support?',
+ answer:
+ 'Supabase provides client libraries for JavaScript/TypeScript, Python, Dart (Flutter), Swift, and Kotlin. It works with any framework including Next.js, React, Vue, Svelte, and more.',
+ },
+ ],
+ },
{
type: 'tweets',
title: 'Loved by developers',
diff --git a/packages/marketing/package.json b/packages/marketing/package.json
index e4b2230f250..c6a4d761e29 100644
--- a/packages/marketing/package.json
+++ b/packages/marketing/package.json
@@ -17,12 +17,13 @@
"typescript": "catalog:"
},
"dependencies": {
- "ui": "workspace:*",
- "zod": "catalog:",
+ "@types/react": "catalog:",
"react": "catalog:",
"react-markdown": "^8.0.3",
"server-only": "^0.0.1",
- "@types/react": "catalog:"
+ "shiki": "^4.0.1",
+ "ui": "workspace:*",
+ "zod": "catalog:"
},
"license": "MIT"
}
diff --git a/packages/marketing/src/go/schemas.ts b/packages/marketing/src/go/schemas.ts
index 7125d939aba..826adfac939 100644
--- a/packages/marketing/src/go/schemas.ts
+++ b/packages/marketing/src/go/schemas.ts
@@ -233,6 +233,62 @@ export const tweetsSectionSchema = z.object({
ctas: z.array(ctaSchema).optional(),
})
+export const faqItemSchema = z.object({
+ question: z.string().min(1),
+ answer: z.string().min(1),
+})
+
+export const faqSectionSchema = z.object({
+ ...sectionBase,
+ type: z.literal('faq'),
+ title: z.string().optional(),
+ description: z.string().optional(),
+ items: z.array(faqItemSchema).min(1),
+})
+
+export const codeFileSchema = z.object({
+ filename: z.string().min(1),
+ code: z.string().min(1),
+ language: z.string().optional().default('sql'),
+})
+
+export const codeBlockSectionSchema = z.object({
+ ...sectionBase,
+ type: z.literal('code-block'),
+ title: z.string().optional(),
+ description: z.string().optional(),
+ /** Single-file mode */
+ code: z.string().optional(),
+ language: z.string().optional().default('sql'),
+ filename: z.string().optional(),
+ /** Multi-file mode — takes precedence over code/filename/language when set */
+ files: z.array(codeFileSchema).optional(),
+})
+
+export const stepItemSchema = z.object({
+ title: z.string().min(1),
+ description: z.string().optional(),
+ content: z.any().optional(),
+ icon: z.string().optional(),
+})
+
+export const stepsSectionSchema = z.object({
+ ...sectionBase,
+ type: z.literal('steps'),
+ title: z.string().optional(),
+ description: z.string().optional(),
+ items: z.array(stepItemSchema).min(1),
+})
+
+export const quoteSectionSchema = z.object({
+ ...sectionBase,
+ type: z.literal('quote'),
+ quote: z.string().min(1),
+ author: z.string().min(1),
+ role: z.string().optional(),
+ avatar: imageSchema.optional(),
+})
+
// ----- Dynamic sections -----
export const goSectionSchema = z.discriminatedUnion('type', [
@@ -243,6 +299,10 @@ export const goSectionSchema = z.discriminatedUnion('type', [
featureGridSectionSchema,
metricsSectionSchema,
tweetsSectionSchema,
+ faqSectionSchema,
+ codeBlockSectionSchema,
+ stepsSectionSchema,
+ quoteSectionSchema,
])
// ----- Page-level schemas -----
@@ -307,6 +367,13 @@ export type GoFeatureGridSection = z.infer<typeof featureGridSectionSchema>
export type GoMetricItem = z.infer<typeof metricItemSchema>
export type GoMetricsSection = z.infer<typeof metricsSectionSchema>
export type GoTweetsSection = z.infer<typeof tweetsSectionSchema>
+export type GoFaqItem = z.infer<typeof faqItemSchema>
+export type GoFaqSection = z.infer<typeof faqSectionSchema>
+export type GoCodeFile = z.infer<typeof codeFileSchema>
+export type GoCodeBlockSection = z.infer<typeof codeBlockSectionSchema>
+export type GoStepItem = z.infer<typeof stepItemSchema>
+export type GoStepsSection = z.infer<typeof stepsSectionSchema>
+export type GoQuoteSection = z.infer<typeof quoteSectionSchema>
export type GoSection = z.infer<typeof goSectionSchema>
export type GoMetadata = z.infer<typeof metadataSchema>
diff --git a/packages/marketing/src/go/sections/CodeBlockSection.tsx b/packages/marketing/src/go/sections/CodeBlockSection.tsx
new file mode 100644
index 00000000000..b27c40917b0
--- /dev/null
+++ b/packages/marketing/src/go/sections/CodeBlockSection.tsx
@@ -0,0 +1,84 @@
+import { codeToHtml } from 'shiki'
+
+import type { GoCodeBlockSection } from '../schemas'
+import CodeBlockTabs from './CodeBlockTabs'
+import { supabaseDark, supabaseLight } from './codeThemes'
+
+const lineNumberStyles = `
+ .go-code code { counter-reset: line; }
+ .go-code code .line { counter-increment: line; }
+ .go-code code .line::before {
+ content: counter(line);
+ display: inline-block;
+ width: 2ch;
+ margin-right: 1.5ch;
+ text-align: right;
+ color: hsl(var(--foreground-light));
+ opacity: 0.35;
+ }
+`
+
+async function highlightCode(code: string, language: string) {
+ const [darkHtml, lightHtml] = await Promise.all([
+ codeToHtml(code, { lang: language, theme: supabaseDark }),
+ codeToHtml(code, { lang: language, theme: supabaseLight }),
+ ])
+ return { darkHtml, lightHtml }
+}
+
+export default async function CodeBlockSection({ section }: { section: GoCodeBlockSection }) {
+ const isMultiFile = section.files && section.files.length > 0
+ const isSingleFileWithName = !isMultiFile && section.filename && section.code
+
+ // Build the highlighted files array
+ const highlightedFiles = isMultiFile
+ ? await Promise.all(
+ section.files!.map(async (file) => {
+ const { darkHtml, lightHtml } = await highlightCode(file.code, file.language ?? 'sql')
+ return { filename: file.filename, darkHtml, lightHtml }
+ })
+ )
+ : section.code
+ ? [
+ {
+ filename: section.filename ?? '',
+ ...(await highlightCode(section.code, section.language ?? 'sql')),
+ },
+ ]
+ : []
+
+ const showTabs =
+ highlightedFiles.length > 1 || (highlightedFiles.length === 1 && isSingleFileWithName)
+
+ return (
+ <div className="max-w-[80rem] w-full min-w-0 mx-auto px-8">
+ {(section.title || section.description) && (
+ <div className="mb-12">
+ {section.title && (
+ <h2 className="text-2xl sm:text-3xl font-medium text-foreground">{section.title}</h2>
+ )}
+ {section.description && (
+ <p className="text-foreground-lighter mt-3 text-lg">{section.description}</p>
+ )}
+ </div>
+ )}
+ <style dangerouslySetInnerHTML={{ __html: lineNumberStyles }} />
+ <div className="go-code border border-muted rounded-xl overflow-hidden w-full">
+ {showTabs ? (
+ <CodeBlockTabs files={highlightedFiles} />
+ ) : highlightedFiles.length === 1 ? (
+ <>
+ <div
+ className="hidden dark:block px-5 py-4 sm:px-6 sm:py-5 overflow-x-auto text-[13px] leading-[1.6] [&_pre]:!bg-transparent [&_pre]:!m-0 [&_code]:font-mono"
+ dangerouslySetInnerHTML={{ __html: highlightedFiles[0].darkHtml }}
+ />
+ <div
+ className="block dark:hidden px-5 py-4 sm:px-6 sm:py-5 overflow-x-auto text-[13px] leading-[1.6] [&_pre]:!bg-transparent [&_pre]:!m-0 [&_code]:font-mono"
+ dangerouslySetInnerHTML={{ __html: highlightedFiles[0].lightHtml }}
+ />
+ </>
+ ) : null}
+ </div>
+ </div>
+ )
+}
diff --git a/packages/marketing/src/go/sections/CodeBlockTabs.tsx b/packages/marketing/src/go/sections/CodeBlockTabs.tsx
new file mode 100644
index 00000000000..01e68ab6bce
--- /dev/null
+++ b/packages/marketing/src/go/sections/CodeBlockTabs.tsx
@@ -0,0 +1,42 @@
+'use client'
+
+import { useState } from 'react'
+import { cn } from 'ui'
+
+interface CodeBlockTabsProps {
+ files: { filename: string; darkHtml: string; lightHtml: string }[]
+}
+
+export default function CodeBlockTabs({ files }: CodeBlockTabsProps) {
+ const [activeIndex, setActiveIndex] = useState(0)
+
+ return (
+ <>
+ <div className="flex border-b border-muted bg-surface-200/50">
+ {files.map((file, i) => (
+ <button
+ key={file.filename}
+ type="button"
+ onClick={() => setActiveIndex(i)}
+ className={cn(
+ 'px-5 py-3 text-xs font-mono transition-colors',
+ i === activeIndex
+ ? 'text-foreground border-b border-foreground -mb-px'
+ : 'text-foreground-lighter hover:text-foreground-light'
+ )}
+ >
+ {file.filename}
+ </button>
+ ))}
+ </div>
+ <div
+ className="hidden dark:block px-5 py-4 sm:px-6 sm:py-5 overflow-x-auto text-[13px] leading-[1.6] [&_pre]:!bg-transparent [&_pre]:!m-0 [&_code]:font-mono"
+ dangerouslySetInnerHTML={{ __html: files[activeIndex].darkHtml }}
+ />
+ <div
+ className="block dark:hidden px-5 py-4 sm:px-6 sm:py-5 overflow-x-auto text-[13px] leading-[1.6] [&_pre]:!bg-transparent [&_pre]:!m-0 [&_code]:font-mono"
+ dangerouslySetInnerHTML={{ __html: files[activeIndex].lightHtml }}
+ />
+ </>
+ )
+}
diff --git a/packages/marketing/src/go/sections/FaqSection.tsx b/packages/marketing/src/go/sections/FaqSection.tsx
new file mode 100644
index 00000000000..73e97b4da9d
--- /dev/null
+++ b/packages/marketing/src/go/sections/FaqSection.tsx
@@ -0,0 +1,71 @@
+'use client'
+
+import { useState } from 'react'
+import { cn } from 'ui'
+
+import type { GoFaqSection } from '../schemas'
+
+export default function FaqSection({ section }: { section: GoFaqSection }) {
+ const [openIndex, setOpenIndex] = useState<number | null>(null)
+
+ return (
+ <div className="max-w-[80rem] mx-auto px-8">
+ {(section.title || section.description) && (
+ <div className="mb-12">
+ {section.title && (
+ <h2 className="text-2xl sm:text-3xl font-medium text-foreground">{section.title}</h2>
+ )}
+ {section.description && (
+ <p className="text-foreground-lighter mt-3 text-lg">{section.description}</p>
+ )}
+ </div>
+ )}
+ <div className="border border-muted rounded-xl overflow-hidden divide-y divide-muted">
+ {section.items.map((item, i) => {
+ const isOpen = openIndex === i
+ return (
+ <div key={i}>
+ <button
+ type="button"
+ className="flex w-full items-center justify-between gap-4 p-6 sm:p-8 text-left"
+ onClick={() => setOpenIndex(isOpen ? null : i)}
+ aria-expanded={isOpen}
+ >
+ <span className="text-foreground font-medium text-base">{item.question}</span>
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ width="16"
+ height="16"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ strokeWidth="2"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ className={cn(
+ 'shrink-0 text-foreground-lighter transition-transform duration-200',
+ isOpen && 'rotate-180'
+ )}
+ >
+ <polyline points="6 9 12 15 18 9" />
+ </svg>
+ </button>
+ <div
+ className={cn(
+ 'grid transition-all duration-200',
+ isOpen ? 'grid-rows-[1fr]' : 'grid-rows-[0fr]'
+ )}
+ >
+ <div className="overflow-hidden">
+ <p className="px-6 sm:px-8 pb-6 sm:pb-8 text-foreground-lighter text-sm leading-relaxed">
+ {item.answer}
+ </p>
+ </div>
+ </div>
+ </div>
+ )
+ })}
+ </div>
+ </div>
+ )
+}
diff --git a/packages/marketing/src/go/sections/QuoteSection.tsx b/packages/marketing/src/go/sections/QuoteSection.tsx
new file mode 100644
index 00000000000..010ece03e0a
--- /dev/null
+++ b/packages/marketing/src/go/sections/QuoteSection.tsx
@@ -0,0 +1,32 @@
+import type { GoQuoteSection } from '../schemas'
+
+export default function QuoteSection({ section }: { section: GoQuoteSection }) {
+ return (
+ <div className="max-w-[80rem] mx-auto px-8">
+ <figure className="max-w-3xl mx-auto text-center">
+ <blockquote>
+ <p className="text-foreground text-xl sm:text-2xl font-medium leading-relaxed">
+ &ldquo;{section.quote}&rdquo;
+ </p>
+ </blockquote>
+ <figcaption className="mt-6 flex items-center justify-center gap-3">
+ {section.avatar && (
+ <img
+ src={section.avatar.src}
+ alt={section.avatar.alt}
+ width={32}
+ height={32}
+ className="rounded-full"
+ />
+ )}
+ <div className="text-sm">
+ <span className="text-foreground font-medium">{section.author}</span>
+ {section.role && (
+ <span className="text-foreground-lighter"> &middot; {section.role}</span>
+ )}
+ </div>
+ </figcaption>
+ </figure>
+ </div>
+ )
+}
diff --git a/packages/marketing/src/go/sections/SectionRenderer.tsx b/packages/marketing/src/go/sections/SectionRenderer.tsx
index cba69ec065a..e6915fd9245 100644
--- a/packages/marketing/src/go/sections/SectionRenderer.tsx
+++ b/packages/marketing/src/go/sections/SectionRenderer.tsx
@@ -1,10 +1,14 @@
import { cn } from 'ui'
import type { GoSection } from '../schemas'
+import CodeBlockSection from './CodeBlockSection'
+import FaqSection from './FaqSection'
import FeatureGridSection from './FeatureGridSection'
import FormSection from './FormSection'
import MetricsSection from './MetricsSection'
+import QuoteSection from './QuoteSection'
import SingleColumnSection from './SingleColumnSection'
+import StepsSection from './StepsSection'
import ThreeColumnSection from './ThreeColumnSection'
import TwoColumnSection from './TwoColumnSection'
@@ -52,6 +56,18 @@ export default function SectionRenderer({ section, customRenderers }: SectionRen
case 'tweets':
// Tweets requires app-specific dependencies — must be provided via customRenderers
break
+ case 'faq':
+ content = <FaqSection section={section} />
+ break
+ case 'code-block':
+ content = <CodeBlockSection section={section} />
+ break
+ case 'steps':
+ content = <StepsSection section={section} />
+ break
+ case 'quote':
+ content = <QuoteSection section={section} />
+ break
default: {
const _exhaustive: never = section
break
diff --git a/packages/marketing/src/go/sections/StepsSection.tsx b/packages/marketing/src/go/sections/StepsSection.tsx
new file mode 100644
index 00000000000..51566056fba
--- /dev/null
+++ b/packages/marketing/src/go/sections/StepsSection.tsx
@@ -0,0 +1,50 @@
+import { cn } from 'ui'
+
+import type { GoStepsSection } from '../schemas'
+
+export default function StepsSection({ section }: { section: GoStepsSection }) {
+ return (
+ <div className="max-w-[80rem] w-full min-w-0 mx-auto px-8">
+ {(section.title || section.description) && (
+ <div className="mb-12">
+ {section.title && (
+ <h2 className="text-2xl sm:text-3xl font-medium text-foreground">{section.title}</h2>
+ )}
+ {section.description && (
+ <p className="text-foreground-lighter mt-3 text-lg">{section.description}</p>
+ )}
+ </div>
+ )}
+ <div className="relative">
+ {section.items.map((item, i) => {
+ const isLast = i === section.items.length - 1
+ return (
+ <div key={i} className="flex gap-4 sm:gap-5">
+ <div className="flex flex-col items-center">
+ <div className="flex items-center justify-center w-9 h-9 rounded-full border border-muted bg-surface-100 text-foreground text-sm font-medium shrink-0">
+ {item.icon ?? i + 1}
+ </div>
+ {!isLast && <div className="w-px flex-1 bg-muted my-2" />}
+ </div>
+ <div
+ className={cn(
+ isLast ? 'flex-1 min-w-0 pb-0' : 'flex-1 min-w-0 pb-8',
+ '-translate-y-1'
+ )}
+ >
+ <h3 className="text-foreground font-medium text-base mt-2">{item.title}</h3>
+ {item.content ? (
+ <div className="mt-2">{item.content}</div>
+ ) : item.description ? (
+ <p className="text-foreground-lighter text-sm mt-2 leading-relaxed">
+ {item.description}
+ </p>
+ ) : null}
+ </div>
+ </div>
+ )
+ })}
+ </div>
+ </div>
+ )
+}
diff --git a/packages/marketing/src/go/sections/codeThemes.ts b/packages/marketing/src/go/sections/codeThemes.ts
new file mode 100644
index 00000000000..97f0fd448c4
--- /dev/null
+++ b/packages/marketing/src/go/sections/codeThemes.ts
@@ -0,0 +1,101 @@
+import type { ThemeRegistration } from 'shiki'
+
+export const supabaseDark: ThemeRegistration = {
+ name: 'supabase-dark',
+ type: 'dark',
+ colors: {
+ 'editor.background': '#00000000',
+ 'editor.foreground': '#ffffff',
+ },
+ tokenColors: [
+ {
+ scope: ['keyword', 'storage', 'storage.type', 'storage.modifier'],
+ settings: { foreground: '#bda4ff' },
+ },
+ {
+ scope: [
+ 'entity.name.function',
+ 'support.function',
+ 'entity.name.tag',
+ 'support.class.component',
+ ],
+ settings: { foreground: '#3ecf8e' },
+ },
+ {
+ scope: ['constant', 'variable.other.constant', 'support.constant'],
+ settings: { foreground: '#3ecf8e' },
+ },
+ {
+ scope: [
+ 'variable.other.property',
+ 'support.type.property-name',
+ 'meta.object-literal.key',
+ 'entity.other.attribute-name',
+ ],
+ settings: { foreground: '#3ecf8e' },
+ },
+ {
+ scope: ['string', 'string.quoted'],
+ settings: { foreground: '#ffcda1' },
+ },
+ {
+ scope: ['comment', 'punctuation.definition.comment'],
+ settings: { foreground: '#7e7e7e' },
+ },
+ { scope: ['variable.parameter'], settings: { foreground: '#ffffff' } },
+ { scope: ['punctuation'], settings: { foreground: '#ffffff' } },
+ { scope: ['constant.numeric'], settings: { foreground: '#ededed' } },
+ { scope: ['markup.underline.link'], settings: { foreground: '#ffffff' } },
+ { scope: ['markup.inserted'], settings: { foreground: '#3ecf8e' } },
+ { scope: ['markup.deleted'], settings: { foreground: '#F06A50' } },
+ ],
+}
+
+export const supabaseLight: ThemeRegistration = {
+ name: 'supabase-light',
+ type: 'light',
+ colors: {
+ 'editor.background': '#00000000',
+ 'editor.foreground': '#525252',
+ },
+ tokenColors: [
+ {
+ scope: ['keyword', 'storage', 'storage.type', 'storage.modifier'],
+ settings: { foreground: '#6b35dc' },
+ },
+ {
+ scope: [
+ 'entity.name.function',
+ 'support.function',
+ 'entity.name.tag',
+ 'support.class.component',
+ ],
+ settings: { foreground: '#15593b' },
+ },
+ {
+ scope: ['constant', 'variable.other.constant', 'support.constant'],
+ settings: { foreground: '#15593b' },
+ },
+ {
+ scope: [
+ 'variable.other.property',
+ 'support.type.property-name',
+ 'meta.object-literal.key',
+ 'entity.other.attribute-name',
+ ],
+ settings: { foreground: '#15593b' },
+ },
+ {
+ scope: ['string', 'string.quoted'],
+ settings: { foreground: '#f1a10d' },
+ },
+ {
+ scope: ['comment', 'punctuation.definition.comment'],
+ settings: { foreground: '#7e7e7e' },
+ },
+ { scope: ['variable.parameter'], settings: { foreground: '#525252' } },
+ { scope: ['punctuation'], settings: { foreground: '#a0a0a0' } },
+ { scope: ['constant.numeric'], settings: { foreground: '#525252' } },
+ { scope: ['markup.underline.link'], settings: { foreground: '#525252' } },
+ ],
+}
diff --git a/packages/marketing/src/go/sections/index.ts b/packages/marketing/src/go/sections/index.ts
index ddececf52a5..2e6a12f0058 100644
--- a/packages/marketing/src/go/sections/index.ts
+++ b/packages/marketing/src/go/sections/index.ts
@@ -8,6 +8,10 @@ export { default as ThreeColumnSection } from './ThreeColumnSection'
export { default as FormSection } from './FormSection'
export { default as FeatureGridSection } from './FeatureGridSection'
export { default as MetricsSection } from './MetricsSection'
+export { default as FaqSection } from './FaqSection'
+export { default as CodeBlockSection } from './CodeBlockSection'
+export { default as StepsSection } from './StepsSection'
+export { default as QuoteSection } from './QuoteSection'
export { default as SectionRenderer } from './SectionRenderer'
export type { CustomSectionRenderers } from './SectionRenderer'
export { default as MediaBlock } from './MediaBlock'
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index cc0906e1ccd..3c500b8865a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -2293,6 +2293,9 @@ importers:
server-only:
specifier: ^0.0.1
version: 0.0.1
+ shiki:
+ specifier: ^4.0.1
+ version: 4.0.1
ui:
specifier: workspace:*
version: link:../ui
@@ -8067,24 +8070,52 @@ packages:
'@shikijs/[email protected]':
resolution: {integrity: sha512-3P8rGsg2Eh2qIHekwuQjzWhKI4jV97PhvYjYUzGqjvJfqdQPz+nMlfWahU24GZAyW1FxFI1sYjyhfh5CoLmIUA==}
+ '@shikijs/[email protected]':
+ resolution: {integrity: sha512-vWvqi9JNgz1dRL9Nvog5wtx7RuNkf7MEPl2mU/cyUUxJeH1CAr3t+81h8zO8zs7DK6cKLMoU9TvukWIDjP4Lzg==}
+ engines: {node: '>=20'}
+
'@shikijs/[email protected]':
resolution: {integrity: sha512-Ty7xv32XCp8u0eQt8rItpMs6rU9Ki6LJ1dQOW3V/56PKDcpvfHPnYFbsx5FFUP2Yim34m/UkazidamMNVR4vKg==}
+ '@shikijs/[email protected]':
+ resolution: {integrity: sha512-DJK9NiwtGYqMuKCRO4Ip0FKNDQpmaiS+K5bFjJ7DWFn4zHueDWgaUG8kAofkrnXF6zPPYYQY7J5FYVW9MbZyBg==}
+ engines: {node: '>=20'}
+
'@shikijs/[email protected]':
resolution: {integrity: sha512-O42rBGr4UDSlhT2ZFMxqM7QzIU+IcpoTMzb3W7AlziI1ZF7R8eS2M0yt5Ry35nnnTX/LTLXFPUjRFCIW+Operg==}
+ '@shikijs/[email protected]':
+ resolution: {integrity: sha512-oCWdCTDch3J8Kc0OZJ98KuUPC02O1VqIE3W/e2uvrHqTxYRR21RGEJMtchrgrxhsoJJCzmIciKsqG+q/yD+Cxg==}
+ engines: {node: '>=20'}
+
'@shikijs/[email protected]':
resolution: {integrity: sha512-672c3WAETDYHwrRP0yLy3W1QYB89Hbpj+pO4KhxK6FzIrDI2FoEXNiNCut6BQmEApYLfuYfpgOZaqbY+E9b8wQ==}
+ '@shikijs/[email protected]':
+ resolution: {integrity: sha512-v/mluaybWdnGJR4GqAR6zh8qAZohW9k+cGYT28Y7M8+jLbC0l4yG085O1A+WkseHTn+awd+P3UBymb2+MXFc8w==}
+ engines: {node: '>=20'}
+
+ '@shikijs/[email protected]':
+ resolution: {integrity: sha512-ns0hHZc5eWZuvuIEJz2pTx3Qecz0aRVYumVQJ8JgWY2tq/dH8WxdcVM49Fc2NsHEILNIT6vfdW9MF26RANWiTA==}
+ engines: {node: '>=20'}
+
'@shikijs/[email protected]':
resolution: {integrity: sha512-Vxw1Nm1/Od8jyA7QuAenaV78BG2nSr3/gCGdBkLpfLscddCkzkL36Q5b67SrLLfvAJTOUzW39x4FHVCFriPVgg==}
+ '@shikijs/[email protected]':
+ resolution: {integrity: sha512-FW41C/D6j/yKQkzVdjrRPiJCtgeDaYRJFEyCKFCINuRJRj9WcmubhP4KQHPZ4+9eT87jruSrYPyoblNRyDFzvA==}
+ engines: {node: '>=20'}
+
'@shikijs/[email protected]':
resolution: {integrity: sha512-qGfHe1ECiqfE2STPWvfogIj/9Q0SK+MCRJdoITkW7AmFuB7DmbFnBT2US84+zklJOB51MzNO8RUXZiauWssJlQ==}
'@shikijs/[email protected]':
resolution: {integrity: sha512-oM9P+NCFri/mmQ8LoFGVfVyemm5Hi27330zuOBp0annwJdKH1kOLndw3zCtAVDehPLg9fKqoEx3Ht/wNZxolfw==}
+ '@shikijs/[email protected]':
+ resolution: {integrity: sha512-EaygPEn57+jJ76mw+nTLvIpJMAcMPokFbrF8lufsZP7Ukk+ToJYEcswN1G0e49nUZAq7aCQtoeW219A8HK1ZOw==}
+ engines: {node: '>=20'}
+
'@shikijs/[email protected]':
resolution: {integrity: sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==}
@@ -14997,6 +15028,9 @@ packages:
resolution: {integrity: sha512-rPiZhzC3wXwE59YQMRDodUwwT9FZ9nNBwQQfsd1wfdtlKEyCdRV0avrTcSZ5xlIvGRVPd/cx6ZN45ECmS39xvg==}
+ resolution: {integrity: sha512-3VhUGN3w2eYxnTzHn+ikMI+fp/96KoRSVK9/kMTcFqj1NRDh2IhQCKvYxDnWePKRXY/AqH+Fuiyb7VHSzBjHfA==}
+
resolution: {integrity: sha512-+GE7ywhtS6MctbfcO+vZzqIxcFzucZCwmawcwCVo89DxQDakV1JFfFViTXG4A90UzTAsU4tQteGmwDtwOlOXLw==}
engines: {node: '>= 14.17.0'}
@@ -16813,6 +16847,10 @@ packages:
resolution: {integrity: sha512-aZW4l8Og16CokuCLf8CF8kq+KK2yOygapU5m3+hoGw0Mdosc6fPitjM+ujYarppj5ZIKGyPDPP1vqmQhr+5/0g==}
+ resolution: {integrity: sha512-EkAEhDTN5WhpoQFXFw79OHIrSAfHhlImeCdSyg4u4XvrpxKEmdo/9x/HWSowujAnUrFsGOwWiE58a6GVentMnQ==}
+ engines: {node: '>=20'}
+
resolution: {integrity: sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA==}
@@ -25314,25 +25352,58 @@ snapshots:
'@types/hast': 3.0.4
hast-util-to-html: 9.0.5
+ '@shikijs/[email protected]':
+ dependencies:
+ '@shikijs/primitive': 4.0.1
+ '@shikijs/types': 4.0.1
+ '@shikijs/vscode-textmate': 10.0.2
+ '@types/hast': 3.0.4
+ hast-util-to-html: 9.0.5
+
'@shikijs/[email protected]':
dependencies:
'@shikijs/types': 3.13.0
'@shikijs/vscode-textmate': 10.0.2
oniguruma-to-es: 4.3.3
+ '@shikijs/[email protected]':
+ dependencies:
+ '@shikijs/types': 4.0.1
+ '@shikijs/vscode-textmate': 10.0.2
+ oniguruma-to-es: 4.3.4
+
'@shikijs/[email protected]':
dependencies:
'@shikijs/types': 3.13.0
'@shikijs/vscode-textmate': 10.0.2
+ '@shikijs/[email protected]':
+ dependencies:
+ '@shikijs/types': 4.0.1
+ '@shikijs/vscode-textmate': 10.0.2
+
'@shikijs/[email protected]':
dependencies:
'@shikijs/types': 3.13.0
+ '@shikijs/[email protected]':
+ dependencies:
+ '@shikijs/types': 4.0.1
+
+ '@shikijs/[email protected]':
+ dependencies:
+ '@shikijs/types': 4.0.1
+ '@shikijs/vscode-textmate': 10.0.2
+ '@types/hast': 3.0.4
+
'@shikijs/[email protected]':
dependencies:
'@shikijs/types': 3.13.0
+ '@shikijs/[email protected]':
+ dependencies:
+ '@shikijs/types': 4.0.1
+
'@shikijs/[email protected]':
dependencies:
shiki: 1.6.0
@@ -25342,6 +25413,11 @@ snapshots:
'@shikijs/vscode-textmate': 10.0.2
'@types/hast': 3.0.4
+ '@shikijs/[email protected]':
+ dependencies:
+ '@shikijs/vscode-textmate': 10.0.2
+ '@types/hast': 3.0.4
+
'@shikijs/[email protected]': {}
'@shuding/[email protected]':
@@ -33979,6 +34055,12 @@ snapshots:
regex: 6.0.1
regex-recursion: 6.0.2
+ dependencies:
+ oniguruma-parser: 0.12.1
+ regex: 6.0.1
+ regex-recursion: 6.0.2
+
@@ -36211,6 +36293,17 @@ snapshots:
'@shikijs/vscode-textmate': 10.0.2
'@types/hast': 3.0.4
+ dependencies:
+ '@shikijs/core': 4.0.1
+ '@shikijs/engine-javascript': 4.0.1
+ '@shikijs/engine-oniguruma': 4.0.1
+ '@shikijs/langs': 4.0.1
+ '@shikijs/themes': 4.0.1
+ '@shikijs/types': 4.0.1
+ '@shikijs/vscode-textmate': 10.0.2
+ '@types/hast': 3.0.4
+
dependencies:
should-type: 1.4.0