Simplify code
This commit is contained in:
parent
73d1462ac6
commit
3eb4e09424
|
|
@ -10,17 +10,6 @@ import {BigImage, Footer, TurniereNavigation} from '../js/CommonComponents.js'
|
||||||
import '../static/everypage.css'
|
import '../static/everypage.css'
|
||||||
import '../static/css/index.css'
|
import '../static/css/index.css'
|
||||||
|
|
||||||
const Index = (props) => {
|
|
||||||
return (
|
|
||||||
<div>
|
|
||||||
<TurniereNavigation/>
|
|
||||||
<BigImage text="Einfach Turniere organisieren"/>
|
|
||||||
<Main/>
|
|
||||||
<Footer/>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
function Main() {
|
function Main() {
|
||||||
return (
|
return (
|
||||||
<div className="main">
|
<div className="main">
|
||||||
|
|
@ -180,6 +169,9 @@ export default () => (
|
||||||
<Head>
|
<Head>
|
||||||
<title>turnie.re</title>
|
<title>turnie.re</title>
|
||||||
</Head>
|
</Head>
|
||||||
<Index code="asdf1234"/>
|
<TurniereNavigation/>
|
||||||
|
<BigImage text="Einfach Turniere organisieren"/>
|
||||||
|
<Main/>
|
||||||
|
<Footer/>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue