Archived
1
0

Added main_entry templating structure

This commit is contained in:
2020-01-10 09:58:36 +01:00
parent af026aa3a7
commit db79f1b099
2 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
import React from "react"
export default props => (
<div id={props.title}>
<h1>{props.title}</h1>
<p>{props.text}</p>
</div>
)

View File

@@ -1,11 +1,13 @@
import React from "react"
import Header from "../components/header"
import MainEntry from "../components/main_entry"
import Footer from "../components/footer"
export default () => (
<div>
<Header headline="The Urban Brothers" />
<p></p>
<MainEntry title="Intro" text="" />
<MainEntry title="Ressources" text="" />
<Footer />
</div>
)