mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 10:04:18 -08:00
improve header components
1. remove "this is a US Government website" 2. modify "update" text to indicate new status.
This commit is contained in:
parent
b8540564c2
commit
faa204f12d
3 changed files with 6 additions and 6 deletions
|
@ -10,7 +10,7 @@ import {
|
|||
import {Link, useIntl} from 'gatsby-plugin-intl';
|
||||
import React, {useEffect, useState} from 'react';
|
||||
import {useWindowSize} from 'react-use';
|
||||
import GovernmentBanner from '../GovernmentBanner';
|
||||
// import GovernmentBanner from '../GovernmentBanner';
|
||||
import J40MainGridContainer from '../J40MainGridContainer';
|
||||
import Language from '../Language';
|
||||
|
||||
|
@ -238,7 +238,7 @@ const J40Header = ({location}:IJ40Header) => {
|
|||
<Header basic={true} role={'banner'}>
|
||||
|
||||
{/* Banners */}
|
||||
<GovernmentBanner />
|
||||
{/* <GovernmentBanner /> */}
|
||||
<UpdateBanner/>
|
||||
|
||||
{/* Logo and Navigation */}
|
||||
|
|
|
@ -36,7 +36,7 @@ export const METH_2_0_RELEASE_DATE = new Date(2024, 11, 20, 11, 59, 59); // Dec
|
|||
// Update Banner
|
||||
export const UPDATE_BANNER_HEADING_LARGE = <FormattedMessage
|
||||
id={'common.pages.alerts.banner.update.heading.large'}
|
||||
defaultMessage={'Version 2.0 of the tool is now available'}
|
||||
defaultMessage={'This is an unofficial copy of the CEJST Tool. We are working on an overhaul, but in the meantime some links and text may incorrectly suggest that this site is affiliated with the US Government'}
|
||||
description={'Alert heading that appears at the top of pages'}
|
||||
/>;
|
||||
|
||||
|
@ -56,7 +56,7 @@ export const UPDATE_BANNER_CONTENT_LARGE = <FormattedMessage
|
|||
|
||||
export const UPDATE_BANNER_CONTENT_SMALL = <FormattedMessage
|
||||
id={'common.pages.alerts.banner.update.content.small'}
|
||||
defaultMessage={`<bold>This tool has been updated.</bold> The 2.0 version of the tool was released on {relDate}.`}
|
||||
defaultMessage={`<bold>This is an unofficial copy of the CEJST Tool.</bold> We are working on an overhaul, but in the meantime some links and text may incorrectly suggest that this site is affiliated with the US Government.`}
|
||||
description={`Alert body that appears at the top of pages.`}
|
||||
values={{
|
||||
bold: boldFn,
|
||||
|
|
|
@ -88,11 +88,11 @@
|
|||
"description": "Alert body that appears at the top of pages."
|
||||
},
|
||||
"common.pages.alerts.banner.update.content.small": {
|
||||
"defaultMessage": "<bold>This tool has been updated.</bold> The 2.0 version of the tool was released on {relDate}.",
|
||||
"defaultMessage": "<bold>This is an unofficial copy of the CEJST Tool.</bold> We are working on an overhaul, but in the meantime some links and text may incorrectly suggest that this site is affiliated with the US Government.",
|
||||
"description": "Alert body that appears at the top of pages."
|
||||
},
|
||||
"common.pages.alerts.banner.update.heading.large": {
|
||||
"defaultMessage": "Version 2.0 of the tool is now available",
|
||||
"defaultMessage": "This is an unofficial copy of the CEJST Tool. We are working on an overhaul, but in the meantime some links and text may incorrectly suggest that this site is affiliated with the US Government",
|
||||
"description": "Alert heading that appears at the top of pages"
|
||||
},
|
||||
"common.pages.alerts.census.tract.title": {
|
||||
|
|
Loading…
Add table
Reference in a new issue