From bb74335a2fc1b0697c2b7088b010484ade784519 Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Thu, 5 Nov 2026 13:30:26 +0900 Subject: events: 月別アーカイブページを追加 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /kodaira-data/events/YYYY-MM/ をデータから自動生成(2026年10月〜2027年3月の6か月分) - 会議とイベントを月ごとに表示し、前月・翌月のリンクを設置 - 行事予定ページ下部に月別アーカイブのリンクを追加 - 日付計算を共通モジュール化し、カレンダーと生成ページで同じ結果になるようにした --- src/components/ScheduleInteractive.astro | 14 +----- src/components/ScheduleMonthLinks.astro | 16 +++++++ src/components/ScheduleTable.astro | 6 ++- src/content/docs/kodaira-data/events.mdx | 7 +++ src/data/updates.json | 14 +++--- src/lib/schedule-dates.ts | 20 ++++++++ src/lib/schedule-months.ts | 44 ++++++++++++++++++ src/pages/kodaira-data/events/[month].astro | 72 +++++++++++++++++++++++++++++ src/styles/custom.css | 23 +++++++++ 9 files changed, 195 insertions(+), 21 deletions(-) create mode 100644 src/components/ScheduleMonthLinks.astro create mode 100644 src/lib/schedule-months.ts create mode 100644 src/pages/kodaira-data/events/[month].astro diff --git a/src/components/ScheduleInteractive.astro b/src/components/ScheduleInteractive.astro index 3dd6048..424b453 100644 --- a/src/components/ScheduleInteractive.astro +++ b/src/components/ScheduleInteractive.astro @@ -1,7 +1,7 @@