0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

refactor(console): update further readings in sdk guides

This commit is contained in:
Charles Zhao 2024-07-02 19:47:37 +08:00
parent 8b63652c8e
commit a915083b83
No known key found for this signature in database
GPG key ID: 4858774754C92DF2
19 changed files with 192 additions and 0 deletions

View file

@ -11,6 +11,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: 'android-sample-kotlin', path: 'android-sample-kotlin',
}, },
fullGuide: 'android', fullGuide: 'android',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/android/#get-user-information'),
},
{
title: 'API resources and organizations',
url: new URL('https://docs.logto.io/quick-starts/android/#api-resources-and-organizations'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -11,6 +11,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: 'packages/rn-sample', path: 'packages/rn-sample',
}, },
fullGuide: 'expo', fullGuide: 'expo',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/expo/#get-user-information'),
},
{
title: 'API resources and organizations',
url: new URL('https://docs.logto.io/quick-starts/expo/#api-resources-and-organizations'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -11,6 +11,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: 'Demos/SwiftUI%20Demo', path: 'Demos/SwiftUI%20Demo',
}, },
fullGuide: 'swift', fullGuide: 'swift',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/swift/#get-user-information'),
},
{
title: 'API resources',
url: new URL('https://docs.logto.io/quick-starts/swift/#api-resources'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -11,6 +11,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: 'packages/angular-sample', path: 'packages/angular-sample',
}, },
fullGuide: 'angular', fullGuide: 'angular',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/angular/#get-user-information'),
},
{
title: 'API resources',
url: new URL('https://docs.logto.io/quick-starts/angular/#api-resources'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -12,6 +12,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
}, },
isFeatured: true, isFeatured: true,
fullGuide: 'react', fullGuide: 'react',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/react/#get-user-information'),
},
{
title: 'API resources',
url: new URL('https://docs.logto.io/quick-starts/react/#api-resources'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -11,6 +11,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: 'packages/browser-sample', path: 'packages/browser-sample',
}, },
fullGuide: 'vanilla-js', fullGuide: 'vanilla-js',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/vanilla-js/#get-user-information'),
},
{
title: 'API resources',
url: new URL('https://docs.logto.io/quick-starts/vanilla-js/#api-resources'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -13,6 +13,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
}, },
isFeatured: true, isFeatured: true,
fullGuide: 'vue', fullGuide: 'vue',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/vue/#get-user-information'),
},
{
title: 'API resources',
url: new URL('https://docs.logto.io/quick-starts/vue/#api-resources'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -11,6 +11,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: '/', path: '/',
}, },
fullGuide: 'dotnet-core/blazor-server', fullGuide: 'dotnet-core/blazor-server',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/dotnet-core/blazor-server/#the-user-object'),
},
{
title: 'API resources',
url: new URL('https://docs.logto.io/quick-starts/dotnet-core/blazor-server/#api-resources'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -11,6 +11,18 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: '/', path: '/',
}, },
fullGuide: 'dotnet-core/blazor-wasm', fullGuide: 'dotnet-core/blazor-wasm',
furtherReadings: [
{
title: 'Get user information',
url: new URL(
'https://docs.logto.io/quick-starts/dotnet-core/blazor-wasm/#get-user-information'
),
},
{
title: 'API resources',
url: new URL('https://docs.logto.io/quick-starts/dotnet-core/blazor-wasm/#api-resources'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -11,6 +11,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: '/', path: '/',
}, },
fullGuide: 'dotnet-core/mvc', fullGuide: 'dotnet-core/mvc',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/dotnet-core/mvc/#the-user-object'),
},
{
title: 'API resources',
url: new URL('https://docs.logto.io/quick-starts/dotnet-core/mvc/#api-resources'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -12,6 +12,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: 'packages/express-sample', path: 'packages/express-sample',
}, },
fullGuide: 'express', fullGuide: 'express',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/express/#get-user-information'),
},
{
title: 'API resources and organizations',
url: new URL('https://docs.logto.io/quick-starts/express/#api-resources-and-organizations'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -12,6 +12,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: 'gin-sample', path: 'gin-sample',
}, },
fullGuide: 'go', fullGuide: 'go',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/go/#get-user-information'),
},
{
title: 'API resources and organizations',
url: new URL('https://docs.logto.io/quick-starts/go/#api-resources-and-organizations'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -12,6 +12,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
}, },
isFeatured: true, isFeatured: true,
fullGuide: 'next-app-router', fullGuide: 'next-app-router',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/next-app-router/#get-user-information'),
},
{
title: 'API resources',
url: new URL('https://docs.logto.io/quick-starts/next-app-router/#api-resources'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -12,6 +12,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: 'packages/next-sample', path: 'packages/next-sample',
}, },
fullGuide: 'next', fullGuide: 'next',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/next/#get-user-information'),
},
{
title: 'API resources',
url: new URL('https://docs.logto.io/quick-starts/next/#api-resources'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -12,6 +12,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: 'packages/nuxt', path: 'packages/nuxt',
}, },
fullGuide: 'nuxt', fullGuide: 'nuxt',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/nuxt/#get-user-information'),
},
{
title: 'API resources and organizations',
url: new URL('https://docs.logto.io/quick-starts/nuxt/#api-resources-and-organizations'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -11,6 +11,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: 'samples', path: 'samples',
}, },
fullGuide: 'php', fullGuide: 'php',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/php/#get-user-information'),
},
{
title: 'API resources and organizations',
url: new URL('https://docs.logto.io/quick-starts/php/#api-resources-and-organizations'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -11,6 +11,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: 'samples', path: 'samples',
}, },
fullGuide: 'python', fullGuide: 'python',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/python/#get-user-information'),
},
{
title: 'API resources and organizations',
url: new URL('https://docs.logto.io/quick-starts/python/#api-resources-and-organizations'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -13,6 +13,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: 'logto-sample', path: 'logto-sample',
}, },
fullGuide: 'ruby', fullGuide: 'ruby',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/ruby/#get-user-information'),
},
{
title: 'API resources and organizations',
url: new URL('https://docs.logto.io/quick-starts/ruby/#api-resources-and-organizations'),
},
],
}); });
export default metadata; export default metadata;

View file

@ -12,6 +12,16 @@ const metadata: Readonly<GuideMetadata> = Object.freeze({
path: 'packages/sveltekit-sample', path: 'packages/sveltekit-sample',
}, },
fullGuide: 'sveltekit', fullGuide: 'sveltekit',
furtherReadings: [
{
title: 'Get user information',
url: new URL('https://docs.logto.io/quick-starts/sveltekit/#get-user-information'),
},
{
title: 'API resources and organizations',
url: new URL('https://docs.logto.io/quick-starts/sveltekit/#api-resources-and-organizations'),
},
],
}); });
export default metadata; export default metadata;