From 96d9aec89a52f1d2edceb62b3d8653de39f8992c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Sirois Date: Mon, 29 Jul 2019 23:35:43 -0400 Subject: [PATCH] ui: wip on styling resources page --- src/components/ResourcesLayout/index.tsx | 8 +++---- src/components/ResourcesLayout/styles.tsx | 8 ++++++- src/components/ResourcesSidebar/index.tsx | 18 ++++++++------ src/components/ResourcesSidebar/styles.tsx | 26 ++++++++++++++++++++- src/globalStyles.tsx | 1 + src/images/tph-banner.png | Bin 0 -> 39842 bytes 6 files changed, 48 insertions(+), 13 deletions(-) create mode 100644 src/images/tph-banner.png diff --git a/src/components/ResourcesLayout/index.tsx b/src/components/ResourcesLayout/index.tsx index 97298bb..08af008 100644 --- a/src/components/ResourcesLayout/index.tsx +++ b/src/components/ResourcesLayout/index.tsx @@ -10,7 +10,6 @@ import { useStaticQuery, graphql } from "gatsby" import { GlobalStyles } from "../../globalStyles" import { ResourcesSidebar } from "../ResourcesSidebar" -import { Footer } from "../Footer" import * as SC from "./styles" export function ResourcesLayout({ children }: PropsWithChildren<{}>) { @@ -30,11 +29,12 @@ export function ResourcesLayout({ children }: PropsWithChildren<{}>) { -

{data.site.siteMetadata.title}

- {children} + +

{data.site.siteMetadata.title}

+ {children} +
-