The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(docs): resolve remaining heading-order issues found in Pass 2 diagnostic (#48664)
Miranda Limonczenkoe7d9c88cbc0a
diff --git a/apps/docs/components/RealtimeLimitsEstimator/RealtimeLimitsEstimator.tsx b/apps/docs/components/RealtimeLimitsEstimator/RealtimeLimitsEstimator.tsxindex 7f13c8bb837..660566d03f5 100644--- a/apps/docs/components/RealtimeLimitsEstimator/RealtimeLimitsEstimator.tsx+++ b/apps/docs/components/RealtimeLimitsEstimator/RealtimeLimitsEstimator.tsx@@ -57,7 +57,9 @@ export default function RealtimeLimitsEstimater({}) {return (<div>- <h4>Set your expected parameters</h4>+ <span className="block font-heading font-semibold text-lg mt-9 mb-[18px] text-foreground">+ Set your expected parameters+ </span><div className="grid mb-8 gap-y-8 gap-x-8 grid-cols-2 xl:grid-cols-4"><div><Label htmlFor="computeAddOn">Compute:</Label>@@ -107,7 +109,9 @@ export default function RealtimeLimitsEstimater({}) {{limits && (<div className="mt-8">- <h4>Current maximum possible throughput</h4>+ <span className="block font-heading font-semibold text-lg mt-9 mb-[18px] text-foreground">+ Current maximum possible throughput+ </span><table className="table-auto"><thead>@@ -158,7 +162,9 @@ export default function RealtimeLimitsEstimater({}) {.filter((v, i, a) => a.indexOf(v) === i).map((computeAddOn) => (<div>- <h4>{COMPUTE_LABELS[computeAddOn]}</h4>+ <span className="block font-heading font-semibold text-lg mt-9 mb-[18px] text-foreground">+ {COMPUTE_LABELS[computeAddOn]}+ </span><table className="table-auto"><thead><tr>diff --git a/apps/docs/content/_partials/social_provider_setup.mdx b/apps/docs/content/_partials/social_provider_setup.mdxindex 399d31eda57..aa87b887f57 100644--- a/apps/docs/content/_partials/social_provider_setup.mdx+++ b/apps/docs/content/_partials/social_provider_setup.mdx@@ -5,9 +5,7 @@ The next step requires a callback URL, which looks like this: `https://<project-- Click on [`Sign In / Providers`](/dashboard/project/_/auth/providers) under the Configuration section- Click on **{{ .provider }}** from the accordion list to expand and you'll find your **Callback URL**, you can click `Copy` to copy it to the clipboard-<Admonition type="note">--#### Local development+### Local developmentWhen testing OAuth locally with the Supabase CLI, ensure your OAuth provideris configured with the local Supabase Auth callback URL:@@ -19,5 +17,3 @@ If this callback URL is missing or misconfigured, OAuth sign-in may fail or notSee the [local development docs](/docs/guides/local-development) for more details.For testing OAuth locally with the Supabase CLI see the [local development docs](/docs/guides/local-development).--</Admonition>diff --git a/apps/docs/content/guides/auth/quickstarts/astrojs.mdx b/apps/docs/content/guides/auth/quickstarts/astrojs.mdxindex 1baa7521c43..c43992fc6ce 100644--- a/apps/docs/content/guides/auth/quickstarts/astrojs.mdx+++ b/apps/docs/content/guides/auth/quickstarts/astrojs.mdx@@ -5,6 +5,8 @@ breadcrumb: 'Auth Quickstarts'hideToc: true---+## Quickstart+<StepHikeCompact><StepHikeCompact.Step step={1}>diff --git a/apps/docs/content/guides/auth/quickstarts/nextjs.mdx b/apps/docs/content/guides/auth/quickstarts/nextjs.mdxindex 30912b80e7e..eb56a6c7710 100644--- a/apps/docs/content/guides/auth/quickstarts/nextjs.mdx+++ b/apps/docs/content/guides/auth/quickstarts/nextjs.mdx@@ -5,6 +5,8 @@ breadcrumb: 'Auth Quickstarts'hideToc: true---+## Quickstart+<StepHikeCompact><StepHikeCompact.Step step={1}>diff --git a/apps/docs/content/guides/auth/quickstarts/react-native.mdx b/apps/docs/content/guides/auth/quickstarts/react-native.mdxindex d8ed113a884..46c2c79c339 100644--- a/apps/docs/content/guides/auth/quickstarts/react-native.mdx+++ b/apps/docs/content/guides/auth/quickstarts/react-native.mdx@@ -5,6 +5,8 @@ breadcrumb: 'Auth Quickstarts'hideToc: true---+## Quickstart+<StepHikeCompact><StepHikeCompact.Step step={1}>diff --git a/apps/docs/content/guides/auth/quickstarts/react.mdx b/apps/docs/content/guides/auth/quickstarts/react.mdxindex 63cc239e117..f624e8d03ec 100644--- a/apps/docs/content/guides/auth/quickstarts/react.mdx+++ b/apps/docs/content/guides/auth/quickstarts/react.mdx@@ -5,6 +5,8 @@ breadcrumb: 'Auth Quickstarts'hideToc: true---+## Quickstart+<StepHikeCompact><StepHikeCompact.Step step={1}>diff --git a/apps/docs/content/guides/database/functions.mdx b/apps/docs/content/guides/database/functions.mdxindex e02dfed95a6..f7a35203620 100644--- a/apps/docs/content/guides/database/functions.mdx+++ b/apps/docs/content/guides/database/functions.mdx@@ -164,7 +164,7 @@ For example, if we had a database with some Star Wars data inside:><TabPanel id="data" label="Data">-<h4>Planets</h4>+### Planets```| id | name |@@ -174,7 +174,7 @@ For example, if we had a database with some Star Wars data inside:| 3 | Kashyyyk |```-<h4>People</h4>+### People```| id | name | planet_id |diff --git a/apps/docs/content/guides/integrations/vercel-marketplace.mdx b/apps/docs/content/guides/integrations/vercel-marketplace.mdxindex ac3c21bbf61..26c4be43088 100644--- a/apps/docs/content/guides/integrations/vercel-marketplace.mdx+++ b/apps/docs/content/guides/integrations/vercel-marketplace.mdx@@ -23,7 +23,7 @@ Vercel Marketplace is currently in Public Alpha. If you encounter any issues or### Via template<div className="bg-surface-100 py-4 px-5 border rounded-md not-prose">- <h5 className="text-foreground">Deploy a Next.js app with Supabase Vercel Storage now</h5>+ <h4 className="text-foreground">Deploy a Next.js app with Supabase Vercel Storage now</h4><p className="text-foreground-light mb-3">Uses the Next.js Supabase Starter Template</p><a href="https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fhello-world"><img src="https://vercel.com/button" alt="Deploy with Vercel" />diff --git a/packages/ui-patterns/src/SqlToRest/sql-to-rest.tsx b/packages/ui-patterns/src/SqlToRest/sql-to-rest.tsxindex 23b57101cf0..b41ba063678 100644--- a/packages/ui-patterns/src/SqlToRest/sql-to-rest.tsx+++ b/packages/ui-patterns/src/SqlToRest/sql-to-rest.tsx@@ -427,10 +427,12 @@ export default function SqlToRest({>{relevantAssumptions.length > 0 && (<div>- <h3 className="my-1 text-base text-inherit">Assumptions</h3>+ <span className="block my-1 text-base text-inherit font-heading font-semibold">+ Assumptions+ </span><ol className="my-0 text-foreground">{relevantAssumptions.map((assumption) => (- <li className="text-sm">+ <li key={assumption} className="text-sm"><Markdown>{assumption}</Markdown></li>))}@@ -440,7 +442,9 @@ export default function SqlToRest({{relevantFaqs.length > 0 && (<>- <h3 className="my-1 text-base text-inherit">FAQs</h3>+ <span className="block my-1 text-base text-inherit font-heading font-semibold">+ FAQs+ </span>{relevantFaqs.map((faq) => (<Collapsiblekey={faq.id}@@ -462,7 +466,7 @@ export default function SqlToRest({</button></CollapsibleTrigger><CollapsibleContent>- <div className="text-foreground flex flex-col justify-start items-center px-3 pb-4 text-sm">+ <div className="text-foreground flex flex-col justify-start items-start px-3 pb-4 text-sm"><Markdowncomponents={{code: (props: any) => <CodeBlock hideLineNumbers {...props} />,diff --git a/packages/ui/src/components/shadcn/ui/accordion.tsx b/packages/ui/src/components/shadcn/ui/accordion.tsxindex ee0f3c73b7a..0585a052ac5 100644--- a/packages/ui/src/components/shadcn/ui/accordion.tsx+++ b/packages/ui/src/components/shadcn/ui/accordion.tsx@@ -24,31 +24,33 @@ const AccordionTrigger = React.forwardRef<const computedTabIndex = getExplicitTabIndex(tabIndex, disabled)return (- <AccordionPrimitive.Header className="flex">- <AccordionPrimitive.Trigger- ref={ref}- className={cn(- 'cursor-pointer flex flex-1 gap-2 items-center justify-between py-4 text-left',- 'font-medium transition-all hover:underline',- '[&[data-state=open]>svg]:rotate-180',- className- )}- {...props}- disabled={disabled}- tabIndex={computedTabIndex}- >- {children}- {!hideIcon && (- <ChevronDown- aria-hidden="true"- className={cn(- 'h-4 w-4 shrink-0',- 'transition-transform duration-200',- 'motion-reduce:transition-none motion-reduce:duration-0'- )}- />- )}- </AccordionPrimitive.Trigger>+ <AccordionPrimitive.Header asChild>+ <div className="flex">+ <AccordionPrimitive.Trigger+ ref={ref}+ className={cn(+ 'cursor-pointer flex flex-1 gap-2 items-center justify-between py-4 text-left',+ 'font-medium transition-all hover:underline',+ '[&[data-state=open]>svg]:rotate-180',+ className+ )}+ {...props}+ disabled={disabled}+ tabIndex={computedTabIndex}+ >+ {children}+ {!hideIcon && (+ <ChevronDown+ aria-hidden="true"+ className={cn(+ 'h-4 w-4 shrink-0',+ 'transition-transform duration-200',+ 'motion-reduce:transition-none motion-reduce:duration-0'+ )}+ />+ )}+ </AccordionPrimitive.Trigger>+ </div></AccordionPrimitive.Header>)})