diff --git a/client/About.css b/client/About.css new file mode 100644 index 0000000..34f900e --- /dev/null +++ b/client/About.css @@ -0,0 +1,13 @@ +.about-logos { + margin: 2em 0; + display: flex; + justify-content: center; +} +.about-logo { + text-align: center; + flex: 1; + max-width: 80%; +} +.about-logo img { + max-width: 60%; +} diff --git a/client/About.js b/client/About.js index 088141e..b963ab6 100644 --- a/client/About.js +++ b/client/About.js @@ -1,8 +1,16 @@ +import "./About.css"; + import React from "react"; + import contentHTML from "./About.md"; -const About = () => ( -
-); +function About() { + return ( + + ); +} export default About; diff --git a/client/Home.css b/client/Home.css new file mode 100644 index 0000000..6ecb1ee --- /dev/null +++ b/client/Home.css @@ -0,0 +1,6 @@ +.home-example { + text-align: center; + background-color: #eee; + margin: 2em 0; + padding: 5px 0; +} diff --git a/client/Home.js b/client/Home.js index 7d4de6a..2722e5b 100644 --- a/client/Home.js +++ b/client/Home.js @@ -1,8 +1,16 @@ +import "./Home.css"; + import React from "react"; + import contentHTML from "./Home.md"; -const Home = () => ( - -); +function Home() { + return ( + + ); +} export default Home; diff --git a/client/Layout.css b/client/Layout.css new file mode 100644 index 0000000..fb561e8 --- /dev/null +++ b/client/Layout.css @@ -0,0 +1,38 @@ +.layout-title { + margin: 0; + text-transform: uppercase; + text-align: center; + font-size: 5em; +} + +.layout-nav { + margin: 0 0 3em; +} + +.layout-navList { + margin: 0; + padding: 0; + display: flex; + justify-content: center; +} +.layout-navList li { + flex-basis: auto; + list-style-type: none; + display: inline-block; + font-size: 1.1em; + margin: 0 10px; +} +.layout-navList li a:link { + text-decoration: none; +} +.layout-navList li a:link, +.layout-navList li a:visited { + color: black; +} + +.layout-navUnderline { + height: 4px; + background-color: black; + position: absolute; + left: 0; +} diff --git a/client/Layout.js b/client/Layout.js index 12d8f08..eed1b18 100644 --- a/client/Layout.js +++ b/client/Layout.js @@ -1,7 +1,10 @@ +import "./Layout.css"; + import React from "react"; import PropTypes from "prop-types"; import { Motion, spring } from "react-motion"; import { Switch, Route, Link, withRouter } from "react-router-dom"; + import WindowSize from "./WindowSize"; import About from "./About"; import Stats from "./Stats"; @@ -78,14 +81,14 @@ class Layout extends React.Component { }; return ( -