Adding home docs
This commit is contained in:
@@ -15,6 +15,11 @@ export default function Navbar({}) {
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
<li className={category == '-' ? 'is-active' : ''}>
|
||||
<Link href={`/docs/[category]/[slug]`} as={`/docs/-/about`}>
|
||||
<a className="">Home</a>
|
||||
</Link>
|
||||
</li>
|
||||
<li className={category == 'packaged' ? 'is-active' : ''}>
|
||||
<Link href={`/docs/[category]/[slug]`} as={`/docs/packaged/getting-started`}>
|
||||
<a className="">Packaged</a>
|
||||
|
||||
19
packages/web/content/docs/-/about.mdx
Normal file
19
packages/web/content/docs/-/about.mdx
Normal file
@@ -0,0 +1,19 @@
|
||||
export const metadata = {
|
||||
title: 'Supabase',
|
||||
description: 'Supabase Docs',
|
||||
sidebarLabel: 'About'
|
||||
}
|
||||
|
||||
|
||||
|
||||
## Docs
|
||||
|
||||
- Key concepts
|
||||
- FAQs
|
||||
|
||||
|
||||
## In Production
|
||||
|
||||
Here are some companies that use Supabase in production.
|
||||
|
||||
- [Nimbus for Work](https://nimbusforwork.com)
|
||||
@@ -4,7 +4,8 @@ export const metadata = {
|
||||
}
|
||||
|
||||
|
||||
# Hello world
|
||||
## Motivation
|
||||
|
||||
|
||||
FOo bAr
|
||||
Relational databases are great but the set up can be cumbersome for quick prototyping and small products.
|
||||
Additionally, even a small Postgres database can cost you $5/month.
|
||||
We want to provide developers with the fastest and cheapest route to market using PostgreSQL.
|
||||
@@ -5,6 +5,8 @@ export const metadata = {
|
||||
}
|
||||
|
||||
|
||||
## Introduction
|
||||
Some overview.
|
||||
|
||||
Some overview.
|
||||
## Motivation
|
||||
|
||||
Some reasons.
|
||||
@@ -14,6 +14,7 @@ const importReducer = ctx => {
|
||||
|
||||
// Import all docs
|
||||
var Docs = []
|
||||
Docs['-'] = importReducer(require.context('../../../content/docs/-', true, /.mdx$/))
|
||||
Docs['packaged'] = importReducer(require.context('../../../content/docs/packaged', true, /.mdx$/))
|
||||
Docs['admin-api'] = importReducer(require.context('../../../content/docs/admin-api', true, /.mdx$/))
|
||||
Docs['realtime'] = importReducer(require.context('../../../content/docs/realtime', true, /.mdx$/))
|
||||
@@ -23,6 +24,9 @@ Docs['baseless'] = importReducer(require.context('../../../content/docs/baseless
|
||||
|
||||
// Set up all sidebars
|
||||
var Sidebars = []
|
||||
Sidebars['-'] = {
|
||||
introduction: ['about'],
|
||||
}
|
||||
Sidebars['packaged'] = {
|
||||
introduction: ['getting-started'],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user