Archived
1
0

Added First Draft for Header and Footer

This commit is contained in:
2020-01-09 12:52:05 +01:00
parent 8db23d5c3c
commit e24843b4ce
4 changed files with 24 additions and 1 deletions

6
src/components/footer.js Normal file
View File

@@ -0,0 +1,6 @@
import React from "react"
export default () => (
<div style={{ textAlign: `center` }}>
TeamSpeak.Discord.Steam.About.GitHub
</div>
)

2
src/components/header.js Normal file
View File

@@ -0,0 +1,2 @@
import React from "react"
export default props => <h1 align="center">{props.headline}</h1>

7
src/pages/about.js Normal file
View File

@@ -0,0 +1,7 @@
import React from "react"
export default () => (
<div>
<h1>About</h1>
// TODO Impressum
</div>
)

View File

@@ -1,3 +1,11 @@
import React from "react"
import Header from "../components/header"
import Footer from "../components/footer"
export default () => <div>Hello world!</div>
export default () => (
<div>
<Header headline="The Urban Brothers" />
<p></p>
<Footer />
</div>
)