mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 06:27:11 +01:00
62 lines
1.4 KiB
JavaScript
62 lines
1.4 KiB
JavaScript
import { useContext } from 'react'
|
|
|
|
import Head from 'next/head'
|
|
|
|
import AppStore from '../context/appStore'
|
|
|
|
import RangeSelect from '../components/rangeSelect'
|
|
import DateSelect from '../components/dateSelect'
|
|
import Contact from '../components/contact'
|
|
import Driver from '../components/driver'
|
|
|
|
import Form from 'react-bootstrap/Form'
|
|
import Button from 'react-bootstrap/Button'
|
|
|
|
export default function Home() {
|
|
return (
|
|
<div className="container">
|
|
<Head>
|
|
<title>Pfadi Bussle Buchen</title>
|
|
<link rel="icon" href="/favicon.ico" />
|
|
</Head>
|
|
|
|
<main>
|
|
<h1>Pfadi Bussle Buchen</h1>
|
|
|
|
<p>Du willst das Pfadi Bussle buchen? Hier bist du richtig!</p>
|
|
|
|
<AppStore>
|
|
<Form>
|
|
<RangeSelect />
|
|
<DateSelect />
|
|
<Contact />
|
|
|
|
<Button variant="primary">Reservieren</Button>
|
|
</Form>
|
|
</AppStore>
|
|
</main>
|
|
|
|
<footer>
|
|
<a>Freundeskreis des VCP Rosenfeld</a>
|
|
</footer>
|
|
|
|
<style jsx>{``}</style>
|
|
|
|
<style jsx global>{`
|
|
html,
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
|
|
Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue,
|
|
sans-serif;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
`}</style>
|
|
</div>
|
|
)
|
|
}
|