0
Fork 0
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:
simeng-li 2024-11-15 10:27:07 +08:00 committed by GitHub
parent ca85faed41
commit 2791fca224
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View file

@ -8,6 +8,7 @@ import TextInput from '@/ds-components/TextInput';
import { type SignInExperienceForm } from '@/pages/SignInExperience/types';
import { uriValidator } from '@/utils/validator';
import FormFieldDescription from '../../components/FormFieldDescription';
import FormSectionTitle from '../../components/FormSectionTitle';
function SupportForm() {
@ -21,6 +22,7 @@ function SupportForm() {
return (
<Card>
<FormSectionTitle title="content.support.title" />
<FormFieldDescription>{t('sign_in_exp.content.support.subtitle')}</FormFieldDescription>
<FormField title="sign_in_exp.content.support.support_email">
<TextInput
{...register('supportEmail', {

View file

@ -26,6 +26,7 @@ const content = {
},
support: {
title: 'SUPPORT',
subtitle: 'Display your support channels on error pages for quick user assistance.',
support_email: 'Support email',
support_email_placeholder: 'support@email.com',
support_website: 'Support website',