mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
move contexts all out in own toplevel dir
- rename wizard to book
This commit is contained in:
@@ -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 || {}
|
||||
|
||||
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user