Commit Graph

116 Commits

Author SHA1 Message Date
Thomas Ruoff
9f3b6bb2e1 remover booker, that's overdosed
It also brings the problem of consolidating bookers over multiple
bookings. The amount of data is not justifying having it in an own
entity
2021-06-21 23:21:23 +02:00
Thomas Ruoff
55c680b1d0 set lang and turn on hyphens 2021-06-19 00:47:42 +02:00
Thomas Ruoff
946a5cfb2f fix price table size 2021-06-19 00:23:26 +02:00
Thomas Ruoff
9024310ce0 move login and add logout 2021-06-16 23:36:28 +02:00
Thomas Ruoff
b6a1e45fcf one api endpoint for admin/non-admin 2021-06-16 23:36:28 +02:00
Thomas Ruoff
498f212ee0 use types instead of interfaces 2021-06-16 23:36:28 +02:00
Thomas Ruoff
dbe3904759 move contexts all out in own toplevel dir
- rename wizard to book
2021-06-16 23:36:28 +02:00
Thomas Ruoff
92477e5325 move CRUD operations to helpers 2021-06-16 23:36:28 +02:00
Thomas Ruoff
95a9e48048 bump next-mdx-remote 2021-05-18 23:30:30 +02:00
Thomas Ruoff
d6e1f84363 rename to mdComponents 2021-04-12 23:52:51 +02:00
Thomas Ruoff
9c4194df02 use mdx for privacy, impressum, terms 2021-04-06 00:28:19 +02:00
Thomas Ruoff
9fe3fffb86 infer return type of functions 2021-03-22 23:14:48 +01:00
Thomas Ruoff
ecb71f54e7 extract layout and apply to all pages 2021-03-13 00:16:07 +01:00
Thomas Ruoff
cf4a539ac5 Remove obsolete stuff from terms 2021-03-12 23:51:47 +01:00
Thomas Ruoff
9e3f745581 update email 2021-01-09 22:52:41 +01:00
Thomas Ruoff
9858ce6a5c add prices page 2020-12-29 22:48:17 +01:00
Thomas Ruoff
f26e995edb add button for bill to admin/booking 2020-12-29 22:45:22 +01:00
Thomas Ruoff
bb5f94491f inspect path by breadcrumbs 2020-12-29 22:45:22 +01:00
Thomas Ruoff
9206bcdeeb fix casing on impressum 2020-12-24 00:05:40 +01:00
Thomas Ruoff
d4becfb1ff remove crazy width restriction 2020-12-24 00:05:23 +01:00
Thomas Ruoff
89e0993618 fist version of terms 2020-12-23 16:22:14 +01:00
Thomas Ruoff
05ff9b4f93 add missing "des" in landing page 2020-12-11 00:02:45 +01:00
Thomas Ruoff
a41f502c6d complete privacy and impressum 2020-12-10 23:55:08 +01:00
Thomas Ruoff
93a16e39d0 first version of privacy statement 2020-12-10 00:09:10 +01:00
Thomas Ruoff
0eeff57944 first version of privacy statement 2020-12-07 00:09:33 +01:00
Thomas Ruoff
d546e98ab2 many visual alignments 2020-11-26 00:38:34 +01:00
Thomas Ruoff
4801525dc4 fix bill page empty 2020-11-25 23:48:19 +01:00
Thomas Ruoff
54da0c7f9a add entry page with tailwind examples 😅 2020-11-25 00:38:45 +01:00
Thomas Ruoff
4db3eadaeb add an admin overview page 2020-11-23 23:49:13 +01:00
Thomas Ruoff
91f00dd818 fix function name for Login 2020-11-23 23:48:02 +01:00
Thomas Ruoff
a5f60c1114 log sending booking received mail 2020-11-10 22:48:15 +01:00
Thomas Ruoff
7fcdf680d3 show when logged in 2020-11-08 23:39:30 +01:00
Thomas Ruoff
c232a20835 use dateRange formatter in FE 2020-11-07 00:44:31 +01:00
Thomas Ruoff
e80c095770 show booking date range on admin booking page 2020-11-06 23:59:21 +01:00
Thomas Ruoff
195da65cd9 remove *Document intefaces from FE code 2020-11-06 23:37:04 +01:00
Thomas Ruoff
71c16a289d clean up type mess in SSR functions 2020-11-06 22:51:56 +01:00
Thomas Ruoff
7ee9803adc make isAdminSession usable by api routes 2020-11-04 00:33:35 +01:00
Thomas Ruoff
1dfd1f1f8b add a proper login page 2020-11-04 00:14:29 +01:00
Thomas Ruoff
b283ffe476 send mail when booking is confirmed or rejected 2020-11-03 21:50:12 +01:00
Thomas Ruoff
acf0366d9b add calendar to admin booking page 2020-11-03 21:06:05 +01:00
Thomas Ruoff
cb9932240d add confirm and reject buttons to adming/booking 2020-11-02 23:25:00 +01:00
Thomas Ruoff
8c252cca2b make getBookingStatus work without a booking 2020-11-02 23:24:30 +01:00
Thomas Ruoff
19c8bc7be2 move admin api to /admin 2020-11-02 22:44:27 +01:00
Thomas Ruoff
ecc3715f27 fix allow header for routes 2020-11-02 22:05:32 +01:00
Thomas Ruoff
aa2c9a9cab set for correctly on labels 2020-10-31 00:15:48 +01:00
Thomas Ruoff
7d40ffd1da workaround for build error 2020-10-29 22:17:29 +01:00
Thomas Ruoff
e6c6fc72a7 make stored an own page and redirect there 2020-10-28 23:36:31 +01:00
Thomas Ruoff
84026c2576 extract getServerSideBooking 2020-10-28 23:35:31 +01:00
Thomas Ruoff
e2aab12cdf add email to customer as well 2020-10-26 23:43:39 +01:00
Thomas Ruoff
c55f8f8b3a Admin page for bill wit iron-session (#13) 2020-10-22 00:40:09 +02:00