move contexts all out in own toplevel dir

- rename wizard to book
This commit is contained in:
Thomas Ruoff
2021-06-07 23:51:32 +02:00
parent 92477e5325
commit dbe3904759
10 changed files with 35 additions and 35 deletions

View File

@@ -1,5 +1,5 @@
import '../styles/index.css'
import UserContext from '../components/user/context'
import UserContext from '../context/user'
export default function MyApp({ Component, pageProps }) {
const { username, role } = pageProps?.user || {}

View File

@@ -1,11 +1,11 @@
import Layout from '../components/layout'
import Wizard from '../components/wizard/index'
import Book from '../components/book'
export default function Home() {
return (
<Layout>
<h1 className="mb-3 text-xl font-extrabold">Buchungsanfrage</h1>
<Wizard />
<Book />
</Layout>
)
}