Skip to content

Commit

Permalink
Merge branch 'release/webpage-3' into release/webpage-2
Browse files Browse the repository at this point in the history
  • Loading branch information
igr-santos committed Oct 30, 2024
2 parents e1f8c80 + d5b95b5 commit 237d5ab
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ type Props = {
settings: {
main_color: string;
show_city?: string;
show_phone?: string;
button_text: string;
pressure_subject?: string;
pressure_body?: string;
Expand Down Expand Up @@ -67,6 +68,7 @@ const PressureForm = ({
settings: {
show_city: showCity,
show_state: showState,
show_phone: showPhone,
main_color: buttonColor,
button_text: buttonText,
is_subject_list: isSubjectList = 'n',
Expand Down Expand Up @@ -146,6 +148,16 @@ const PressureForm = ({
</WrapInputs>
)}
{BeforeStandardFields && <MemoBeforeStandardFields />}
{showPhone && showPhone == 's' && (
<WrapInputs>
<InputField
label={t('Pressure Phone Label')}
name="phone"
placeholder={t('Pressure Phone Placeholder')}
mask="+55 (99) 9 9999-9999"
/>
</WrapInputs>
)}
<WrapInputs>
<InputField
label={t('Pressure Name Label')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export default {
"Pressure City Label": "Cidade",
"Pressure City Placeholder": "Insira sua cidade",
"Pressure State Label": "Estado",
"Pressure Phone Label": "Whatsapp",
"Pressure Phone Placeholder": "Insira seu número com DDD",
"Pressure Email Label": "E-mail",
"Pressure Email Placeholder": "Insira seu e-mail",
"Pressure Subject Label": "Assunto",
Expand All @@ -32,5 +34,5 @@ export default {
"Pressure Network Failed": "Houve um erro ao fazer a pressão",
"Pressure TargetBlank Validation": "Ops, você precisa selecionar pelo menos um alvo para poder pressionar",
"Political Filename": "politica-de-privacidade",
"Share Social Midia": "Compartilhar no {{app}}"
"Share Social Midia": "Compartilhar no {{app}}",
}

0 comments on commit 237d5ab

Please sign in to comment.