mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-09-30 00:23:18 -07:00
Add external link icons & all outstanding changes from Living copy (#1173)
* Refactor Footer component - Make Footer component align to normal folder structure - Make links in Footer use LinkTypeWrapper, which will allow icon to be added to all external links in one place * Add Trussworks link to LinkTypeWrapper * Add icon to SurveyButton comp * Add launch icon to About page cards * Add launch icon to FederalRegister link * Refactor Methodology page - Add Source and Available for fields to dataset Cards - refactor data structure for dataset Cards to handle more than 1 source - update constants file - modify SASS for source list items - update snapshots * Add copy changes; How you can help and territories * Update methodology section with copy changes * Swap out all email links with <LinkTypeWrapper> - update tests
This commit is contained in:
parent
4c7d729cf7
commit
e677df794d
26 changed files with 1867 additions and 968 deletions
|
@ -4,6 +4,7 @@ import {useIntl, FormattedMessage} from 'gatsby-plugin-intl';
|
|||
|
||||
import J40MainGridContainer from '../components/J40MainGridContainer';
|
||||
import Layout from '../components/layout';
|
||||
import LinkTypeWrapper from '../components/LinkTypeWrapper';
|
||||
|
||||
import * as CONTACT_COPY from '../data/copy/contact';
|
||||
interface IContactPageProps {
|
||||
|
@ -32,12 +33,12 @@ const ContactPage = ({location}: IContactPageProps) => {
|
|||
defaultMessage={CONTACT_COPY.CONTACT_VIA_EMAIL.DEFAULT_MESSAGE}
|
||||
values={{
|
||||
general_email_address:
|
||||
<a
|
||||
href={`mailto:${CONTACT_COPY.FEEDBACK_EMAIL}`}
|
||||
target="_blank"
|
||||
rel="noreferrer">
|
||||
{CONTACT_COPY.FEEDBACK_EMAIL}
|
||||
</a>,
|
||||
<LinkTypeWrapper
|
||||
linkText= {CONTACT_COPY.FEEDBACK_EMAIL}
|
||||
internal= {false}
|
||||
url= {`mailto:${CONTACT_COPY.FEEDBACK_EMAIL}`}
|
||||
openUrlNewTab= {true}
|
||||
/>,
|
||||
}}/>
|
||||
</p>
|
||||
</Grid>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue