From 5eeb4410748d0b97a1055cab66293c95dacd7d4f Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Mon, 1 Jun 2020 16:44:31 +0100 Subject: [PATCH] Add a BLM banner --- src/components/Container/Container.js | 10 ++++++-- src/components/LayoutFooter/Footer.js | 1 + src/components/LayoutHeader/Header.js | 25 +++++++++++++++++++ .../MarkdownHeader/MarkdownHeader.js | 6 ++--- src/components/MarkdownPage/MarkdownPage.js | 6 ++++- src/css/reset.css | 1 - src/pages/index.js | 7 +++++- .../NavigationFooter/NavigationFooter.js | 2 ++ src/templates/components/Sidebar/Sidebar.js | 2 ++ src/theme.js | 3 +++ 10 files changed, 55 insertions(+), 8 deletions(-) diff --git a/src/components/Container/Container.js b/src/components/Container/Container.js index 8ed280c5..0a872453 100644 --- a/src/components/Container/Container.js +++ b/src/components/Container/Container.js @@ -15,14 +15,20 @@ import type {Node} from 'react'; * This component wraps page content sections (eg header, footer, main). * It provides consistent margin and max width behavior. */ -const Container = ({children}: {children: Node}) => ( +const Container = ({ + children, + grayscale, +}: { + children: Node, + grayscale: boolean, +}) => (
(