Skip to content

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

Update Resources landing page

dannyknge5a41578ae3a
diff --git a/apps/docs/pages/guides/resources.mdx b/apps/docs/pages/guides/resources.mdx
index 0b2d856b541..5f05bf7a42a 100644
--- a/apps/docs/pages/guides/resources.mdx
+++ b/apps/docs/pages/guides/resources.mdx
@@ -3,10 +3,8 @@ import Link from 'next/link'
import { GlassPanel, IconPanel, Button, IconChevronRight } from 'ui'
export const meta = {
- id: 'resources',
title: 'Resources',
description: 'Resources for getting started building with Supabase.',
- sidebar_label: 'Overview',
}
<div className="flex flex-col gap-12 my-12">
@@ -64,18 +62,46 @@ export const meta = {
</div>
+<div>
+ <div className="max-w-xl mb-6">
+
+### Postgres Resources
+
+ </div>
+
+ <div className="grid grid-cols-12 gap-6 not-prose">
+ {postgres.map((resource) => {
+ return (
+ <Link
+ href={`${resource.href}`}
+ key={resource.title}
+ passHref
+ >
+ <a className={'col-span-12 md:col-span-4'}>
+ <GlassPanel {...resource} background={false} showIconBg={true}>
+ {resource.description}
+ </GlassPanel>
+ </a>
+ </Link>
+ )
+
+})}
+
+ </div>
+
+</div>
+
{/* end of container */}
</div>
export const resources = [
- // removing until the examples page is reworked
- // {
- // title: 'Examples',
- // hasLightIcon: true,
- // href: '/guides/resources/examples',
- // description: 'Official GitHub examples, curated content from the community, and more.',
- // },
+ {
+ title: 'Examples',
+ hasLightIcon: true,
+ href: '/guides/resources/examples',
+ description: 'Official GitHub examples, curated content from the community, and more.',
+ },
{
title: 'Glossary',
hasLightIcon: true,
@@ -111,6 +137,27 @@ export const migrationGuides = [
},
]
+export const postgres = [
+ {
+ title: 'Drop all tables in schema',
+ hasLightIcon: true,
+ href: '/guides/resources/postgres/dropping-all-tables-in-schema',
+ description: 'Delete all tables in a given schema.',
+ },
+ {
+ title: 'Select first row per group',
+ hasLightIcon: true,
+ href: '/guides/resources/glossary',
+ description: 'Retreive the first row in each distinct group.',
+ },
+ {
+ title: 'Print PostgreSQL version',
+ hasLightIcon: true,
+ href: '/guides/resources/glossary',
+ description: 'Find out which version of Postgres you are running.',
+ },
+]
+
export const Page = ({ children }) => <Layout meta={meta} children={children} />
export default Page