From ce2eabf1f5cc92ec2b3efd75e010f035b9fa3a50 Mon Sep 17 00:00:00 2001 From: June Date: Thu, 15 Jan 2026 15:36:07 +1300 Subject: [PATCH] start homepage layout --- src/component/calendar.astro | 5 +++-- src/pages/index.astro | 16 ++++++++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/src/component/calendar.astro b/src/component/calendar.astro index 84c6731..ddf7b6c 100644 --- a/src/component/calendar.astro +++ b/src/component/calendar.astro @@ -12,10 +12,11 @@ let calendarEl = document.getElementById('calendar')!; let calendar = new Calendar(calendarEl, { plugins: [ dayGridPlugin, listPlugin, interactionPlugin, scrollgridPlugin, resourcePlugin ], initialView: 'dayGridMonth', + schedulerLicenseKey: 'CC-Attribution-NonCommercial-NoDerivatives', headerToolbar: { - left: 'prev,next today', + left: 'prev,next', center: 'title', - right: 'dayGridMonth,timeGridWeek,listWeek' + right: 'today' }, }); diff --git a/src/pages/index.astro b/src/pages/index.astro index 84781af..14ca3ed 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -4,8 +4,20 @@ import Layout from "../component/core/layout.astro" import Calendar from "../component/calendar.astro" --- - + - +
+
+ + +
+ +
+
+
\ No newline at end of file