extract layout and apply to all pages

This commit is contained in:
Thomas Ruoff
2021-03-13 00:16:07 +01:00
parent cf4a539ac5
commit ecb71f54e7
8 changed files with 274 additions and 289 deletions

View File

@@ -1,16 +1,11 @@
import React from 'react'
import Footer from '../components/footer'
import Header from '../components/header'
import Layout from '../components/layout'
import Wizard from '../components/wizard/index'
export default function Home() {
return (
<>
<Header />
<main className="main">
<Wizard />
</main>
<Footer />
</>
<Layout>
<h1 className="mb-3 text-xl font-extrabold">Buchungsanfrage</h1>
<Wizard />
</Layout>
)
}