From 7a2121789bc5bf80ecb9958e44b0b5d2db2142a7 Mon Sep 17 00:00:00 2001 From: Mike Allanson Date: Wed, 9 May 2018 10:41:40 +0100 Subject: [PATCH] Remove workshop banner now that workshops have finished --- www/src/components/navigation.js | 1 - www/src/layouts/index.js | 30 +++--------------------------- www/src/pages/blog/index.js | 1 - www/src/pages/plugins.js | 2 +- 4 files changed, 4 insertions(+), 30 deletions(-) diff --git a/www/src/components/navigation.js b/www/src/components/navigation.js index 695bd0adeefd5..6796f6c3e5a9b 100644 --- a/www/src/components/navigation.js +++ b/www/src/components/navigation.js @@ -96,7 +96,6 @@ export default ({ pathname }) => { zIndex: `2`, left: 0, right: 0, - top: `calc(2.8rem - 1px)`, [presets.Tablet]: { position: isHomepage || isBlog ? `absolute` : `fixed`, }, diff --git a/www/src/layouts/index.js b/www/src/layouts/index.js index 3b6a99810221b..09ef7f3a570f6 100644 --- a/www/src/layouts/index.js +++ b/www/src/layouts/index.js @@ -1,6 +1,5 @@ import React from "react" import Helmet from "react-helmet" -import { OutboundLink } from "gatsby-plugin-google-analytics" import Navigation from "../components/navigation" import MobileNavigation from "../components/navigation-mobile" @@ -9,7 +8,7 @@ import SearchBar from "../components/searchbar-body" import tutorialSidebar from "../pages/docs/tutorial-links.yml" import docsSidebar from "../pages/docs/doc-links.yaml" import featuresSidebar from "../pages/docs/features-links.yaml" -import { rhythm, options } from "../utils/typography" +import { rhythm } from "../utils/typography" import presets, { colors } from "../utils/presets" import hex2rgba from "hex2rgba" import "../css/prism-coy.css" @@ -61,9 +60,9 @@ class DefaultLayout extends React.Component { width: rhythm(10), display: `none`, position: `fixed`, - top: `calc(${presets.headerHeight} + 2.8rem - 1px)`, + top: `calc(${presets.headerHeight} - 1px)`, overflowY: `auto`, - height: `calc(100vh - ${presets.headerHeight} - 2.8rem + 1px)`, + height: `calc(100vh - ${presets.headerHeight} + 1px)`, WebkitOverflowScrolling: `touch`, "::-webkit-scrollbar": { width: `6px`, @@ -133,28 +132,6 @@ class DefaultLayout extends React.Component { /> -
- Live 2-day Gatsby training with Kyle Mathews! Sign up for{` `} - - NYC in May - ! -