Skip to content

Commit

Permalink
Merge pull request #77 from tom0827/EPICSYSTEM-129
Browse files Browse the repository at this point in the history
[EPICSYSTEM-129]: make support links mailto
  • Loading branch information
tom0827 authored Jul 24, 2024
2 parents 48f98f7 + 8a0626d commit 58809c1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion met-web/src/components/common/Modals/types.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ReactNode } from 'react';

export interface ModalSubtext {
text: string;
text: string | ReactNode;
bold?: boolean;
}

Expand Down
5 changes: 4 additions & 1 deletion met-web/src/components/engagement/view/FailurePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ const FailurePanel = ({ email, handleClose, tryAgain, visibility }: FailurePanel
<MetBody>Please verify your email and try again.</MetBody>
</Grid>
<Grid item xs={12}>
<MetBody>If this problem persists, contact eao.epicsystem@gov.bc.ca</MetBody>
<MetBody>
If this problem persists, contact{' '}
<a href="mailto:eao.epicsystem@gov.bc.ca">eao.epicsystem@gov.bc.ca</a>
</MetBody>
</Grid>
<Grid item container xs={12} direction="row" justifyContent="flex-end" spacing={1} sx={{ mt: '1em' }}>
<Stack direction={{ xs: 'column', sm: 'row' }} spacing={1} width="100%" justifyContent="flex-end">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,12 @@ const EmailListModal = ({ open, setOpen }: { open: boolean; setOpen: (open: bool
text: 'Please verify your email and try again.',
},
{
text: 'If this problem persists, contact eao.epicsystem@gov.bc.ca',
text: (
<>
If this problem persists, contact{' '}
<a href="mailto:eao.epicsystem@gov.bc.ca">eao.epicsystem@gov.bc.ca</a>
</>
),
},
],
},
Expand Down
5 changes: 4 additions & 1 deletion met-web/src/routes/NotFound.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ const SuggestionsList = () => (
Go to our <Link to="/">homepage</Link> and browse through our past and current engagements
</li>
<li style={listItemStyle}>Telephone Device for the Deaf (TDD) across B.C.: 711</li>
<li style={listItemStyle}>If you would like to email us, please contact eao.epicsystem@gov.bc.ca.</li>
<li style={listItemStyle}>
If you would like to email us, please contact{' '}
<a href="mailto:eao.epicsystem@gov.bc.ca">eao.epicsystem@gov.bc.ca</a>.
</li>
</ul>
</Box>
);
Expand Down

0 comments on commit 58809c1

Please sign in to comment.