0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore(console): update guide orders (#6047)

This commit is contained in:
Gao Sun 2024-06-19 10:17:30 +08:00 committed by GitHub
parent 82e702fbde
commit d49a5f4563
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 14 additions and 11 deletions

3
.github/CODEOWNERS vendored
View file

@ -3,3 +3,6 @@
/packages/console @wangsijie @charIeszhao @gao-sun /packages/console @wangsijie @charIeszhao @gao-sun
/packages/ui @simeng-li @charIeszhao /packages/ui @simeng-li @charIeszhao
/.changeset @gao-sun /.changeset @gao-sun
# The file below should be generated by the script, just in case someone accidentally edits it
/packages/console/src/assets/docs/guides/index.ts @gao-sun

View file

@ -117,13 +117,6 @@ export const guides: Readonly<Guide[]> = Object.freeze([
Component: lazy(async () => import('./web-java-spring-boot/README.mdx')), Component: lazy(async () => import('./web-java-spring-boot/README.mdx')),
metadata: webJavaSpringBoot, metadata: webJavaSpringBoot,
}, },
{
order: 1.5,
id: 'web-gpt-plugin',
Logo: lazy(async () => import('./web-gpt-plugin/logo.svg')),
Component: lazy(async () => import('./web-gpt-plugin/README.mdx')),
metadata: webGptPlugin,
},
{ {
order: 1.6, order: 1.6,
id: 'spa-vue', id: 'spa-vue',
@ -252,6 +245,13 @@ export const guides: Readonly<Guide[]> = Object.freeze([
Component: lazy(async () => import('./web-outline/README.mdx')), Component: lazy(async () => import('./web-outline/README.mdx')),
metadata: webOutline, metadata: webOutline,
}, },
{
order: 999,
id: 'web-gpt-plugin',
Logo: lazy(async () => import('./web-gpt-plugin/logo.svg')),
Component: lazy(async () => import('./web-gpt-plugin/README.mdx')),
metadata: webGptPlugin,
},
{ {
order: Number.POSITIVE_INFINITY, order: Number.POSITIVE_INFINITY,
id: 'api-express', id: 'api-express',

View file

@ -10,7 +10,6 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
repo: 'swift', repo: 'swift',
path: 'Demos/SwiftUI%20Demo', path: 'Demos/SwiftUI%20Demo',
}, },
isFeatured: true,
}); });
export default metadata; export default metadata;

View file

@ -1,3 +1,3 @@
{ {
"order": 1.5 "order": 999
} }

View file

@ -6,7 +6,6 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
name: 'ChatGPT plugin', name: 'ChatGPT plugin',
description: 'Use Logto as an OAuth identity provider for ChatGPT plugins.', description: 'Use Logto as an OAuth identity provider for ChatGPT plugins.',
target: ApplicationType.Traditional, target: ApplicationType.Traditional,
isFeatured: true,
}); });
export default metadata; export default metadata;

View file

@ -3,7 +3,7 @@ import { ApplicationType } from '@logto/schemas';
import { type GuideMetadata } from '../types'; import { type GuideMetadata } from '../types';
const metadata: Readonly<GuideMetadata> = Object.freeze({ const metadata: Readonly<GuideMetadata> = Object.freeze({
name: 'Java Spring Boot Web', name: 'Java Spring Boot web',
description: description:
'Spring Boot is a web framework for Java that enables developers to build secure, fast, and scalable server applications with the Java programming language.', 'Spring Boot is a web framework for Java that enables developers to build secure, fast, and scalable server applications with the Java programming language.',
target: ApplicationType.Traditional, target: ApplicationType.Traditional,
@ -11,6 +11,7 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
repo: 'spring-boot-sample', repo: 'spring-boot-sample',
path: '', path: '',
}, },
isFeatured: true,
}); });
export default metadata; export default metadata;

View file

@ -7,6 +7,7 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
description: description:
'Ruby is a dynamic, open-source programming language with a focus on simplicity and productivity.', 'Ruby is a dynamic, open-source programming language with a focus on simplicity and productivity.',
target: ApplicationType.Traditional, target: ApplicationType.Traditional,
isFeatured: true,
}); });
export default metadata; export default metadata;