forked from mswjs/mswjs.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2c5920c
commit 92a7e8e
Showing
3 changed files
with
45 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import * as React from 'react' | ||
import styled from 'styled-components' | ||
import { Box } from 'atomic-layout' | ||
import { Grid } from './Grid' | ||
|
||
const BannerContainer = styled.div` | ||
background-color: var(--color-black); | ||
color: #fff; | ||
padding: 0.75rem 0; | ||
font-weight: 500; | ||
a { | ||
color: var(--color-primary); | ||
font-weight: bold; | ||
} | ||
` | ||
|
||
export function Banner(): JSX.Element { | ||
return ( | ||
<BannerContainer> | ||
<Grid> | ||
<Box | ||
flex | ||
alignItems="center" | ||
justifyContent="center" | ||
flexDirectionSmDown="column" | ||
> | ||
<Box as="span" marginRight="0.5ch"> | ||
Support Ukraine 🇺🇦 | ||
</Box>{' '} | ||
<a | ||
href="https://bank.gov.ua/en/about/support-the-armed-forces" | ||
target="_blank" | ||
> | ||
Support Ukrainian Military to Win The War. | ||
</a> | ||
</Box> | ||
</Grid> | ||
</BannerContainer> | ||
) | ||
} |
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