mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
move all wizard specific stuff to components/wizard
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import React, { useContext } from 'react'
|
||||
|
||||
import { WizardContext } from '../../context/wizardStore'
|
||||
import Footer from '../../components/footer'
|
||||
|
||||
// TODO: load booking somehow if we navigate to booking
|
||||
|
||||
@@ -2,8 +2,9 @@ import React from 'react'
|
||||
|
||||
import Head from 'next/head'
|
||||
|
||||
import Wizard from '../components/wizard'
|
||||
import Header from '../components/header'
|
||||
import Footer from '../components/footer'
|
||||
import Wizard from '../components/wizard/index'
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
@@ -13,16 +14,10 @@ export default function Home() {
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
</Head>
|
||||
|
||||
<Header />
|
||||
<main className="flex-grow">
|
||||
<h1 className="text-3xl">Pfadi Bussle Buchen</h1>
|
||||
|
||||
<p className="mb-8">
|
||||
Du willst das Pfadi Bussle buchen? Hier bist du richtig!
|
||||
</p>
|
||||
|
||||
<Wizard />
|
||||
</main>
|
||||
|
||||
<Footer />
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user