mirror of
https://github.com/logto-io/logto.git
synced 2025-04-14 23:11:31 -05:00
refactor(console,phrases): refine protected app creation form in get-started page (#5336)
This commit is contained in:
parent
90866a957d
commit
e2d8ce542a
23 changed files with 408 additions and 362 deletions
|
@ -143,7 +143,7 @@ function GuideLibrary({ className, hasCardBorder, hasCardButton }: Props) {
|
|||
(filterCategories.length === 0 ||
|
||||
filterCategories.includes(ApplicationType.Protected)) && (
|
||||
<ProtectedAppCard
|
||||
hasLabel
|
||||
isInAppCreationPage
|
||||
hasCreateButton
|
||||
hasBorder={hasCardBorder}
|
||||
className={styles.protectedAppCard}
|
||||
|
|
|
@ -35,7 +35,12 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.name {
|
||||
.title {
|
||||
font: var(--font-title-2);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
||||
.label {
|
||||
font: var(--font-label-2);
|
||||
color: var(--color-text);
|
||||
}
|
||||
|
|
|
@ -16,16 +16,17 @@ import * as styles from './index.module.scss';
|
|||
|
||||
type Props = {
|
||||
className?: string;
|
||||
/** When used in application creation modal, card has a "PROTECTED APP" label on top of it */
|
||||
isInAppCreationPage?: boolean;
|
||||
hasBorder?: boolean;
|
||||
hasLabel?: boolean;
|
||||
hasCreateButton?: boolean;
|
||||
onCreateSuccess?: (app: Application) => void;
|
||||
};
|
||||
|
||||
function ProtectedAppCard({
|
||||
className,
|
||||
isInAppCreationPage,
|
||||
hasBorder,
|
||||
hasLabel,
|
||||
hasCreateButton,
|
||||
onCreateSuccess,
|
||||
}: Props) {
|
||||
|
@ -38,11 +39,13 @@ function ProtectedAppCard({
|
|||
return (
|
||||
<>
|
||||
<div className={classNames(styles.container, className)}>
|
||||
{hasLabel && <label>{t('name')}</label>}
|
||||
{isInAppCreationPage && <label>{t('name')}</label>}
|
||||
<div className={classNames(styles.card, hasBorder && styles.hasBorder)}>
|
||||
<Icon className={styles.logo} />
|
||||
<div className={styles.wrapper}>
|
||||
<div className={styles.name}>{t('title')}</div>
|
||||
<div className={isInAppCreationPage ? styles.label : styles.title}>
|
||||
{t(isInAppCreationPage ? 'name' : 'title')}
|
||||
</div>
|
||||
<div className={styles.description}>
|
||||
<Trans
|
||||
components={{
|
||||
|
|
|
@ -17,7 +17,7 @@ form {
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 50%;
|
||||
background: var(--color-surface-5);
|
||||
background: var(--color-function-n-overlay-primary-focused);
|
||||
color: var(--color-text-link);
|
||||
font: var(--font-title-3);
|
||||
position: relative;
|
||||
|
@ -74,5 +74,6 @@ form {
|
|||
|
||||
&.leftAligned {
|
||||
align-self: flex-start;
|
||||
margin-left: _.unit(15);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,6 +23,7 @@ type Props = {
|
|||
buttonAlignment?: 'left' | 'right';
|
||||
buttonText?: ButtonProps['title'];
|
||||
buttonSize?: ButtonProps['size'];
|
||||
/** Detailed instructions are displayed when creating from get-started page */
|
||||
hasDetailedInstructions?: boolean;
|
||||
hasRequiredLabel?: boolean;
|
||||
onCreateSuccess?: (createdApp: Application) => void;
|
||||
|
@ -101,6 +102,33 @@ function ProtectedAppForm({
|
|||
<div className={styles.dashedLine} />
|
||||
</div>
|
||||
)}
|
||||
<FormField
|
||||
isRequired={hasRequiredLabel}
|
||||
className={styles.field}
|
||||
title="protected_app.form.url_field_label"
|
||||
description={conditional(
|
||||
hasDetailedInstructions && 'protected_app.form.url_field_description'
|
||||
)}
|
||||
descriptionPosition={conditional(hasDetailedInstructions && 'top')}
|
||||
tip={conditional(!hasDetailedInstructions && t('protected_app.form.url_field_tooltip'))}
|
||||
>
|
||||
<TextInput
|
||||
{...register('origin', {
|
||||
required: true,
|
||||
validate: (value) =>
|
||||
validateUriOrigin(value) || t('protected_app.form.errors.invalid_url'),
|
||||
})}
|
||||
placeholder={t('protected_app.form.url_field_placeholder')}
|
||||
error={
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
||||
errors.origin?.message ||
|
||||
(errors.origin?.type === 'required' && t('protected_app.form.errors.url_required'))
|
||||
}
|
||||
/>
|
||||
</FormField>
|
||||
</div>
|
||||
<div className={styles.formFieldWrapper}>
|
||||
{hasDetailedInstructions && <div className={styles.index}>2</div>}
|
||||
<FormField
|
||||
isRequired={hasRequiredLabel}
|
||||
className={styles.field}
|
||||
|
@ -108,8 +136,10 @@ function ProtectedAppForm({
|
|||
description={`protected_app.form.domain_field_description${
|
||||
hasDetailedInstructions ? '' : '_short'
|
||||
}`}
|
||||
descriptionPosition={conditional(hasDetailedInstructions && 'top')}
|
||||
tip={conditional(
|
||||
!hasDetailedInstructions && t('protected_app.form.domain_field_tooltip')
|
||||
!hasDetailedInstructions &&
|
||||
t('protected_app.form.domain_field_tooltip', { domain: defaultDomain })
|
||||
)}
|
||||
>
|
||||
<div className={styles.domainFieldWrapper}>
|
||||
|
@ -136,32 +166,6 @@ function ProtectedAppForm({
|
|||
</div>
|
||||
</FormField>
|
||||
</div>
|
||||
<div className={styles.formFieldWrapper}>
|
||||
{hasDetailedInstructions && <div className={styles.index}>2</div>}
|
||||
<FormField
|
||||
isRequired={hasRequiredLabel}
|
||||
className={styles.field}
|
||||
title="protected_app.form.url_field_label"
|
||||
description={conditional(
|
||||
hasDetailedInstructions && 'protected_app.form.url_field_description'
|
||||
)}
|
||||
tip={conditional(!hasDetailedInstructions && t('protected_app.form.url_field_tooltip'))}
|
||||
>
|
||||
<TextInput
|
||||
{...register('origin', {
|
||||
required: true,
|
||||
validate: (value) =>
|
||||
validateUriOrigin(value) || t('protected_app.form.errors.invalid_url'),
|
||||
})}
|
||||
placeholder={t('protected_app.form.url_field_placeholder')}
|
||||
error={
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
||||
errors.origin?.message ||
|
||||
(errors.origin?.type === 'required' && t('protected_app.form.errors.url_required'))
|
||||
}
|
||||
/>
|
||||
</FormField>
|
||||
</div>
|
||||
<Button
|
||||
className={classNames(
|
||||
styles.submitButton,
|
||||
|
|
|
@ -10,14 +10,14 @@
|
|||
}
|
||||
|
||||
.form {
|
||||
background: var(--color-layer-1);
|
||||
padding: _.unit(6) _.unit(8);
|
||||
background: var(--color-layer-light);
|
||||
padding: _.unit(6) _.unit(8) _.unit(8) _.unit(11);
|
||||
}
|
||||
|
||||
.protectedApps {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: _.unit(3);
|
||||
gap: _.unit(8);
|
||||
background: var(--color-success-container);
|
||||
padding: _.unit(5) _.unit(9);
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
.subtitle {
|
||||
font: var(--font-body-2);
|
||||
color: var(--color-text-secondary);
|
||||
margin-bottom: _.unit(-3);
|
||||
}
|
||||
|
||||
.header {
|
||||
|
|
|
@ -1,47 +1,49 @@
|
|||
const protected_app = {
|
||||
/** UNTRANSLATED */
|
||||
name: 'Protected App',
|
||||
name: 'Protected app',
|
||||
/** UNTRANSLATED */
|
||||
title: 'Create a Protected App with epic speed and simplicity',
|
||||
title: 'Create a Protected App: Epic speed, simplicity, non-SDK integration',
|
||||
/** UNTRANSLATED */
|
||||
description:
|
||||
"Deploy with Logto secure workers, powered by Cloudflare's edge network for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>",
|
||||
'Serverless deployment with Logto Workers, powered by Cloudflare for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>',
|
||||
/** UNTRANSLATED */
|
||||
fast_create: 'Fast create',
|
||||
/** UNTRANSLATED */
|
||||
modal_title: 'Create protected app',
|
||||
/** UNTRANSLATED */
|
||||
modal_subtitle: 'No more integrating Logto SDK. Create you web app easily.',
|
||||
modal_subtitle:
|
||||
'No more integrating Logto SDK. Add authentication to your existing web app with ease.',
|
||||
form: {
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain protected',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'Custom subdomain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL. Custom domain can be added after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"You can use a 'protected.app' subdomain powered by Logto for quick testing or online access, which remains consistently valid. After creation, your custom domain name can be added.",
|
||||
/** UNTRANSLATED */
|
||||
url_field_label: 'Origin URL',
|
||||
url_field_label: 'Your origin URL',
|
||||
/** UNTRANSLATED */
|
||||
url_field_placeholder: 'https://',
|
||||
/** UNTRANSLATED */
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_description:
|
||||
'Enter the primary website address of your application requiring authentication.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_modification_notice:
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to propagate and become effective across global network locations.',
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to become effective across global network locations.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself doesn't necessitate authentication; protection is applied exclusively to accesses via the designated app domain.",
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'your-domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'This URL serves as an authentication protection proxy for the original URL. Custom domain can be applied after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'This URL serves as an authentication protection proxy for the original URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"Apps protected by Logto will be hosted at 'your-domain.{{domain}}' by default. Custom domain can be applied after creation.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
create_protected_app: 'Create and experience instantly',
|
||||
errors: {
|
||||
/** UNTRANSLATED */
|
||||
domain_required: 'Subdomain is required',
|
||||
|
|
|
@ -1,29 +1,31 @@
|
|||
const protected_app = {
|
||||
name: 'Protected App',
|
||||
title: 'Create a Protected App with epic speed and simplicity',
|
||||
name: 'Protected app',
|
||||
title: 'Create a Protected App: Epic speed, simplicity, non-SDK integration',
|
||||
description:
|
||||
"Deploy with Logto secure workers, powered by Cloudflare's edge network for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>",
|
||||
'Serverless deployment with Logto Workers, powered by Cloudflare for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>',
|
||||
fast_create: 'Fast create',
|
||||
modal_title: 'Create protected app',
|
||||
modal_subtitle: 'No more integrating Logto SDK. Create you web app easily.',
|
||||
modal_subtitle:
|
||||
'No more integrating Logto SDK. Add authentication to your existing web app with ease.',
|
||||
form: {
|
||||
domain_field_label: 'App domain protected',
|
||||
domain_field_placeholder: 'Custom subdomain',
|
||||
domain_field_description:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL. Custom domain can be added after creation.',
|
||||
domain_field_description_short:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL.',
|
||||
domain_field_tooltip:
|
||||
"You can use a 'protected.app' subdomain powered by Logto for quick testing or online access, which remains consistently valid. After creation, your custom domain name can be added.",
|
||||
url_field_label: 'Origin URL',
|
||||
url_field_label: 'Your origin URL',
|
||||
url_field_placeholder: 'https://',
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_description:
|
||||
'Enter the primary website address of your application requiring authentication.',
|
||||
url_field_modification_notice:
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to propagate and become effective across global network locations.',
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to become effective across global network locations.',
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself doesn't necessitate authentication; protection is applied exclusively to accesses via the designated app domain.",
|
||||
domain_field_label: 'App domain',
|
||||
domain_field_placeholder: 'your-domain',
|
||||
domain_field_description:
|
||||
'This URL serves as an authentication protection proxy for the original URL. Custom domain can be applied after creation.',
|
||||
domain_field_description_short:
|
||||
'This URL serves as an authentication protection proxy for the original URL.',
|
||||
domain_field_tooltip:
|
||||
"Apps protected by Logto will be hosted at 'your-domain.{{domain}}' by default. Custom domain can be applied after creation.",
|
||||
create_application: 'Create application',
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
create_protected_app: 'Create and experience instantly',
|
||||
errors: {
|
||||
domain_required: 'Subdomain is required',
|
||||
domain_in_use: 'This subdomain name is already in use.',
|
||||
|
|
|
@ -1,47 +1,49 @@
|
|||
const protected_app = {
|
||||
/** UNTRANSLATED */
|
||||
name: 'Protected App',
|
||||
name: 'Protected app',
|
||||
/** UNTRANSLATED */
|
||||
title: 'Create a Protected App with epic speed and simplicity',
|
||||
title: 'Create a Protected App: Epic speed, simplicity, non-SDK integration',
|
||||
/** UNTRANSLATED */
|
||||
description:
|
||||
"Deploy with Logto secure workers, powered by Cloudflare's edge network for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>",
|
||||
'Serverless deployment with Logto Workers, powered by Cloudflare for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>',
|
||||
/** UNTRANSLATED */
|
||||
fast_create: 'Fast create',
|
||||
/** UNTRANSLATED */
|
||||
modal_title: 'Create protected app',
|
||||
/** UNTRANSLATED */
|
||||
modal_subtitle: 'No more integrating Logto SDK. Create you web app easily.',
|
||||
modal_subtitle:
|
||||
'No more integrating Logto SDK. Add authentication to your existing web app with ease.',
|
||||
form: {
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain protected',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'Custom subdomain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL. Custom domain can be added after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"You can use a 'protected.app' subdomain powered by Logto for quick testing or online access, which remains consistently valid. After creation, your custom domain name can be added.",
|
||||
/** UNTRANSLATED */
|
||||
url_field_label: 'Origin URL',
|
||||
url_field_label: 'Your origin URL',
|
||||
/** UNTRANSLATED */
|
||||
url_field_placeholder: 'https://',
|
||||
/** UNTRANSLATED */
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_description:
|
||||
'Enter the primary website address of your application requiring authentication.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_modification_notice:
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to propagate and become effective across global network locations.',
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to become effective across global network locations.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself doesn't necessitate authentication; protection is applied exclusively to accesses via the designated app domain.",
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'your-domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'This URL serves as an authentication protection proxy for the original URL. Custom domain can be applied after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'This URL serves as an authentication protection proxy for the original URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"Apps protected by Logto will be hosted at 'your-domain.{{domain}}' by default. Custom domain can be applied after creation.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
create_protected_app: 'Create and experience instantly',
|
||||
errors: {
|
||||
/** UNTRANSLATED */
|
||||
domain_required: 'Subdomain is required',
|
||||
|
|
|
@ -1,47 +1,49 @@
|
|||
const protected_app = {
|
||||
/** UNTRANSLATED */
|
||||
name: 'Protected App',
|
||||
name: 'Protected app',
|
||||
/** UNTRANSLATED */
|
||||
title: 'Create a Protected App with epic speed and simplicity',
|
||||
title: 'Create a Protected App: Epic speed, simplicity, non-SDK integration',
|
||||
/** UNTRANSLATED */
|
||||
description:
|
||||
"Deploy with Logto secure workers, powered by Cloudflare's edge network for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>",
|
||||
'Serverless deployment with Logto Workers, powered by Cloudflare for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>',
|
||||
/** UNTRANSLATED */
|
||||
fast_create: 'Fast create',
|
||||
/** UNTRANSLATED */
|
||||
modal_title: 'Create protected app',
|
||||
/** UNTRANSLATED */
|
||||
modal_subtitle: 'No more integrating Logto SDK. Create you web app easily.',
|
||||
modal_subtitle:
|
||||
'No more integrating Logto SDK. Add authentication to your existing web app with ease.',
|
||||
form: {
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain protected',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'Custom subdomain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL. Custom domain can be added after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"You can use a 'protected.app' subdomain powered by Logto for quick testing or online access, which remains consistently valid. After creation, your custom domain name can be added.",
|
||||
/** UNTRANSLATED */
|
||||
url_field_label: 'Origin URL',
|
||||
url_field_label: 'Your origin URL',
|
||||
/** UNTRANSLATED */
|
||||
url_field_placeholder: 'https://',
|
||||
/** UNTRANSLATED */
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_description:
|
||||
'Enter the primary website address of your application requiring authentication.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_modification_notice:
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to propagate and become effective across global network locations.',
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to become effective across global network locations.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself doesn't necessitate authentication; protection is applied exclusively to accesses via the designated app domain.",
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'your-domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'This URL serves as an authentication protection proxy for the original URL. Custom domain can be applied after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'This URL serves as an authentication protection proxy for the original URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"Apps protected by Logto will be hosted at 'your-domain.{{domain}}' by default. Custom domain can be applied after creation.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
create_protected_app: 'Create and experience instantly',
|
||||
errors: {
|
||||
/** UNTRANSLATED */
|
||||
domain_required: 'Subdomain is required',
|
||||
|
|
|
@ -1,47 +1,49 @@
|
|||
const protected_app = {
|
||||
/** UNTRANSLATED */
|
||||
name: 'Protected App',
|
||||
name: 'Protected app',
|
||||
/** UNTRANSLATED */
|
||||
title: 'Create a Protected App with epic speed and simplicity',
|
||||
title: 'Create a Protected App: Epic speed, simplicity, non-SDK integration',
|
||||
/** UNTRANSLATED */
|
||||
description:
|
||||
"Deploy with Logto secure workers, powered by Cloudflare's edge network for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>",
|
||||
'Serverless deployment with Logto Workers, powered by Cloudflare for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>',
|
||||
/** UNTRANSLATED */
|
||||
fast_create: 'Fast create',
|
||||
/** UNTRANSLATED */
|
||||
modal_title: 'Create protected app',
|
||||
/** UNTRANSLATED */
|
||||
modal_subtitle: 'No more integrating Logto SDK. Create you web app easily.',
|
||||
modal_subtitle:
|
||||
'No more integrating Logto SDK. Add authentication to your existing web app with ease.',
|
||||
form: {
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain protected',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'Custom subdomain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL. Custom domain can be added after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"You can use a 'protected.app' subdomain powered by Logto for quick testing or online access, which remains consistently valid. After creation, your custom domain name can be added.",
|
||||
/** UNTRANSLATED */
|
||||
url_field_label: 'Origin URL',
|
||||
url_field_label: 'Your origin URL',
|
||||
/** UNTRANSLATED */
|
||||
url_field_placeholder: 'https://',
|
||||
/** UNTRANSLATED */
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_description:
|
||||
'Enter the primary website address of your application requiring authentication.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_modification_notice:
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to propagate and become effective across global network locations.',
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to become effective across global network locations.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself doesn't necessitate authentication; protection is applied exclusively to accesses via the designated app domain.",
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'your-domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'This URL serves as an authentication protection proxy for the original URL. Custom domain can be applied after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'This URL serves as an authentication protection proxy for the original URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"Apps protected by Logto will be hosted at 'your-domain.{{domain}}' by default. Custom domain can be applied after creation.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
create_protected_app: 'Create and experience instantly',
|
||||
errors: {
|
||||
/** UNTRANSLATED */
|
||||
domain_required: 'Subdomain is required',
|
||||
|
|
|
@ -1,47 +1,49 @@
|
|||
const protected_app = {
|
||||
/** UNTRANSLATED */
|
||||
name: 'Protected App',
|
||||
name: 'Protected app',
|
||||
/** UNTRANSLATED */
|
||||
title: 'Create a Protected App with epic speed and simplicity',
|
||||
title: 'Create a Protected App: Epic speed, simplicity, non-SDK integration',
|
||||
/** UNTRANSLATED */
|
||||
description:
|
||||
"Deploy with Logto secure workers, powered by Cloudflare's edge network for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>",
|
||||
'Serverless deployment with Logto Workers, powered by Cloudflare for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>',
|
||||
/** UNTRANSLATED */
|
||||
fast_create: 'Fast create',
|
||||
/** UNTRANSLATED */
|
||||
modal_title: 'Create protected app',
|
||||
/** UNTRANSLATED */
|
||||
modal_subtitle: 'No more integrating Logto SDK. Create you web app easily.',
|
||||
modal_subtitle:
|
||||
'No more integrating Logto SDK. Add authentication to your existing web app with ease.',
|
||||
form: {
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain protected',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'Custom subdomain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL. Custom domain can be added after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"You can use a 'protected.app' subdomain powered by Logto for quick testing or online access, which remains consistently valid. After creation, your custom domain name can be added.",
|
||||
/** UNTRANSLATED */
|
||||
url_field_label: 'Origin URL',
|
||||
url_field_label: 'Your origin URL',
|
||||
/** UNTRANSLATED */
|
||||
url_field_placeholder: 'https://',
|
||||
/** UNTRANSLATED */
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_description:
|
||||
'Enter the primary website address of your application requiring authentication.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_modification_notice:
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to propagate and become effective across global network locations.',
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to become effective across global network locations.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself doesn't necessitate authentication; protection is applied exclusively to accesses via the designated app domain.",
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'your-domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'This URL serves as an authentication protection proxy for the original URL. Custom domain can be applied after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'This URL serves as an authentication protection proxy for the original URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"Apps protected by Logto will be hosted at 'your-domain.{{domain}}' by default. Custom domain can be applied after creation.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
create_protected_app: 'Create and experience instantly',
|
||||
errors: {
|
||||
/** UNTRANSLATED */
|
||||
domain_required: 'Subdomain is required',
|
||||
|
|
|
@ -1,47 +1,49 @@
|
|||
const protected_app = {
|
||||
/** UNTRANSLATED */
|
||||
name: 'Protected App',
|
||||
name: 'Protected app',
|
||||
/** UNTRANSLATED */
|
||||
title: 'Create a Protected App with epic speed and simplicity',
|
||||
title: 'Create a Protected App: Epic speed, simplicity, non-SDK integration',
|
||||
/** UNTRANSLATED */
|
||||
description:
|
||||
"Deploy with Logto secure workers, powered by Cloudflare's edge network for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>",
|
||||
'Serverless deployment with Logto Workers, powered by Cloudflare for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>',
|
||||
/** UNTRANSLATED */
|
||||
fast_create: 'Fast create',
|
||||
/** UNTRANSLATED */
|
||||
modal_title: 'Create protected app',
|
||||
/** UNTRANSLATED */
|
||||
modal_subtitle: 'No more integrating Logto SDK. Create you web app easily.',
|
||||
modal_subtitle:
|
||||
'No more integrating Logto SDK. Add authentication to your existing web app with ease.',
|
||||
form: {
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain protected',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'Custom subdomain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL. Custom domain can be added after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"You can use a 'protected.app' subdomain powered by Logto for quick testing or online access, which remains consistently valid. After creation, your custom domain name can be added.",
|
||||
/** UNTRANSLATED */
|
||||
url_field_label: 'Origin URL',
|
||||
url_field_label: 'Your origin URL',
|
||||
/** UNTRANSLATED */
|
||||
url_field_placeholder: 'https://',
|
||||
/** UNTRANSLATED */
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_description:
|
||||
'Enter the primary website address of your application requiring authentication.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_modification_notice:
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to propagate and become effective across global network locations.',
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to become effective across global network locations.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself doesn't necessitate authentication; protection is applied exclusively to accesses via the designated app domain.",
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'your-domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'This URL serves as an authentication protection proxy for the original URL. Custom domain can be applied after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'This URL serves as an authentication protection proxy for the original URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"Apps protected by Logto will be hosted at 'your-domain.{{domain}}' by default. Custom domain can be applied after creation.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
create_protected_app: 'Create and experience instantly',
|
||||
errors: {
|
||||
/** UNTRANSLATED */
|
||||
domain_required: 'Subdomain is required',
|
||||
|
|
|
@ -1,47 +1,49 @@
|
|||
const protected_app = {
|
||||
/** UNTRANSLATED */
|
||||
name: 'Protected App',
|
||||
name: 'Protected app',
|
||||
/** UNTRANSLATED */
|
||||
title: 'Create a Protected App with epic speed and simplicity',
|
||||
title: 'Create a Protected App: Epic speed, simplicity, non-SDK integration',
|
||||
/** UNTRANSLATED */
|
||||
description:
|
||||
"Deploy with Logto secure workers, powered by Cloudflare's edge network for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>",
|
||||
'Serverless deployment with Logto Workers, powered by Cloudflare for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>',
|
||||
/** UNTRANSLATED */
|
||||
fast_create: 'Fast create',
|
||||
/** UNTRANSLATED */
|
||||
modal_title: 'Create protected app',
|
||||
/** UNTRANSLATED */
|
||||
modal_subtitle: 'No more integrating Logto SDK. Create you web app easily.',
|
||||
modal_subtitle:
|
||||
'No more integrating Logto SDK. Add authentication to your existing web app with ease.',
|
||||
form: {
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain protected',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'Custom subdomain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL. Custom domain can be added after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"You can use a 'protected.app' subdomain powered by Logto for quick testing or online access, which remains consistently valid. After creation, your custom domain name can be added.",
|
||||
/** UNTRANSLATED */
|
||||
url_field_label: 'Origin URL',
|
||||
url_field_label: 'Your origin URL',
|
||||
/** UNTRANSLATED */
|
||||
url_field_placeholder: 'https://',
|
||||
/** UNTRANSLATED */
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_description:
|
||||
'Enter the primary website address of your application requiring authentication.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_modification_notice:
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to propagate and become effective across global network locations.',
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to become effective across global network locations.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself doesn't necessitate authentication; protection is applied exclusively to accesses via the designated app domain.",
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'your-domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'This URL serves as an authentication protection proxy for the original URL. Custom domain can be applied after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'This URL serves as an authentication protection proxy for the original URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"Apps protected by Logto will be hosted at 'your-domain.{{domain}}' by default. Custom domain can be applied after creation.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
create_protected_app: 'Create and experience instantly',
|
||||
errors: {
|
||||
/** UNTRANSLATED */
|
||||
domain_required: 'Subdomain is required',
|
||||
|
|
|
@ -1,47 +1,49 @@
|
|||
const protected_app = {
|
||||
/** UNTRANSLATED */
|
||||
name: 'Protected App',
|
||||
name: 'Protected app',
|
||||
/** UNTRANSLATED */
|
||||
title: 'Create a Protected App with epic speed and simplicity',
|
||||
title: 'Create a Protected App: Epic speed, simplicity, non-SDK integration',
|
||||
/** UNTRANSLATED */
|
||||
description:
|
||||
"Deploy with Logto secure workers, powered by Cloudflare's edge network for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>",
|
||||
'Serverless deployment with Logto Workers, powered by Cloudflare for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>',
|
||||
/** UNTRANSLATED */
|
||||
fast_create: 'Fast create',
|
||||
/** UNTRANSLATED */
|
||||
modal_title: 'Create protected app',
|
||||
/** UNTRANSLATED */
|
||||
modal_subtitle: 'No more integrating Logto SDK. Create you web app easily.',
|
||||
modal_subtitle:
|
||||
'No more integrating Logto SDK. Add authentication to your existing web app with ease.',
|
||||
form: {
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain protected',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'Custom subdomain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL. Custom domain can be added after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"You can use a 'protected.app' subdomain powered by Logto for quick testing or online access, which remains consistently valid. After creation, your custom domain name can be added.",
|
||||
/** UNTRANSLATED */
|
||||
url_field_label: 'Origin URL',
|
||||
url_field_label: 'Your origin URL',
|
||||
/** UNTRANSLATED */
|
||||
url_field_placeholder: 'https://',
|
||||
/** UNTRANSLATED */
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_description:
|
||||
'Enter the primary website address of your application requiring authentication.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_modification_notice:
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to propagate and become effective across global network locations.',
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to become effective across global network locations.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself doesn't necessitate authentication; protection is applied exclusively to accesses via the designated app domain.",
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'your-domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'This URL serves as an authentication protection proxy for the original URL. Custom domain can be applied after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'This URL serves as an authentication protection proxy for the original URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"Apps protected by Logto will be hosted at 'your-domain.{{domain}}' by default. Custom domain can be applied after creation.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
create_protected_app: 'Create and experience instantly',
|
||||
errors: {
|
||||
/** UNTRANSLATED */
|
||||
domain_required: 'Subdomain is required',
|
||||
|
|
|
@ -1,47 +1,49 @@
|
|||
const protected_app = {
|
||||
/** UNTRANSLATED */
|
||||
name: 'Protected App',
|
||||
name: 'Protected app',
|
||||
/** UNTRANSLATED */
|
||||
title: 'Create a Protected App with epic speed and simplicity',
|
||||
title: 'Create a Protected App: Epic speed, simplicity, non-SDK integration',
|
||||
/** UNTRANSLATED */
|
||||
description:
|
||||
"Deploy with Logto secure workers, powered by Cloudflare's edge network for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>",
|
||||
'Serverless deployment with Logto Workers, powered by Cloudflare for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>',
|
||||
/** UNTRANSLATED */
|
||||
fast_create: 'Fast create',
|
||||
/** UNTRANSLATED */
|
||||
modal_title: 'Create protected app',
|
||||
/** UNTRANSLATED */
|
||||
modal_subtitle: 'No more integrating Logto SDK. Create you web app easily.',
|
||||
modal_subtitle:
|
||||
'No more integrating Logto SDK. Add authentication to your existing web app with ease.',
|
||||
form: {
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain protected',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'Custom subdomain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL. Custom domain can be added after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"You can use a 'protected.app' subdomain powered by Logto for quick testing or online access, which remains consistently valid. After creation, your custom domain name can be added.",
|
||||
/** UNTRANSLATED */
|
||||
url_field_label: 'Origin URL',
|
||||
url_field_label: 'Your origin URL',
|
||||
/** UNTRANSLATED */
|
||||
url_field_placeholder: 'https://',
|
||||
/** UNTRANSLATED */
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_description:
|
||||
'Enter the primary website address of your application requiring authentication.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_modification_notice:
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to propagate and become effective across global network locations.',
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to become effective across global network locations.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself doesn't necessitate authentication; protection is applied exclusively to accesses via the designated app domain.",
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'your-domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'This URL serves as an authentication protection proxy for the original URL. Custom domain can be applied after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'This URL serves as an authentication protection proxy for the original URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"Apps protected by Logto will be hosted at 'your-domain.{{domain}}' by default. Custom domain can be applied after creation.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
create_protected_app: 'Create and experience instantly',
|
||||
errors: {
|
||||
/** UNTRANSLATED */
|
||||
domain_required: 'Subdomain is required',
|
||||
|
|
|
@ -1,47 +1,49 @@
|
|||
const protected_app = {
|
||||
/** UNTRANSLATED */
|
||||
name: 'Protected App',
|
||||
name: 'Protected app',
|
||||
/** UNTRANSLATED */
|
||||
title: 'Create a Protected App with epic speed and simplicity',
|
||||
title: 'Create a Protected App: Epic speed, simplicity, non-SDK integration',
|
||||
/** UNTRANSLATED */
|
||||
description:
|
||||
"Deploy with Logto secure workers, powered by Cloudflare's edge network for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>",
|
||||
'Serverless deployment with Logto Workers, powered by Cloudflare for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>',
|
||||
/** UNTRANSLATED */
|
||||
fast_create: 'Fast create',
|
||||
/** UNTRANSLATED */
|
||||
modal_title: 'Create protected app',
|
||||
/** UNTRANSLATED */
|
||||
modal_subtitle: 'No more integrating Logto SDK. Create you web app easily.',
|
||||
modal_subtitle:
|
||||
'No more integrating Logto SDK. Add authentication to your existing web app with ease.',
|
||||
form: {
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain protected',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'Custom subdomain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL. Custom domain can be added after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"You can use a 'protected.app' subdomain powered by Logto for quick testing or online access, which remains consistently valid. After creation, your custom domain name can be added.",
|
||||
/** UNTRANSLATED */
|
||||
url_field_label: 'Origin URL',
|
||||
url_field_label: 'Your origin URL',
|
||||
/** UNTRANSLATED */
|
||||
url_field_placeholder: 'https://',
|
||||
/** UNTRANSLATED */
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_description:
|
||||
'Enter the primary website address of your application requiring authentication.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_modification_notice:
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to propagate and become effective across global network locations.',
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to become effective across global network locations.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself doesn't necessitate authentication; protection is applied exclusively to accesses via the designated app domain.",
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'your-domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'This URL serves as an authentication protection proxy for the original URL. Custom domain can be applied after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'This URL serves as an authentication protection proxy for the original URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"Apps protected by Logto will be hosted at 'your-domain.{{domain}}' by default. Custom domain can be applied after creation.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
create_protected_app: 'Create and experience instantly',
|
||||
errors: {
|
||||
/** UNTRANSLATED */
|
||||
domain_required: 'Subdomain is required',
|
||||
|
|
|
@ -1,47 +1,49 @@
|
|||
const protected_app = {
|
||||
/** UNTRANSLATED */
|
||||
name: 'Protected App',
|
||||
name: 'Protected app',
|
||||
/** UNTRANSLATED */
|
||||
title: 'Create a Protected App with epic speed and simplicity',
|
||||
title: 'Create a Protected App: Epic speed, simplicity, non-SDK integration',
|
||||
/** UNTRANSLATED */
|
||||
description:
|
||||
"Deploy with Logto secure workers, powered by Cloudflare's edge network for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>",
|
||||
'Serverless deployment with Logto Workers, powered by Cloudflare for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>',
|
||||
/** UNTRANSLATED */
|
||||
fast_create: 'Fast create',
|
||||
/** UNTRANSLATED */
|
||||
modal_title: 'Create protected app',
|
||||
/** UNTRANSLATED */
|
||||
modal_subtitle: 'No more integrating Logto SDK. Create you web app easily.',
|
||||
modal_subtitle:
|
||||
'No more integrating Logto SDK. Add authentication to your existing web app with ease.',
|
||||
form: {
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain protected',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'Custom subdomain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL. Custom domain can be added after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"You can use a 'protected.app' subdomain powered by Logto for quick testing or online access, which remains consistently valid. After creation, your custom domain name can be added.",
|
||||
/** UNTRANSLATED */
|
||||
url_field_label: 'Origin URL',
|
||||
url_field_label: 'Your origin URL',
|
||||
/** UNTRANSLATED */
|
||||
url_field_placeholder: 'https://',
|
||||
/** UNTRANSLATED */
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_description:
|
||||
'Enter the primary website address of your application requiring authentication.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_modification_notice:
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to propagate and become effective across global network locations.',
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to become effective across global network locations.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself doesn't necessitate authentication; protection is applied exclusively to accesses via the designated app domain.",
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'your-domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'This URL serves as an authentication protection proxy for the original URL. Custom domain can be applied after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'This URL serves as an authentication protection proxy for the original URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"Apps protected by Logto will be hosted at 'your-domain.{{domain}}' by default. Custom domain can be applied after creation.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
create_protected_app: 'Create and experience instantly',
|
||||
errors: {
|
||||
/** UNTRANSLATED */
|
||||
domain_required: 'Subdomain is required',
|
||||
|
|
|
@ -1,47 +1,49 @@
|
|||
const protected_app = {
|
||||
/** UNTRANSLATED */
|
||||
name: 'Protected App',
|
||||
name: 'Protected app',
|
||||
/** UNTRANSLATED */
|
||||
title: 'Create a Protected App with epic speed and simplicity',
|
||||
title: 'Create a Protected App: Epic speed, simplicity, non-SDK integration',
|
||||
/** UNTRANSLATED */
|
||||
description:
|
||||
"Deploy with Logto secure workers, powered by Cloudflare's edge network for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>",
|
||||
'Serverless deployment with Logto Workers, powered by Cloudflare for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>',
|
||||
/** UNTRANSLATED */
|
||||
fast_create: 'Fast create',
|
||||
/** UNTRANSLATED */
|
||||
modal_title: 'Create protected app',
|
||||
/** UNTRANSLATED */
|
||||
modal_subtitle: 'No more integrating Logto SDK. Create you web app easily.',
|
||||
modal_subtitle:
|
||||
'No more integrating Logto SDK. Add authentication to your existing web app with ease.',
|
||||
form: {
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain protected',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'Custom subdomain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL. Custom domain can be added after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"You can use a 'protected.app' subdomain powered by Logto for quick testing or online access, which remains consistently valid. After creation, your custom domain name can be added.",
|
||||
/** UNTRANSLATED */
|
||||
url_field_label: 'Origin URL',
|
||||
url_field_label: 'Your origin URL',
|
||||
/** UNTRANSLATED */
|
||||
url_field_placeholder: 'https://',
|
||||
/** UNTRANSLATED */
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_description:
|
||||
'Enter the primary website address of your application requiring authentication.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_modification_notice:
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to propagate and become effective across global network locations.',
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to become effective across global network locations.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself doesn't necessitate authentication; protection is applied exclusively to accesses via the designated app domain.",
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'your-domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'This URL serves as an authentication protection proxy for the original URL. Custom domain can be applied after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'This URL serves as an authentication protection proxy for the original URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"Apps protected by Logto will be hosted at 'your-domain.{{domain}}' by default. Custom domain can be applied after creation.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
create_protected_app: 'Create and experience instantly',
|
||||
errors: {
|
||||
/** UNTRANSLATED */
|
||||
domain_required: 'Subdomain is required',
|
||||
|
|
|
@ -1,47 +1,49 @@
|
|||
const protected_app = {
|
||||
/** UNTRANSLATED */
|
||||
name: 'Protected App',
|
||||
name: 'Protected app',
|
||||
/** UNTRANSLATED */
|
||||
title: 'Create a Protected App with epic speed and simplicity',
|
||||
title: 'Create a Protected App: Epic speed, simplicity, non-SDK integration',
|
||||
/** UNTRANSLATED */
|
||||
description:
|
||||
"Deploy with Logto secure workers, powered by Cloudflare's edge network for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>",
|
||||
'Serverless deployment with Logto Workers, powered by Cloudflare for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>',
|
||||
/** UNTRANSLATED */
|
||||
fast_create: 'Fast create',
|
||||
/** UNTRANSLATED */
|
||||
modal_title: 'Create protected app',
|
||||
/** UNTRANSLATED */
|
||||
modal_subtitle: 'No more integrating Logto SDK. Create you web app easily.',
|
||||
modal_subtitle:
|
||||
'No more integrating Logto SDK. Add authentication to your existing web app with ease.',
|
||||
form: {
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain protected',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'Custom subdomain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL. Custom domain can be added after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"You can use a 'protected.app' subdomain powered by Logto for quick testing or online access, which remains consistently valid. After creation, your custom domain name can be added.",
|
||||
/** UNTRANSLATED */
|
||||
url_field_label: 'Origin URL',
|
||||
url_field_label: 'Your origin URL',
|
||||
/** UNTRANSLATED */
|
||||
url_field_placeholder: 'https://',
|
||||
/** UNTRANSLATED */
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_description:
|
||||
'Enter the primary website address of your application requiring authentication.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_modification_notice:
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to propagate and become effective across global network locations.',
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to become effective across global network locations.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself doesn't necessitate authentication; protection is applied exclusively to accesses via the designated app domain.",
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'your-domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'This URL serves as an authentication protection proxy for the original URL. Custom domain can be applied after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'This URL serves as an authentication protection proxy for the original URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"Apps protected by Logto will be hosted at 'your-domain.{{domain}}' by default. Custom domain can be applied after creation.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
create_protected_app: 'Create and experience instantly',
|
||||
errors: {
|
||||
/** UNTRANSLATED */
|
||||
domain_required: 'Subdomain is required',
|
||||
|
|
|
@ -1,47 +1,49 @@
|
|||
const protected_app = {
|
||||
/** UNTRANSLATED */
|
||||
name: 'Protected App',
|
||||
name: 'Protected app',
|
||||
/** UNTRANSLATED */
|
||||
title: 'Create a Protected App with epic speed and simplicity',
|
||||
title: 'Create a Protected App: Epic speed, simplicity, non-SDK integration',
|
||||
/** UNTRANSLATED */
|
||||
description:
|
||||
"Deploy with Logto secure workers, powered by Cloudflare's edge network for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>",
|
||||
'Serverless deployment with Logto Workers, powered by Cloudflare for top-tier performance and 0ms cold starts worldwide. <a>Learn more</a>',
|
||||
/** UNTRANSLATED */
|
||||
fast_create: 'Fast create',
|
||||
/** UNTRANSLATED */
|
||||
modal_title: 'Create protected app',
|
||||
/** UNTRANSLATED */
|
||||
modal_subtitle: 'No more integrating Logto SDK. Create you web app easily.',
|
||||
modal_subtitle:
|
||||
'No more integrating Logto SDK. Add authentication to your existing web app with ease.',
|
||||
form: {
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain protected',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'Custom subdomain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL. Custom domain can be added after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'Specify the app domain that will be protected by authentication and redirected to the Origin URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"You can use a 'protected.app' subdomain powered by Logto for quick testing or online access, which remains consistently valid. After creation, your custom domain name can be added.",
|
||||
/** UNTRANSLATED */
|
||||
url_field_label: 'Origin URL',
|
||||
url_field_label: 'Your origin URL',
|
||||
/** UNTRANSLATED */
|
||||
url_field_placeholder: 'https://',
|
||||
/** UNTRANSLATED */
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_description:
|
||||
'Enter the primary website address of your application requiring authentication.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_modification_notice:
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to propagate and become effective across global network locations.',
|
||||
'Modifications to the Origin URL may take up to 1-2 minutes to become effective across global network locations.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself doesn't necessitate authentication; protection is applied exclusively to accesses via the designated app domain.",
|
||||
/** UNTRANSLATED */
|
||||
domain_field_label: 'App domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_placeholder: 'your-domain',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description:
|
||||
'This URL serves as an authentication protection proxy for the original URL. Custom domain can be applied after creation.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_description_short:
|
||||
'This URL serves as an authentication protection proxy for the original URL.',
|
||||
/** UNTRANSLATED */
|
||||
domain_field_tooltip:
|
||||
"Apps protected by Logto will be hosted at 'your-domain.{{domain}}' by default. Custom domain can be applied after creation.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
create_protected_app: 'Create and experience instantly',
|
||||
errors: {
|
||||
/** UNTRANSLATED */
|
||||
domain_required: 'Subdomain is required',
|
||||
|
|
|
@ -161,6 +161,7 @@
|
|||
--color-specific-icon-bg: #f3effa;
|
||||
--color-specific-toggle-off-enable: var(--color-neutral-90);
|
||||
--color-specific-unselected-disabled: var(--color-hover); // 8% Neutral-10
|
||||
--color-function-n-overlay-primary-focused: rgba(93, 52, 242, 16%); // 16% Primary-40
|
||||
|
||||
// Shadows
|
||||
--shadow-1: 0 4px 8px rgba(0, 0, 0, 8%);
|
||||
|
@ -364,6 +365,7 @@
|
|||
--color-specific-icon-bg: rgba(247, 248, 248, 12%);
|
||||
--color-specific-toggle-off-enable: var(--color-neutral-90);
|
||||
--color-specific-unselected-disabled: var(--color-hover); // 8% Neutral-10
|
||||
--color-function-n-overlay-primary-focused: rgba(202, 190, 255, 16%); // 16% Primary-40
|
||||
|
||||
// Shadows
|
||||
--shadow-1: 0 4px 8px rgba(0, 0, 0, 8%);
|
||||
|
|
Loading…
Add table
Reference in a new issue