mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-15 19:01:40 -07:00
Make priority copy updates
This commit is contained in:
parent
7626a2e051
commit
048fec4886
27 changed files with 388 additions and 343 deletions
|
@ -1,25 +1,25 @@
|
|||
import React, {useEffect, useState} from 'react';
|
||||
import {Link, useIntl} from 'gatsby-plugin-intl';
|
||||
import {
|
||||
Grid,
|
||||
// Alert,
|
||||
Header,
|
||||
Menu,
|
||||
NavDropDownButton,
|
||||
NavMenuButton,
|
||||
PrimaryNav,
|
||||
Grid,
|
||||
NavDropDownButton,
|
||||
Menu,
|
||||
} from '@trussworks/react-uswds';
|
||||
import BetaBanner from '../BetaBanner';
|
||||
import J40MainGridContainer from '../J40MainGridContainer';
|
||||
import GovernmentBanner from '../GovernmentBanner';
|
||||
import Language from '../Language';
|
||||
import {Link, useIntl} from 'gatsby-plugin-intl';
|
||||
import React, {useEffect, useState} from 'react';
|
||||
import {useWindowSize} from 'react-use';
|
||||
import GovernmentBanner from '../GovernmentBanner';
|
||||
import J40MainGridContainer from '../J40MainGridContainer';
|
||||
import Language from '../Language';
|
||||
|
||||
// @ts-ignore
|
||||
import siteLogo from '../../images/j40-logo-v2.png';
|
||||
import * as styles from './J40Header.module.scss';
|
||||
import * as COMMON_COPY from '../../data/copy/common';
|
||||
import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../../data/constants';
|
||||
import * as COMMON_COPY from '../../data/copy/common';
|
||||
import siteLogo from '../../images/j40-logo-v2.png';
|
||||
import UpdateBanner from '../UpdateBanner';
|
||||
import * as styles from './J40Header.module.scss';
|
||||
|
||||
|
||||
interface IJ40Header {
|
||||
|
@ -247,7 +247,7 @@ const J40Header = ({location}:IJ40Header) => {
|
|||
|
||||
{/* Banners */}
|
||||
<GovernmentBanner />
|
||||
<BetaBanner/>
|
||||
<UpdateBanner/>
|
||||
|
||||
{/* Logo and Navigation */}
|
||||
<J40MainGridContainer>
|
||||
|
|
|
@ -140,32 +140,27 @@ exports[`rendering of the J40Header checks if component renders 1`] = `
|
|||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<div>
|
||||
<img
|
||||
alt="language icon for selecting language"
|
||||
src="test-file-stub"
|
||||
/>
|
||||
<a
|
||||
class="usa-link"
|
||||
href="#"
|
||||
>
|
||||
English
|
||||
</a>
|
||||
<a
|
||||
class="usa-link"
|
||||
href="#"
|
||||
>
|
||||
Español
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div>
|
||||
<strong>
|
||||
This tool has been updated.
|
||||
</strong>
|
||||
The 1.0 version of the tool was released on Nov 22, 2022.
|
||||
<div
|
||||
class="usa-alert usa-alert--info"
|
||||
data-testid="alert"
|
||||
>
|
||||
<div
|
||||
class="usa-alert__body"
|
||||
>
|
||||
<h1
|
||||
class="usa-alert__heading"
|
||||
>
|
||||
Version 2.0 of the tool is now available
|
||||
</h1>
|
||||
<p
|
||||
class="usa-alert__text"
|
||||
>
|
||||
The Council on Environmental Quality (CEQ) made the 2.0 version of the tool available on Dec 19, 2024.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue