mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-09-05 05:32:16 -07:00
Open external links in new tabs (#731)
* Open external links in new tabs - allow contact page mailto link opens in new tab - allow about page mailto link opens in new tab - comment against opening external links in same tab * Update snapshots
This commit is contained in:
parent
53c2d98eaa
commit
77a5f179a9
5 changed files with 16 additions and 1 deletions
|
@ -38,7 +38,12 @@ const ContactPage = ({location}: IContactPageProps) => {
|
|||
defaultMessage={CONTACT_COPY.CONTACT_VIA_EMAIL.DEFAULT_MESSAGE}
|
||||
values={{
|
||||
general_email_address:
|
||||
<a href={`mailto:${CONTACT_COPY.FEEDBACK_EMAIL}`}>{CONTACT_COPY.FEEDBACK_EMAIL}</a>,
|
||||
<a
|
||||
href={`mailto:${CONTACT_COPY.FEEDBACK_EMAIL}`}
|
||||
target="_blank"
|
||||
rel="noreferrer">
|
||||
{CONTACT_COPY.FEEDBACK_EMAIL}
|
||||
</a>,
|
||||
}}/>
|
||||
</p>
|
||||
</Grid>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue