Skip to content

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

Fix card layouts

dannykngc6087a1d97d1
diff --git a/apps/reference/docs/about.mdx b/apps/reference/docs/about.mdx
index 6574d49f5b5..59e017a087b 100755
--- a/apps/reference/docs/about.mdx
+++ b/apps/reference/docs/about.mdx
@@ -77,12 +77,7 @@ You can use it completely, or just the features you need.
title={'Database'}
description={'A dedicated, scalable Postgres database.'}
style={{ height: '100%' }}
- >
- <div class="card__body">
- <h4>Database</h4>
- <p>A dedicated, scalable Postgres database.</p>
- </div>
- </ButtonCard>
+ />
</div>
{/* API */}
<div class="col col--4">
@@ -92,12 +87,7 @@ You can use it completely, or just the features you need.
title={'Auto-generated APIs'}
description={'Instantly generate APIs for your database.'}
style={{ height: '100%' }}
- >
- <div class="card__body">
- <h4>Auto-generated APIs</h4>
- <p>Instantly generate APIs for your database.</p>
- </div>
- </ButtonCard>
+ />
</div>
{/* Functions */}
<div class="col col--4">
@@ -107,12 +97,7 @@ You can use it completely, or just the features you need.
title={'Edge Functions'}
description={'Server-side functions, distributed globally.'}
style={{ height: '100%' }}
- >
- <div class="card__body">
- <h4>Edge Functions</h4>
- <p>Server-side functions, distributed globally.</p>
- </div>
- </ButtonCard>
+ />
</div>
{/* Auth */}
<div class="col col--4">
@@ -122,12 +107,7 @@ You can use it completely, or just the features you need.
title={'Auth'}
description={'User management with Row Level Security.'}
style={{ height: '100%' }}
- >
- <div class="card__body">
- <h4>Auth</h4>
- <p>User management with Row Level Security.</p>
- </div>
- </ButtonCard>
+ />
</div>
{/* Storage */}
<div class="col col--4">
@@ -137,12 +117,7 @@ You can use it completely, or just the features you need.
title={'File Storage'}
description={'Store, organize, and serve large files.'}
style={{ height: '100%' }}
- >
- <div class="card__body">
- <h4>File Storage</h4>
- <p>Store, organize, and serve large files.</p>
- </div>
- </ButtonCard>
+ />
</div>
{/* Observability */}
<div class="col col--4">
@@ -152,12 +127,7 @@ You can use it completely, or just the features you need.
title={'Observability'}
description={'Monitor and debug your infrastucture.'}
style={{ height: '100%' }}
- >
- <div class="card__body">
- <h4>Observability</h4>
- <p>Monitor and debug your infrastucture.</p>
- </div>
- </ButtonCard>
+ />
</div>
{/* */}
</div>
diff --git a/apps/reference/docs/guides/functions.mdx b/apps/reference/docs/guides/functions.mdx
index 368a96750c6..09e47bb467c 100644
--- a/apps/reference/docs/guides/functions.mdx
+++ b/apps/reference/docs/guides/functions.mdx
@@ -6,6 +6,7 @@ description: 'Globally distributed Typescript functions.'
import Tabs from '@theme/Tabs'
import TabItem from '@theme/TabItem'
+import ButtonCard from '@site/src/components/ButtonCard'
const examples = [
{
name: 'With supabase-js',
@@ -240,14 +241,15 @@ You can find a list of useful [Edge Function Examples](https://github.com/supaba
<div class="container" style={{ padding: 0 }}>
<div class="row is-multiline">
{examples.map((x) => (
- <div class="col col--6">
- <a class="card" to={x.href} style={{ height: '100%' }}>
- <div class="card__body">
- <h4>{x.name}</h4>
- <p>{x.description}</p>
- </div>
- </a>
- </div>
+ <div class="col col--6">
+ <ButtonCard
+ class="card"
+ to={x.href}
+ title={x.name}
+ description={x.description}
+ style={{ height: '100%' }}
+ />
+ </div>
))}
</div>
</div>