Skip to content

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

fix: add hasLightIcon field to ContentListings; revert getting-started-overview to GlassPanel (#47467)

Nik Richers963182f58e91
diff --git a/apps/docs/components/ContentListings/ContentListings.client.tsx b/apps/docs/components/ContentListings/ContentListings.client.tsx
index 3d36bc1ef50..f8b3d4ee310 100644
--- a/apps/docs/components/ContentListings/ContentListings.client.tsx
+++ b/apps/docs/components/ContentListings/ContentListings.client.tsx
@@ -78,7 +78,7 @@ function ContentListingsGroup({ group }: { group: ContentListingGroup }) {
<GlassPanel
title={item.title}
icon={item.icon}
- hasLightIcon={item.hasLightIcon ?? true}
+ hasLightIcon={item.hasLightIcon ?? Boolean(item.icon)}
badge={item.badge ? <Badge variant="success">{item.badge}</Badge> : undefined}
>
{item.description}
diff --git a/apps/docs/content/guides/getting-started.mdx b/apps/docs/content/guides/getting-started.mdx
index f0ff033351a..45a0a7892cc 100644
--- a/apps/docs/content/guides/getting-started.mdx
+++ b/apps/docs/content/guides/getting-started.mdx
@@ -5,7 +5,36 @@ description: 'Resources for getting started with Supabase.'
hideToc: true
---
-<ContentListings id="getting-started-overview" />
+<div className="flex flex-col gap-12 my-12">
+
+<div>
+
+<div className="grid grid-cols-12 gap-6 not-prose">
+ <Link href="/guides/ai-tools" className="col-span-12 md:col-span-4" passHref>
+ <GlassPanel
+ title="Build with AI tools"
+ hasLightIcon={true}
+ background={false}
+ showIconBg={true}
+ >
+ Develop with Supabase AI-first using plugins, MCP, and skills.
+ </GlassPanel>
+ </Link>
+ <Link href="/guides/getting-started/api-keys" className="col-span-12 md:col-span-4" passHref>
+ <GlassPanel title="API Keys" hasLightIcon={true} background={false} showIconBg={true}>
+ Learn about the different API keys in Supabase and how to use them.
+ </GlassPanel>
+ </Link>
+ <Link href="/guides/local-development" className="col-span-12 md:col-span-4" passHref>
+ <GlassPanel title="Local Development" hasLightIcon={true} background={false} showIconBg={true}>
+ Use the Supabase CLI to develop locally and collaborate between teams.
+ </GlassPanel>
+ </Link>
+</div>
+
+</div>
+
+</div>
### Use cases
diff --git a/apps/docs/data/content-listings/getting-started.data.ts b/apps/docs/data/content-listings/getting-started.data.ts
deleted file mode 100644
index 33d36e08e8b..00000000000
--- a/apps/docs/data/content-listings/getting-started.data.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import type { ContentListingGroup } from '~/lib/content-listings.schema'
-
-export const gettingStartedGetStarted: ContentListingGroup = {
- id: 'getting-started-overview',
- type: 'grid',
- items: [
- {
- title: 'Build with AI tools',
- href: '/guides/ai-tools',
- description: 'Develop with Supabase AI-first using plugins, MCP, and skills.',
- },
- {
- title: 'API Keys',
- href: '/guides/getting-started/api-keys',
- description: 'Learn about the different API keys in Supabase and how to use them.',
- },
- {
- title: 'Local Development',
- href: '/guides/local-development',
- description: 'Use the Supabase CLI to develop locally and collaborate between teams.',
- },
- ],
-}
diff --git a/apps/docs/data/content-listings/index.ts b/apps/docs/data/content-listings/index.ts
index dc94dece7e8..c0e242c02a5 100644
--- a/apps/docs/data/content-listings/index.ts
+++ b/apps/docs/data/content-listings/index.ts
@@ -10,7 +10,6 @@ import {
functionsExamplesWebhooksPayments,
functionsGetStarted,
} from './functions.data'
-import { gettingStartedGetStarted } from './getting-started.data'
import { realtimeExamples, realtimeGetStarted, realtimeResources } from './realtime.data'
import {
selfHostingCommunity,
@@ -33,7 +32,6 @@ const ALL_GROUPS: readonly ContentListingGroup[] = [
functionsExamplesAiMedia,
functionsExamplesMessaging,
functionsExamplesOperations,
- gettingStartedGetStarted,
realtimeGetStarted,
realtimeExamples,
realtimeResources,