diff options
author | 2020-09-28 02:23:04 +0100 | |
---|---|---|
committer | 2020-09-28 02:23:04 +0100 | |
commit | 01d7fdef889350a25767d5b1999f8698de7ba5a6 (patch) | |
tree | b2b7ef8d957a6cf00b0192c10e89f5f8e2a7682e /src/App.tsx | |
parent | Initialize project using Create React App (diff) |
Initial commit
Diffstat (limited to 'src/App.tsx')
-rw-r--r-- | src/App.tsx | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/src/App.tsx b/src/App.tsx index a53698a..3505dc1 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,26 +1,27 @@ -import React from 'react'; -import logo from './logo.svg'; -import './App.css'; +/** @jsx jsx */ +import { css, jsx, Global } from "@emotion/core"; + +import LandingPage from "./pages/LandingPage"; +import colors from "./colors"; + +const globalStyles = css` +@import url('https://fonts.googleapis.com/css2?family=Hind:wght@700&display=swap'); + +body { + background-color: ${colors.notQuiteBlack}; + color: white; + font-family: "Hind", "Helvetica", "Arial", sans-serif; + margin: 0; +} +`; function App() { return ( - <div className="App"> - <header className="App-header"> - <img src={logo} className="App-logo" alt="logo" /> - <p> - Edit <code>src/App.tsx</code> and save to reload. - </p> - <a - className="App-link" - href="https://reactjs.org" - target="_blank" - rel="noopener noreferrer" - > - Learn React - </a> - </header> + <div> + <Global styles={globalStyles}/> + <LandingPage/> </div> ); -} +}; export default App; |