Add page styling, add header/footer

This commit is contained in:
Alfred Melch 2019-12-27 11:45:10 +01:00
parent 495ba40f86
commit 1d1b2a4dc0
2 changed files with 28 additions and 2 deletions

18
src/App.css Normal file
View File

@ -0,0 +1,18 @@
body,
html {
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
line-height: 1.5;
background-color: #fce6cb;
}
header {
border-bottom: 2px solid white;
margin-bottom: 1em;
}
footer {
border-top: 2px solid white;
margin-top: 1em;
}

View File

@ -3,11 +3,19 @@ import React from 'react'
import { RsvpReader } from './components/RsvpReader'
import { GutenbergSearch } from './components/GutenbergSearch'
import './App.css'
export const App = () => {
return (
<>
<RsvpReader></RsvpReader>
<GutenbergSearch></GutenbergSearch>
<header>
<h1>The fast reader</h1>
</header>
<main>
<RsvpReader></RsvpReader>
<GutenbergSearch></GutenbergSearch>
</main>
<footer>Made by Alfred Melch</footer>
</>
)
}