Added First Draft for Header and Footer
This commit is contained in:
6
src/components/footer.js
Normal file
6
src/components/footer.js
Normal 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
2
src/components/header.js
Normal 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
7
src/pages/about.js
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
import React from "react"
|
||||||
|
export default () => (
|
||||||
|
<div>
|
||||||
|
<h1>About</h1>
|
||||||
|
// TODO Impressum
|
||||||
|
</div>
|
||||||
|
)
|
||||||
@@ -1,3 +1,11 @@
|
|||||||
import React from "react"
|
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>
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user