Skip to content

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

Update tabs for cli

Joshen Lim19cf660f71d5
diff --git a/apps/temp-docs/docs/guides/cli/local-development.mdx b/apps/temp-docs/docs/guides/cli/local-development.mdx
index a4d7d7fc38e..5e2c11119e4 100644
--- a/apps/temp-docs/docs/guides/cli/local-development.mdx
+++ b/apps/temp-docs/docs/guides/cli/local-development.mdx
@@ -61,12 +61,12 @@ You can use the [stop](/reference/cli/usage#supabase-stop) command at any time t
You can access services directly with any Postgres client or through the API Gateway ([Kong](https://github.com/Kong/kong)).
<Tabs
- defaultValue="postgres"
- values={[
- {label: 'Postgres', value: 'postgres'},
- {label: 'API Gateway', value: 'kong'},
- ]}>
-<TabItem value="postgres">
+ scrollable
+ size="small"
+ type="underlined"
+ defaultActiveId="postgres"
+>
+<TabPanel id="postgres" label="Postgres">
```sh
# Default URL:
@@ -82,8 +82,8 @@ For example:
psql 'postgresql://postgres:postgres@localhost:54322/postgres'
```
-</TabItem>
-<TabItem value="kong">
+</TabPanel>
+<TabPanel id="kong" label="API Gateway">
```sh
# Default URL:
@@ -104,7 +104,7 @@ http://localhost:54321/storage/v1/ # Storage
http://localhost:54321/auth/v1/ # Auth (GoTrue)
```
-</TabItem>
+</TabPanel>
</Tabs>
:::note
diff --git a/apps/temp-docs/docs/guides/cli/managing-environments.mdx b/apps/temp-docs/docs/guides/cli/managing-environments.mdx
index b79386d5311..31d5a01c280 100644
--- a/apps/temp-docs/docs/guides/cli/managing-environments.mdx
+++ b/apps/temp-docs/docs/guides/cli/managing-environments.mdx
@@ -189,13 +189,12 @@ We recommend adding these as [encrypted secrets](https://docs.github.com/en/acti
Create the following files inside the `.github/workflows` directory:
<Tabs
- defaultValue="CI"
- values={[
- {label: 'ci.yaml', value: 'CI'},
- {label: 'staging.yaml', value: 'STAGING'},
- {label: 'production.yaml', value: 'PRODUCTION'},
- ]}>
-<TabItem value="CI">
+ scrollable
+ size="small"
+ type="underlined"
+ defaultActiveId="ci"
+>
+<TabPanel id="ci" label="ci.yaml">
```yaml title=".github/workflows/ci.yml"
name: CI
@@ -227,8 +226,8 @@ jobs:
fi
```
-</TabItem>
-<TabItem value="STAGING">
+</TabPanel>
+<TabPanel id="staging" label="staging.yaml">
```yaml title=".github/workflows/staging.yml"
name: Deploy Migrations to Staging
@@ -260,8 +259,8 @@ jobs:
supabase db push
```
-</TabItem>
-<TabItem value="PRODUCTION">
+</TabPanel>
+<TabPanel id="production" label="production.yaml">
```yaml title=".github/workflows/production.yml"
name: Deploy Migrations to Production
@@ -293,7 +292,7 @@ jobs:
supabase db push
```
-</TabItem>
+</TabPanel>
</Tabs>
The full example code is available in the [demo repository](https://github.com/supabase/supabase-action-example).