diff --git a/packages/website/src/components/Layout/Layout.js b/packages/website/src/components/Layout/Layout.js
index 50578096..9f6b8ab8 100644
--- a/packages/website/src/components/Layout/Layout.js
+++ b/packages/website/src/components/Layout/Layout.js
@@ -17,7 +17,7 @@ import { readableColor } from "polished";
const FixedHeader = ({ uri }) => {
const { y } = useWindowScroll();
const ref = React.useRef(null);
- const [mode, setMode] = React.useState();
+ const [mode, setMode] = React.useState(null);
React.useLayoutEffect(() => {
const offset = ref.current.offsetHeight + 1;
@@ -34,7 +34,7 @@ const FixedHeader = ({ uri }) => {
return (
-
+ {mode && }
);
};
diff --git a/packages/website/src/components/Navigation/Navigation.js b/packages/website/src/components/Navigation/Navigation.js
index 0c62da8b..f0404bdd 100644
--- a/packages/website/src/components/Navigation/Navigation.js
+++ b/packages/website/src/components/Navigation/Navigation.js
@@ -30,8 +30,6 @@ const Navigation = ({ mode, uri }) => {
const isWindowTop = useWindowTop();
const { data: authenticated } = useAuthenticatedStatus();
- console.log(authenticated);
-
React.useEffect(() => {
setOpen(false);
}, [windowSize, setOpen, uri]);
@@ -170,12 +168,10 @@ const Navigation = ({ mode, uri }) => {
};
Navigation.propTypes = {
- mode: PropTypes.oneOf(["dark", "light"]),
+ mode: PropTypes.oneOf(["dark", "light"]).isRequired,
uri: PropTypes.string,
};
-Navigation.defaultProps = {
- mode: "dark",
-};
+Navigation.defaultProps = {};
export default Navigation;
diff --git a/packages/website/src/pages/about.js b/packages/website/src/pages/about.js
index bb7a853b..7929d721 100644
--- a/packages/website/src/pages/about.js
+++ b/packages/website/src/pages/about.js
@@ -126,7 +126,7 @@ const AboutPage = ({ ...props }) => {
<>
-
+
diff --git a/packages/website/src/pages/news.js b/packages/website/src/pages/news.js
index 0e1674ac..7c0f7719 100644
--- a/packages/website/src/pages/news.js
+++ b/packages/website/src/pages/news.js
@@ -50,6 +50,12 @@ const NewsPage = ({ data }) => {
+ {/* this is the gray box in the top left corner, 400px height is totally arbitrary but it works */}
+
+
{data.allMarkdownRemark.edges.map(({ node }) => (
diff --git a/packages/website/src/templates/news-post.js b/packages/website/src/templates/news-post.js
index e51744fc..37b00e2d 100644
--- a/packages/website/src/templates/news-post.js
+++ b/packages/website/src/templates/news-post.js
@@ -16,7 +16,7 @@ const BlogPostTemplate = ({ data, location }) => {
return (
<>
-
+
{post.frontmatter.title}
diff --git a/packages/website/tailwind.config.js b/packages/website/tailwind.config.js
index 363396a5..2d18dca3 100644
--- a/packages/website/tailwind.config.js
+++ b/packages/website/tailwind.config.js
@@ -55,6 +55,7 @@ module.exports = {
backgroundImage: {
mobile: "url('/bg-mobile.svg')",
desktop: "url('/bg.svg')",
+ column: `linear-gradient(to right, ${colors.palette[100]}, ${colors.palette[100]} calc(50% - 288px), transparent calc(50% - 288px))`,
},
},
},
@@ -73,7 +74,7 @@ module.exports = {
addBase({
body: {
color: theme("textColor.palette.600"),
- backgroundColor: theme("backgroundColor.palette.600"),
+ backgroundColor: theme("backgroundColor.palette.500"),
},
});
}),