Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in solidarity #1918

Merged
merged 1 commit into from Jul 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 19 additions & 0 deletions docs/lib/UI/Banner.js
@@ -0,0 +1,19 @@
import React from "react";

export default function Banner() {
return (
<div className="bg-dark fixed-top" style={{ width: "100%", minHeight: "4em" }}>
<div className="mx-auto d-flex flex-column flex-md-row justify-content-center" style={{ width: "65vw" }}>
<span className="text-light mr-3 h4">Black Lives Matter.</span>
<a
className="h4 banner-link"
target="_blank"
rel="noreferrer"
href="https://support.eji.org/give/153413/#!/donation/checkout"
>
Support the Equal Justice Initiative.
</a>
</div>
</div>
)
}
2 changes: 2 additions & 0 deletions docs/lib/UI/Layout.js
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import Helmet from 'react-helmet';
import Footer from './Footer';
import Nav from './Nav';
import Banner from './Banner';

export default (props) => {
return (
Expand All @@ -15,6 +16,7 @@ export default (props) => {
{ 'property': 'og:type', 'content': 'article' }
]}
/>
<Banner />
<Nav />
{props.children}
<Footer />
Expand Down
2 changes: 1 addition & 1 deletion docs/lib/UI/Nav.js
Expand Up @@ -20,7 +20,7 @@ export default class UINav extends React.Component {
}
render() {
return (
<Navbar className="header" color="faded" light expand="md">
<Navbar className="header" color="faded" light expand="md" style={{ marginTop: "100px" }}>
<Container>
<NavbarBrand className="mr-auto" tag={Link} to="/">reactstrap</NavbarBrand>
<NavbarToggler onClick={this.toggleNavbar} />
Expand Down