mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
refactor(console): rename Go Web
to Go
in SDK docs (#3063)
This commit is contained in:
parent
f3fb0ec2a4
commit
f804e06252
5 changed files with 5 additions and 5 deletions
|
@ -31,7 +31,7 @@ const Guides: Record<string, LazyExoticComponent<(props: MDXProps) => JSX.Elemen
|
|||
vanilla: lazy(async () => import('@/assets/docs/tutorial/integrate-sdk/vanilla.mdx')),
|
||||
express: lazy(async () => import('@/assets/docs/tutorial/integrate-sdk/express.mdx')),
|
||||
next: lazy(async () => import('@/assets/docs/tutorial/integrate-sdk/next.mdx')),
|
||||
'go web': lazy(async () => import('@/assets/docs/tutorial/integrate-sdk/go-web.mdx')),
|
||||
go: lazy(async () => import('@/assets/docs/tutorial/integrate-sdk/go.mdx')),
|
||||
'ios_zh-cn': lazy(async () => import('@/assets/docs/tutorial/integrate-sdk/ios_zh-cn.mdx')),
|
||||
'android_zh-cn': lazy(
|
||||
async () => import('@/assets/docs/tutorial/integrate-sdk/android_zh-cn.mdx')
|
||||
|
@ -45,7 +45,7 @@ const Guides: Record<string, LazyExoticComponent<(props: MDXProps) => JSX.Elemen
|
|||
async () => import('@/assets/docs/tutorial/integrate-sdk/express_zh-cn.mdx')
|
||||
),
|
||||
'next_zh-cn': lazy(async () => import('@/assets/docs/tutorial/integrate-sdk/next_zh-cn.mdx')),
|
||||
'go web_zh-cn': lazy(async () => import('@/assets/docs/tutorial/integrate-sdk/go-web_zh-cn.mdx')),
|
||||
'go_zh-cn': lazy(async () => import('@/assets/docs/tutorial/integrate-sdk/go_zh-cn.mdx')),
|
||||
};
|
||||
|
||||
const Guide = ({ app, isCompact, onClose }: Props) => {
|
||||
|
|
|
@ -37,7 +37,7 @@ const getSampleProjectUrl = (sdk: SupportedSdk) => {
|
|||
return `${githubUrlPrefix}/js/tree/master/packages/next-sample`;
|
||||
case SupportedSdk.Express:
|
||||
return `${githubUrlPrefix}/js/tree/master/packages/express-sample`;
|
||||
case SupportedSdk.GoWeb:
|
||||
case SupportedSdk.Go:
|
||||
return `${githubUrlPrefix}/go/tree/master/gin-sample`;
|
||||
default:
|
||||
return '';
|
||||
|
|
|
@ -15,12 +15,12 @@ export enum SupportedSdk {
|
|||
Vanilla = 'Vanilla',
|
||||
Express = 'Express',
|
||||
Next = 'Next',
|
||||
GoWeb = 'Go Web',
|
||||
Go = 'Go',
|
||||
}
|
||||
|
||||
export const applicationTypeAndSdkTypeMappings = Object.freeze({
|
||||
[ApplicationType.Native]: [SupportedSdk.iOS, SupportedSdk.Android],
|
||||
[ApplicationType.SPA]: [SupportedSdk.React, SupportedSdk.Vue, SupportedSdk.Vanilla],
|
||||
[ApplicationType.Traditional]: [SupportedSdk.Next, SupportedSdk.Express, SupportedSdk.GoWeb],
|
||||
[ApplicationType.Traditional]: [SupportedSdk.Next, SupportedSdk.Express, SupportedSdk.Go],
|
||||
[ApplicationType.MachineToMachine]: [],
|
||||
} as const);
|
||||
|
|
Loading…
Reference in a new issue