Skip to content

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

fix(docs): remove redundant icons (#47002)

Danny White6a6b7c90858b
diff --git a/apps/docs/app/page.tsx b/apps/docs/app/page.tsx
index 186f3548a79..31eba97aef4 100644
--- a/apps/docs/app/page.tsx
+++ b/apps/docs/app/page.tsx
@@ -1,11 +1,10 @@
import { isFeatureEnabled } from 'common'
import { type Metadata, type ResolvingMetadata } from 'next'
import Link from 'next/link'
-import { cn, IconBackground } from 'ui'
+import { cn } from 'ui'
import { IconPanel } from 'ui-patterns/IconPanel'
import { TextLink } from 'ui-patterns/TextLink'
-import MenuIconPicker from '@/components/Navigation/NavigationMenu/MenuIconPicker'
import { MIGRATION_PAGES } from '@/components/Navigation/NavigationMenu/NavigationMenu.constants'
import { GlassPanelWithIconPicker } from '@/features/ui/GlassPanelWithIconPicker'
import { IconPanelWithIconPicker } from '@/features/ui/IconPanelWithIconPicker'
@@ -324,10 +323,10 @@ const HomePage = () => (
)}
<div className="flex flex-col gap-6 py-12 border-b">
- <div className="col-span-4 flex flex-col gap-1 [&_h2]:m-0 [&_h3]:m-0">
- <h3 id="additional-resources" className="group scroll-mt-24">
+ <div className="col-span-4 flex flex-col gap-1">
+ <h2 id="additional-resources" className="group scroll-mt-24 m-0">
Additional resources
- </h3>
+ </h2>
</div>
<ul className="grid grid-cols-12 gap-6 not-prose">
@@ -351,17 +350,14 @@ const HomePage = () => (
</div>
{isFeatureEnabled('docs:full_getting_started') && (
<div className="flex flex-col lg:grid grid-cols-12 gap-6 py-12">
- <div className="col-span-4 flex flex-col gap-1 [&_h2]:m-0 [&_h3]:m-0">
+ <div className="col-span-4 flex flex-col gap-1">
<div className="md:max-w-xs 2xl:max-w-none">
<div className="flex items-center gap-3 mb-3 text-brand-600">
- <IconBackground>
- <MenuIconPicker icon="self-hosting" width={18} height={18} />
- </IconBackground>
- <h3 id="self-hosting" className="group scroll-mt-24">
+ <h2 id="self-hosting" className="group scroll-mt-24 m-0">
Self-Hosting
- </h3>
+ </h2>
</div>
- <p className="text-foreground-light text-sm">
+ <p className="text-foreground-light text-sm m-0 p-0">
Get started with self-hosting Supabase.
</p>
<TextLink
diff --git a/apps/docs/components/HomePageCover.tsx b/apps/docs/components/HomePageCover.tsx
index 706ce54ca8d..f7973dbe089 100644
--- a/apps/docs/components/HomePageCover.tsx
+++ b/apps/docs/components/HomePageCover.tsx
@@ -2,10 +2,10 @@
// End of third-party imports
import { isFeatureEnabled, useBreakpoint } from 'common'
-import { ChevronRight, Play, Sparkles } from 'lucide-react'
+import { ChevronRight, Sparkles } from 'lucide-react'
import { useTheme } from 'next-themes'
import Link from 'next/link'
-import { cn, IconBackground } from 'ui'
+import { cn } from 'ui'
import { IconPanel } from 'ui-patterns/IconPanel'
import { getCustomContent } from '../lib/custom-content/getCustomContent'
@@ -127,15 +127,12 @@ const HomePageCover = (props) => {
>
<div className="col-span-full flex flex-col md:flex-row xl:flex-col justify-between gap-3">
<div className="md:max-w-xs shrink w-fit xl:max-w-none">
- <div className="flex items-center gap-3 mb-3">
- <IconBackground>
- <Play aria-hidden="true" className="text-brand-600 w-4" strokeWidth={2} />
- </IconBackground>
- <h2 className="text-2xl m-0 text-foreground">Getting Started</h2>
+ <div className="flex flex-col gap-1 mb-3">
+ <h2 className="text-2xl text-foreground">Getting Started</h2>
+ <p className="text-foreground-light text-sm">
+ Set up and connect a database in just a few minutes.
+ </p>
</div>
- <p className="text-foreground-light text-sm">
- Set up and connect a database in just a few minutes.
- </p>
</div>
<div className="shrink-0">
<div className="flex flex-wrap md:grid md:grid-cols-5 gap-2 sm:gap-3">