|  | @@ -1,86 +1,61 @@
 | 
	
		
			
				|  |  | -import React from "react";
 | 
	
		
			
				|  |  | -import Head from "next/head";
 | 
	
		
			
				|  |  | -import Nav from "../components/nav";
 | 
	
		
			
				|  |  | -import Poll from "../components/poll";
 | 
	
		
			
				|  |  | -import Training from "../components/training";
 | 
	
		
			
				|  |  | -import { TrainingArchive } from "../components/training";
 | 
	
		
			
				|  |  | -import Exercise from "../components/exercise";
 | 
	
		
			
				|  |  | -import { ExerciseList } from "../components/exercise";
 | 
	
		
			
				|  |  | -import { PeopleList } from "../components/people";
 | 
	
		
			
				|  |  | -import Logo from "../components/logo";
 | 
	
		
			
				|  |  | -import data from "../initial-data.js";
 | 
	
		
			
				|  |  | +import React from 'react'
 | 
	
		
			
				|  |  | +import Head from 'next/head'
 | 
	
		
			
				|  |  | +import Nav from '../components/nav'
 | 
	
		
			
				|  |  | +import Sidebar from '../components/sidebar'
 | 
	
		
			
				|  |  | +import Poll from '../components/poll'
 | 
	
		
			
				|  |  | +import Training from '../components/training'
 | 
	
		
			
				|  |  | +import { TrainingArchive } from '../components/training'
 | 
	
		
			
				|  |  | +import Exercise from '../components/exercise'
 | 
	
		
			
				|  |  | +import { ExerciseList } from '../components/exercise'
 | 
	
		
			
				|  |  | +import { PeopleList } from '../components/people'
 | 
	
		
			
				|  |  | +import data from '../initial-data.js'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const Home = () => (
 | 
	
		
			
				|  |  |    <div>
 | 
	
		
			
				|  |  |      <Head>
 | 
	
		
			
				|  |  |        <title>Home</title>
 | 
	
		
			
				|  |  | -      <link rel="icon" href="/favicon.ico" />
 | 
	
		
			
				|  |  | +      <link
 | 
	
		
			
				|  |  | +        href='https://fonts.googleapis.com/css?family=Noto+Sans&display=swap'
 | 
	
		
			
				|  |  | +        rel='stylesheet'
 | 
	
		
			
				|  |  | +      />
 | 
	
		
			
				|  |  | +      <link rel='icon' href='/favicon.ico' />
 | 
	
		
			
				|  |  |      </Head>
 | 
	
		
			
				|  |  | -    <Nav />
 | 
	
		
			
				|  |  | -    <Logo />
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    <Poll />
 | 
	
		
			
				|  |  | -    <TrainingArchive trainings={data.trainings} />
 | 
	
		
			
				|  |  | -    <ExerciseList exercises={data.exercises} />
 | 
	
		
			
				|  |  | -    <PeopleList people={data.people} />
 | 
	
		
			
				|  |  | +    <Nav />
 | 
	
		
			
				|  |  | +    <Sidebar />
 | 
	
		
			
				|  |  | +    <div id='content'>
 | 
	
		
			
				|  |  | +      <Poll />
 | 
	
		
			
				|  |  | +      <TrainingArchive trainings={data.trainings} />
 | 
	
		
			
				|  |  | +      <ExerciseList exercises={data.exercises} />
 | 
	
		
			
				|  |  | +      <PeopleList people={data.people} />
 | 
	
		
			
				|  |  | +      <Training training={data.trainings[data.trainings.length - 1]} />
 | 
	
		
			
				|  |  | +    </div>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <style jsx>{`
 | 
	
		
			
				|  |  | -      html {
 | 
	
		
			
				|  |  | +      :global(html) {
 | 
	
		
			
				|  |  | +        font-family: 'Noto Sans', sans-serif;
 | 
	
		
			
				|  |  |          box-sizing: border-box;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -      *,
 | 
	
		
			
				|  |  | -      *:before,
 | 
	
		
			
				|  |  | -      *:after {
 | 
	
		
			
				|  |  | +      :global(*),
 | 
	
		
			
				|  |  | +      :global(*:before),
 | 
	
		
			
				|  |  | +      :global(*:after) {
 | 
	
		
			
				|  |  |          box-sizing: inherit;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -      .hero {
 | 
	
		
			
				|  |  | -        width: 100%;
 | 
	
		
			
				|  |  | -        color: #333;
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | -      .title {
 | 
	
		
			
				|  |  | -        margin: 0;
 | 
	
		
			
				|  |  | -        width: 100%;
 | 
	
		
			
				|  |  | -        padding-top: 80px;
 | 
	
		
			
				|  |  | -        line-height: 1.15;
 | 
	
		
			
				|  |  | -        font-size: 48px;
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | -      .title,
 | 
	
		
			
				|  |  | -      .description {
 | 
	
		
			
				|  |  | -        text-align: center;
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | -      .row {
 | 
	
		
			
				|  |  | -        max-width: 880px;
 | 
	
		
			
				|  |  | -        margin: 80px auto 40px;
 | 
	
		
			
				|  |  | -        display: flex;
 | 
	
		
			
				|  |  | -        flex-direction: row;
 | 
	
		
			
				|  |  | -        justify-content: space-around;
 | 
	
		
			
				|  |  | +      :global(body) {
 | 
	
		
			
				|  |  | +        display: grid;
 | 
	
		
			
				|  |  | +        grid-template-columns: 250px 1fr;
 | 
	
		
			
				|  |  | +        grid-template-areas:
 | 
	
		
			
				|  |  | +          'header header'
 | 
	
		
			
				|  |  | +          'sidebar content';
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  | -      .card {
 | 
	
		
			
				|  |  | -        padding: 18px 18px 24px;
 | 
	
		
			
				|  |  | -        width: 220px;
 | 
	
		
			
				|  |  | -        text-align: left;
 | 
	
		
			
				|  |  | -        text-decoration: none;
 | 
	
		
			
				|  |  | -        color: #434343;
 | 
	
		
			
				|  |  | -        border: 1px solid #9b9b9b;
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | -      .card:hover {
 | 
	
		
			
				|  |  | -        border-color: #067df7;
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | -      .card h3 {
 | 
	
		
			
				|  |  | -        margin: 0;
 | 
	
		
			
				|  |  | -        color: #067df7;
 | 
	
		
			
				|  |  | -        font-size: 18px;
 | 
	
		
			
				|  |  | -      }
 | 
	
		
			
				|  |  | -      .card p {
 | 
	
		
			
				|  |  | -        margin: 0;
 | 
	
		
			
				|  |  | -        padding: 12px 0 0;
 | 
	
		
			
				|  |  | -        font-size: 13px;
 | 
	
		
			
				|  |  | -        color: #333;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +      #content {
 | 
	
		
			
				|  |  | +        grid-area: content;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      `}</style>
 | 
	
		
			
				|  |  |    </div>
 | 
	
		
			
				|  |  | -);
 | 
	
		
			
				|  |  | +)
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -export default Home;
 | 
	
		
			
				|  |  | +export default Home
 |