docs: Improve README for local development and standardize tab usage (#11865)

## Problem statement

- `<Tabs>` were not rendered in docs
- Missing steps in README for local dev

## How it was solved

- Enhance the README to better describe local development setup and
clean up formatting.
- Standardize the use of tabs across various components for consistency.

## Additional info

To not cause merge conflicts with
https://github.com/zitadel/zitadel/pull/11729 changes in
`/self-hosting/manage/configure/configure.mdx` were skipped
This commit is contained in:
Silvan
2026-03-23 14:39:07 +00:00
committed by GitHub
parent 70adaff793
commit 4bc899d052
9 changed files with 110 additions and 111 deletions
@@ -10,20 +10,16 @@ export default function AuthMethods(props) {
<div>
<Tabs
groupId="auth-type"
default="pkce"
values={[
{ label: "PKCE", value: "pkce" },
{ label: "Basic Auth", value: "basic" },
{ label: "JWT with Private Key", value: "jwtpk" },
]}
defaultIndex={0}
items={["PKCE","Basic Auth","JWT with Private Key"]}
>
<Tab value="pkce">
<Tab value="PKCE">
<PKCE components={props.components} />
</Tab>
<Tab value="basic">
<Tab value="Basic Auth">
<Basic components={props.components} />
</Tab>
<Tab value="jwtpk">
<Tab value="JWT with Private Key">
<JWTPrivateKey components={props.components} />
</Tab>
</Tabs>
@@ -31,26 +27,23 @@ export default function AuthMethods(props) {
) : props.selected == "native" ? (
<Tabs
groupId="auth-type"
default="pkce"
values={[{ label: "PKCE", value: "pkce" }]}
defaultIndex={0}
items={["PKCE"]}
>
<Tab value="pkce">
<Tab value="PKCE">
<PKCE components={props.components} Native />
</Tab>
</Tabs>
) : props.selected == "spa" ? (
<Tabs
groupId="auth-type"
default="pkce"
values={[
{ label: "PKCE", value: "pkce" },
{ label: "Implicit", value: "implicit" },
]}
defaultIndex={0}
items={["PKCE","Implicit"]}
>
<Tab value="pkce">
<Tab value="PKCE">
<PKCE components={props.components} />
</Tab>
<Tab value="implicit">
<Tab value="Implicit">
<Implicit components={props.components} />
</Tab>
</Tabs>