mirror of
https://github.com/logto-io/logto.git
synced 2025-01-13 21:30:30 -05:00
refactor(console): update branding area (#1374)
This commit is contained in:
parent
e91ebc9a80
commit
6d5182fcb2
2 changed files with 11 additions and 9 deletions
|
@ -66,6 +66,7 @@ const BrandingForm = () => {
|
||||||
/>
|
/>
|
||||||
</FormField>
|
</FormField>
|
||||||
)}
|
)}
|
||||||
|
{isSloganRequired && (
|
||||||
<FormField isRequired={isSloganRequired} title="admin_console.sign_in_exp.branding.slogan">
|
<FormField isRequired={isSloganRequired} title="admin_console.sign_in_exp.branding.slogan">
|
||||||
<TextInput
|
<TextInput
|
||||||
{...register('branding.slogan', { required: isSloganRequired })}
|
{...register('branding.slogan', { required: isSloganRequired })}
|
||||||
|
@ -73,6 +74,7 @@ const BrandingForm = () => {
|
||||||
placeholder={t('sign_in_exp.branding.slogan_placeholder')}
|
placeholder={t('sign_in_exp.branding.slogan_placeholder')}
|
||||||
/>
|
/>
|
||||||
</FormField>
|
</FormField>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -328,8 +328,8 @@ const translation = {
|
||||||
title: '品牌定制区',
|
title: '品牌定制区',
|
||||||
ui_style: '样式',
|
ui_style: '样式',
|
||||||
styles: {
|
styles: {
|
||||||
logo_slogan: 'App logo 和标语',
|
logo_slogan: 'Logo 和标语',
|
||||||
logo: '仅有Logo',
|
logo: '仅有 Logo',
|
||||||
},
|
},
|
||||||
logo_image_url: 'Logo 图片 URL',
|
logo_image_url: 'Logo 图片 URL',
|
||||||
logo_image_url_placeholder: 'https://your.cdn.domain/logo.png',
|
logo_image_url_placeholder: 'https://your.cdn.domain/logo.png',
|
||||||
|
|
Loading…
Add table
Reference in a new issue