mirror of
https://github.com/tomru/pfadi-bussle.git
synced 2026-03-03 22:47:15 +01:00
74 lines
1.8 KiB
JavaScript
74 lines
1.8 KiB
JavaScript
import React from 'react'
|
|
|
|
import Head from 'next/head'
|
|
|
|
import Wizard from '../components/wizard'
|
|
import Footer from '../components/footer'
|
|
|
|
export default function Home() {
|
|
return (
|
|
<div className="container">
|
|
<Head>
|
|
<title>Pfadi Bussle Buchen</title>
|
|
<link rel="icon" href="/favicon.ico" />
|
|
</Head>
|
|
|
|
<main className="main">
|
|
<h1>Pfadi Bussle Buchen</h1>
|
|
|
|
<p>Du willst das Pfadi Bussle buchen? Hier bist du richtig!</p>
|
|
|
|
<Wizard />
|
|
</main>
|
|
|
|
<Footer />
|
|
|
|
<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;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.main {
|
|
flex: 1;
|
|
}
|
|
|
|
.datepicker
|
|
.DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end):not(.DayPicker-Day--outside) {
|
|
background-color: #f0f8ff !important;
|
|
color: #4a90e2;
|
|
}
|
|
.datepicker .DayPicker-Day {
|
|
border-radius: 0 !important;
|
|
}
|
|
.datepicker .DayPicker-Day--start {
|
|
border-top-left-radius: 50% !important;
|
|
border-bottom-left-radius: 50% !important;
|
|
}
|
|
.datepicker .DayPicker-Day--end {
|
|
border-top-right-radius: 50% !important;
|
|
border-bottom-right-radius: 50% !important;
|
|
}
|
|
.datepicker .DayPicker-Day--dayBooked:not(.DayPicker-Day--outside) {
|
|
color: #505050;
|
|
background-color: #fcc;
|
|
}
|
|
`}</style>
|
|
</div>
|
|
)
|
|
}
|