Skip to content

Commit

Permalink
chore(console): update guide orders (#6047)
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-sun committed Jun 19, 2024
1 parent 82e702f commit d49a5f4
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
/packages/console @wangsijie @charIeszhao @gao-sun
/packages/ui @simeng-li @charIeszhao
/.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
14 changes: 7 additions & 7 deletions packages/console/src/assets/docs/guides/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,6 @@ export const guides: Readonly<Guide[]> = Object.freeze([
Component: lazy(async () => import('./web-java-spring-boot/README.mdx')),
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,
id: 'spa-vue',
Expand Down Expand Up @@ -252,6 +245,13 @@ export const guides: Readonly<Guide[]> = Object.freeze([
Component: lazy(async () => import('./web-outline/README.mdx')),
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,
id: 'api-express',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
repo: 'swift',
path: 'Demos/SwiftUI%20Demo',
},
isFeatured: true,
});

export default metadata;
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"order": 1.5
"order": 999
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
name: 'ChatGPT plugin',
description: 'Use Logto as an OAuth identity provider for ChatGPT plugins.',
target: ApplicationType.Traditional,
isFeatured: true,
});

export default metadata;
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@ import { ApplicationType } from '@logto/schemas';
import { type GuideMetadata } from '../types';

const metadata: Readonly<GuideMetadata> = Object.freeze({
name: 'Java Spring Boot Web',
name: 'Java Spring Boot web',
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.',
target: ApplicationType.Traditional,
sample: {
repo: 'spring-boot-sample',
path: '',
},
isFeatured: true,
});

export default metadata;
1 change: 1 addition & 0 deletions packages/console/src/assets/docs/guides/web-ruby/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
description:
'Ruby is a dynamic, open-source programming language with a focus on simplicity and productivity.',
target: ApplicationType.Traditional,
isFeatured: true,
});

export default metadata;

0 comments on commit d49a5f4

Please sign in to comment.