From 52a9caba79bd474e73eed7ee2901dcf9e8549d61 Mon Sep 17 00:00:00 2001 From: Justyn Oh Date: Mon, 25 Mar 2024 15:52:46 +0800 Subject: [PATCH] chore: switch advertising for checkpoint to mrf --- frontend/src/constants/links.ts | 1 - .../admin-form/settings/components/EmailFormSection.tsx | 8 ++++---- .../CreateFormModalContent/FormResponseOptions.tsx | 1 - 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/frontend/src/constants/links.ts b/frontend/src/constants/links.ts index db6038c780..5576449f5f 100644 --- a/frontend/src/constants/links.ts +++ b/frontend/src/constants/links.ts @@ -78,7 +78,6 @@ export const LANDING_PAGE_EXAMPLE_FORMS = [ export const OGP_ALL_PRODUCTS = 'https://www.open.gov.sg/products/overview' export const OGP_POSTMAN = 'https://postman.gov.sg' -export const OGP_CHECKPOINT = 'https://checkpoint.gov.sg' export const OGP_FORMSG_COLLATE = 'https://collate.form.gov.sg' export const OGP_SGID = 'https://go.gov.sg/sgid-formsg' diff --git a/frontend/src/features/admin-form/settings/components/EmailFormSection.tsx b/frontend/src/features/admin-form/settings/components/EmailFormSection.tsx index 1e3e62ec4c..ab7b32ca26 100644 --- a/frontend/src/features/admin-form/settings/components/EmailFormSection.tsx +++ b/frontend/src/features/admin-form/settings/components/EmailFormSection.tsx @@ -10,7 +10,7 @@ import { Flex, FormControl, Icon } from '@chakra-ui/react' import { get, isEmpty, isEqual } from 'lodash' import isEmail from 'validator/lib/isEmail' -import { GUIDE_PREVENT_EMAIL_BOUNCE, OGP_CHECKPOINT } from '~constants/links' +import { GUIDE_FORM_MRF, GUIDE_PREVENT_EMAIL_BOUNCE } from '~constants/links' import { useMdComponents } from '~hooks/useMdComponents' import { ADMIN_EMAIL_VALIDATION_RULES } from '~utils/formValidation' import FormErrorMessage from '~components/FormControl/FormErrorMessage' @@ -52,7 +52,7 @@ export const EmailFormSection = ({ return ( <> - + { +const MRFAdvertisingInfobox = () => { const mdComponents = useMdComponents() return ( @@ -78,7 +78,7 @@ const CheckpointAdvertisingInfobox = () => { {`Require routing and approval? [Try using Checkpoint to set up an approval workflow](${OGP_CHECKPOINT})`} + >{`Require routing and approval? [Check out our new feature: Multi-respondent forms!](${GUIDE_FORM_MRF})`} ) } diff --git a/frontend/src/features/workspace/components/CreateFormModal/CreateFormModalContent/FormResponseOptions.tsx b/frontend/src/features/workspace/components/CreateFormModal/CreateFormModalContent/FormResponseOptions.tsx index f2ca731298..eb2541728d 100644 --- a/frontend/src/features/workspace/components/CreateFormModal/CreateFormModalContent/FormResponseOptions.tsx +++ b/frontend/src/features/workspace/components/CreateFormModal/CreateFormModalContent/FormResponseOptions.tsx @@ -70,7 +70,6 @@ export const FormResponseOptions = forwardRef< Receive responses in your inbox