From cabc86b83951b9fefb7e864fba82f1d93715c805 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Fri, 13 Apr 2018 10:14:04 -0400 Subject: variables --- frontend/pages/diagram.js | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'frontend/pages') diff --git a/frontend/pages/diagram.js b/frontend/pages/diagram.js index f7e9a7a..a5ad1f7 100644 --- a/frontend/pages/diagram.js +++ b/frontend/pages/diagram.js @@ -6,6 +6,10 @@ const DiagramStyles = styled.div` display: grid; grid-template-columns: repeat(8, 1fr); grid-column-gap: 20px; + h1 { + grid-column: 1 / -1; + grid-row: 1; + } ul { margin: 0; padding: 0; @@ -33,7 +37,7 @@ const DiagramStyles = styled.div` padding: 20px; min-height: 500px; grid-column: span 2; - grid-row: 3; + grid-row: 4; line-height: 1.7; } @@ -41,20 +45,21 @@ const DiagramStyles = styled.div` grid-column: span 4; background: red; padding: 5px; + grid-row: 2; text-align: center; color: white; text-transform: uppercase; } .arrow { - font-size: 50px; + font-size: 30px; line-height: 1; transform: translateX(-10px) translateX(-50%); text-align: center; - grid-row: 2; + grid-row: 3; margin-bottom: -100%; background: white; - height: 60px; + height: 40px; } .arrow1 { grid-column: 3; @@ -80,8 +85,9 @@ const DiagramStyles = styled.div` const Diagram = () => ( +

The Pieces of our Application

Frontend - Backend + Backend
( src="https://camo.githubusercontent.com/389368863d9b9df25acd07644bad7642459c3533/68747470733a2f2f696d6775722e636f6d2f5376366a3042362e706e67" alt="React.js" /> -

YOGA Server

+

GraphQL Yoga

An Express GraphQL Server For:
    @@ -165,7 +171,7 @@ const Diagram = () => ( src="https://camo.githubusercontent.com/87336b0d10b0d1f27518e14c4a36f995babd6a2f/68747470733a2f2f696d6775722e636f6d2f485575313072482e706e67" alt="React.js" /> -

    Prisma Server

    +

    Prisma

    A GraphQL Database Interface
      -- cgit v1.3