mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
feat(console,phrases): add support field description (#6807)
add support field description
This commit is contained in:
parent
ca85faed41
commit
2791fca224
2 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,7 @@ import TextInput from '@/ds-components/TextInput';
|
||||||
import { type SignInExperienceForm } from '@/pages/SignInExperience/types';
|
import { type SignInExperienceForm } from '@/pages/SignInExperience/types';
|
||||||
import { uriValidator } from '@/utils/validator';
|
import { uriValidator } from '@/utils/validator';
|
||||||
|
|
||||||
|
import FormFieldDescription from '../../components/FormFieldDescription';
|
||||||
import FormSectionTitle from '../../components/FormSectionTitle';
|
import FormSectionTitle from '../../components/FormSectionTitle';
|
||||||
|
|
||||||
function SupportForm() {
|
function SupportForm() {
|
||||||
|
@ -21,6 +22,7 @@ function SupportForm() {
|
||||||
return (
|
return (
|
||||||
<Card>
|
<Card>
|
||||||
<FormSectionTitle title="content.support.title" />
|
<FormSectionTitle title="content.support.title" />
|
||||||
|
<FormFieldDescription>{t('sign_in_exp.content.support.subtitle')}</FormFieldDescription>
|
||||||
<FormField title="sign_in_exp.content.support.support_email">
|
<FormField title="sign_in_exp.content.support.support_email">
|
||||||
<TextInput
|
<TextInput
|
||||||
{...register('supportEmail', {
|
{...register('supportEmail', {
|
||||||
|
|
|
@ -26,6 +26,7 @@ const content = {
|
||||||
},
|
},
|
||||||
support: {
|
support: {
|
||||||
title: 'SUPPORT',
|
title: 'SUPPORT',
|
||||||
|
subtitle: 'Display your support channels on error pages for quick user assistance.',
|
||||||
support_email: 'Support email',
|
support_email: 'Support email',
|
||||||
support_email_placeholder: 'support@email.com',
|
support_email_placeholder: 'support@email.com',
|
||||||
support_website: 'Support website',
|
support_website: 'Support website',
|
||||||
|
|
Loading…
Reference in a new issue