Skip to content

Commit

Permalink
feat(console,phrases): add support field description (#6807)
Browse files Browse the repository at this point in the history
add support field description
  • Loading branch information
simeng-li authored Nov 15, 2024
1 parent ca85fae commit 2791fca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 2791fca

Please sign in to comment.