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/ScheduleMonthLinks.astro | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/components/ScheduleMonthLinks.astro (limited to 'src/components/ScheduleMonthLinks.astro') diff --git a/src/components/ScheduleMonthLinks.astro b/src/components/ScheduleMonthLinks.astro new file mode 100644 index 0000000..8628998 --- /dev/null +++ b/src/components/ScheduleMonthLinks.astro @@ -0,0 +1,16 @@ +--- +// 月別アーカイブのリンク一覧。行事予定ページの下部に置く。 +import { monthCounts, monthKeys, monthLabel } from '@/lib/schedule-months'; +import { scheduleUrl } from '@/data/schedule/config'; +--- + +