Skip to content

Commit d553fd1

Browse files
committed
Simplify help text for users with no tickets
1 parent bcfe298 commit d553fd1

1 file changed

Lines changed: 16 additions & 13 deletions

File tree

apps/passport-client/new-components/shared/Modals/HelpModal.tsx

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Spacer } from "@pcd/passport-ui";
2-
import { ZUPASS_SUPPORT_EMAIL } from "@pcd/util";
32
import styled from "styled-components";
43
import { useBottomModal, useDispatch, useSelf } from "../../../src/appHooks";
54
import { Accordion } from "../Accordion";
@@ -18,7 +17,7 @@ export const HelpModal = (): JSX.Element => {
1817
<BottomModal isOpen={activeBottomModal.modalType === "help-modal"}>
1918
<BottomModalHeader
2019
title="DON’T SEE YOUR TICKET?"
21-
description="We don’t see an upcoming event that matches the emails under your account."
20+
description="We don’t see an event that matches the emails under your account."
2221
/>
2322
<Spacer h={20} />
2423
{self && (
@@ -47,17 +46,13 @@ export const HelpModal = (): JSX.Element => {
4746
)}
4847
<Spacer h={8} />
4948
<ButtonsContainer>
50-
<Button2
51-
onClick={() => {
52-
window.open(
53-
`mailto:${ZUPASS_SUPPORT_EMAIL}?subject=Ticket Support (${self.emails.join(
54-
", "
55-
)})&body=Hi, I'd like to request support on finding my ticket in Zupass. My email(s) are listed in the subject of this email.`
56-
);
57-
}}
58-
>
59-
Contact support
60-
</Button2>
49+
<Description>
50+
Make sure the email above matches the one you used to purchase your
51+
ticket. If it does not, you can either add that email to your existing
52+
Zupass account, or ask the event organizing team to update the ticket
53+
with the new email.
54+
</Description>
55+
6156
<Button2
6257
variant="secondary"
6358
onClick={() => {
@@ -74,6 +69,14 @@ export const HelpModal = (): JSX.Element => {
7469
);
7570
};
7671

72+
const Description = styled.div`
73+
font-size: 16px;
74+
font-weight: 400;
75+
color: var(--text-primary);
76+
margin-bottom: 16px;
77+
margin-top: 16px;
78+
`;
79+
7780
const ButtonsContainer = styled.div`
7881
display: flex;
7982
flex-direction: column;

0 commit comments

Comments
 (0)