This repository has been archived by the owner on Nov 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3636 from ONRR/dev
Dev-->Master
- Loading branch information
Showing
13 changed files
with
119 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<section class="alert-banner"> | ||
<span class="banner-centered"><img src="{{site.baseurl}}/public/img/icons/icon-alert.svg" width="30px" class="icon-bottom" /> Due to the government shutdown, we're unable to update this site. We will resume work on the site when the shutdown ends.</span> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
gatsby-site/src/components/layouts/AlertBanner/AlertBanner.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react'; | ||
|
||
import styles from "./AlertBanner.module.css"; | ||
import AlertIcon from '-!svg-react-loader!../../../img/svg/icon-alert.svg'; | ||
|
||
const AlertBanner = () => ( | ||
<section className={styles.root}> | ||
<span><AlertIcon className={styles.alertImage} /> Due to the government shutdown, we're unable to update this site. We will resume work on the site when the shutdown ends.</span> | ||
</section> | ||
); | ||
|
||
export default AlertBanner; |
18 changes: 18 additions & 0 deletions
18
gatsby-site/src/components/layouts/AlertBanner/AlertBanner.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
.root { | ||
background-color: #fff1d2;; | ||
margin: 0 0 1rem 0; | ||
font-size: 1rem; | ||
font-weight: 300; | ||
line-height: 1.1875rem; | ||
margin-bottom: 0.8rem; | ||
padding: 0.8em 1.875em; | ||
text-align: center; | ||
} | ||
|
||
.alertImage { | ||
width: 30px; | ||
height: 20px; | ||
vertical-align: top; | ||
margin-right: 3px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
export {default as AlertBanner} from './AlertBanner' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.