mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -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,13 +66,15 @@ const BrandingForm = () => {
|
|||
/>
|
||||
</FormField>
|
||||
)}
|
||||
<FormField isRequired={isSloganRequired} title="admin_console.sign_in_exp.branding.slogan">
|
||||
<TextInput
|
||||
{...register('branding.slogan', { required: isSloganRequired })}
|
||||
hasError={Boolean(errors.branding?.slogan)}
|
||||
placeholder={t('sign_in_exp.branding.slogan_placeholder')}
|
||||
/>
|
||||
</FormField>
|
||||
{isSloganRequired && (
|
||||
<FormField isRequired={isSloganRequired} title="admin_console.sign_in_exp.branding.slogan">
|
||||
<TextInput
|
||||
{...register('branding.slogan', { required: isSloganRequired })}
|
||||
hasError={Boolean(errors.branding?.slogan)}
|
||||
placeholder={t('sign_in_exp.branding.slogan_placeholder')}
|
||||
/>
|
||||
</FormField>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -328,8 +328,8 @@ const translation = {
|
|||
title: '品牌定制区',
|
||||
ui_style: '样式',
|
||||
styles: {
|
||||
logo_slogan: 'App logo 和标语',
|
||||
logo: '仅有Logo',
|
||||
logo_slogan: 'Logo 和标语',
|
||||
logo: '仅有 Logo',
|
||||
},
|
||||
logo_image_url: 'Logo 图片 URL',
|
||||
logo_image_url_placeholder: 'https://your.cdn.domain/logo.png',
|
||||
|
|
Loading…
Reference in a new issue