Skip to content

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

More clean up for guides

Joshen Limb4d3fb94728c
diff --git a/apps/temp-docs/components/ButtonCard.tsx b/apps/temp-docs/components/ButtonCard.tsx
index c9af1e50dc9..c3cf3f5da8f 100644
--- a/apps/temp-docs/components/ButtonCard.tsx
+++ b/apps/temp-docs/components/ButtonCard.tsx
@@ -34,8 +34,8 @@ export default function ButtonCard({
) : (
icon
)}
- <h3 className="my-0 text-base truncate">{title}</h3>
- <p className="my-0 text-sm truncate">{description}</p>
+ <h3 className="my-0 text-base">{title}</h3>
+ <p className="my-0 text-sm">{description}</p>
</div>
)}
</a>
diff --git a/apps/temp-docs/components/Frameworks.tsx b/apps/temp-docs/components/Frameworks.tsx
index 8e012ba08ae..ee504ee01e6 100644
--- a/apps/temp-docs/components/Frameworks.tsx
+++ b/apps/temp-docs/components/Frameworks.tsx
@@ -37,8 +37,8 @@ const Frameworks = () => {
{
name: 'Next.js',
logo: {
- light: '/docs/img/libraries/nextjs-icon.svg',
- dark: '/docs/img/libraries/nextjs-icon.svg',
+ light: '/docs/img/libraries/nextjs-light-icon.svg',
+ dark: '/docs/img/libraries/nextjs-dark-icon.svg',
},
href: '/guides/with-nextjs',
},
diff --git a/apps/temp-docs/docs/guides/auth/auth-helpers/index.mdx b/apps/temp-docs/docs/guides/auth/auth-helpers.mdx
similarity index 63%
rename from apps/temp-docs/docs/guides/auth/auth-helpers/index.mdx
rename to apps/temp-docs/docs/guides/auth/auth-helpers.mdx
index ea3bb8222ee..11592214024 100644
--- a/apps/temp-docs/docs/guides/auth/auth-helpers/index.mdx
+++ b/apps/temp-docs/docs/guides/auth/auth-helpers.mdx
@@ -5,56 +5,49 @@ description: A collection of framework-specific Auth utilities for working with
sidebar_label: Overview
---
-import useBaseUrl from '@docusaurus/useBaseUrl'
import ButtonCard from '@site/src/components/ButtonCard'
A collection of framework-specific Auth utilities for working with Supabase.
<div class="container" style={{ padding: 0 }}>
- <div class="row is-multiline">
+ <div class="grid grid-cols-12 gap-4">
{/* Auth UI */}
- <div class="col col--4">
+ <div class="col-span-6">
<ButtonCard
class="card"
- to={useBaseUrl('/guides/auth/auth-helpers/auth-ui')}
+ to={'/guides/auth/auth-helpers/auth-ui'}
title={'Auth UI'}
description={'A pre-built React component for authenticating users.'}
style={{ height: '100%' }}
/>
</div>
{/* Next.js */}
- <div class="col col--4">
+ <div class="col-span-6">
<ButtonCard
class="card"
- to={useBaseUrl('/guides/auth/auth-helpers/nextjs')}
+ to={'/guides/auth/auth-helpers/nextjs'}
title={'Next.js'}
- description={
- 'Helpers for authenticating users in Next.js applications.'
- }
+ description={'Helpers for authenticating users in Next.js applications.'}
style={{ height: '100%' }}
/>
</div>
{/* SvelteKit */}
- <div class="col col--4">
+ <div class="col-span-6">
<ButtonCard
class="card"
- to={useBaseUrl('/guides/auth/auth-helpers/sveltekit')}
+ to={'/guides/auth/auth-helpers/sveltekit'}
title={'SvelteKit'}
- description={
- 'Helpers for authenticating users in SvelteKit applications.'
- }
+ description={'Helpers for authenticating users in SvelteKit applications.'}
style={{ height: '100%' }}
/>
</div>
{/* Remix */}
- <div class="col col--4">
+ <div class="col-span-6">
<ButtonCard
class="card"
- to={useBaseUrl('/guides/auth/auth-helpers/remix')}
+ to={'/guides/auth/auth-helpers/remix'}
title={'Remix'}
- description={
- 'Helpers for authenticating users in Remix applications.'
- }
+ description={'Helpers for authenticating users in Remix applications.'}
style={{ height: '100%' }}
/>
</div>
diff --git a/apps/temp-docs/docs/reference.mdx b/apps/temp-docs/docs/reference.mdx
index e48873dbf8a..c0654d225ab 100644
--- a/apps/temp-docs/docs/reference.mdx
+++ b/apps/temp-docs/docs/reference.mdx
@@ -5,10 +5,6 @@ sidebar_label: Reference Documentation
hide_table_of_contents: true
---
-import ButtonCard from '../components/ButtonCard'
-
-# Reference Documentation
-
Reference documentation for the official Supabase client libraries, APIs, and tools.
<div class="container p-0">
@@ -30,17 +26,17 @@ Reference documentation for the official Supabase client libraries, APIs, and to
/>
</div>
<div class="w-1/2">
- <ButtonCard icon="/docs/img/libraries/cli-icon.svg"
+ <ButtonCard icon="/docs/img/icons/cli-icon.svg"
to="/reference/cli"
title="Supabase CLI"
description="Tools for developing your Supabase projects locally."
/>
</div>
<div class="w-1/2">
- <ButtonCard icon="/docs/img/libraries/api-icon.svg"
- to="/reference/api"
- title="Supabase API"
- description="Manage your Supabase organizations and projects." />
+ <ButtonCard icon="/docs/img/icons/api-icon.svg"
+ to="/reference/api"
+ title="Supabase API"
+ description="Manage your Supabase organizations and projects." />
</div>
</div>
diff --git a/apps/temp-docs/layouts/Default.tsx b/apps/temp-docs/layouts/Default.tsx
index c1348c1da17..39ad3364d5b 100644
--- a/apps/temp-docs/layouts/Default.tsx
+++ b/apps/temp-docs/layouts/Default.tsx
@@ -50,7 +50,7 @@ const Layout: FC<Props> = ({ meta, children, toc, menuItems, currentPage }) => {
<div className="docs-width grid grid-cols-12 gap-4 justify-between p-4 pb-8 w-full">
<div
className={`${
- meta?.hide_table_of_contents ? 'col-span-12' : 'col-span-12 xl:col-span-9'
+ meta?.hide_table_of_contents ? 'col-span-10' : 'col-span-12 xl:col-span-9'
} py-4 px-8`}
>
<article className="prose dark:prose-dark dark:bg-scale-200 width-full mt-8">