diff --git a/front/src/components/Calendar.svelte b/front/src/components/Calendar.svelte new file mode 100644 index 0000000..47659c5 --- /dev/null +++ b/front/src/components/Calendar.svelte @@ -0,0 +1,73 @@ + + + +
+
+

{monthLabels[month]} {year}

+ + +
+
+ {#each weekLabels as weekname} + {weekname} + {/each} +
+
+ {#each {length:firstDayOffset} as _} +
+ {/each} + {#each {length:monthLength} as _, i} +
+ +
+ {/each} + {#each {length:lastDayOffset} as _} + + {/each} +
+
diff --git a/front/src/pages/PageBooking.svelte b/front/src/pages/PageBooking.svelte index 57f7498..e03014c 100644 --- a/front/src/pages/PageBooking.svelte +++ b/front/src/pages/PageBooking.svelte @@ -1,5 +1,6 @@