Skip to content

Commit 9d40038

Browse files
add notice and link regarding Minnesota
1 parent a2440a1 commit 9d40038

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

src/theme/Navbar/index.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import React from 'react';
2+
import NavbarLayout from '@theme-original/Navbar/Layout';
3+
import NavbarContent from '@theme-original/Navbar/Content';
4+
import styles from './index.module.css';
5+
6+
export default function Navbar() {
7+
return (
8+
<>
9+
<a href="https://www.standwithminnesota.com/" target="__blank" className={styles.topBar}>
10+
<span>
11+
<strong>Minnesotans are being repressed by a violent regime</strong>
12+
<br />
13+
<u>Find out how you can help help!</u>
14+
</span>
15+
</a>
16+
<NavbarLayout>
17+
<NavbarContent />
18+
</NavbarLayout>
19+
</>
20+
);
21+
}

src/theme/Navbar/index.module.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
.topBar {
3+
display: flex;
4+
justify-content: center;
5+
align-items: center;
6+
background-color: #338;
7+
height: 6rem;
8+
color: white;
9+
text-align: center;
10+
}
11+

0 commit comments

Comments
 (0)