diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/KodairaNews.astro | 48 | ||||
| -rw-r--r-- | src/components/ScheduleInteractive.astro | 4 |
2 files changed, 50 insertions, 2 deletions
diff --git a/src/components/KodairaNews.astro b/src/components/KodairaNews.astro index c922ed2..8bf230f 100644 --- a/src/components/KodairaNews.astro +++ b/src/components/KodairaNews.astro @@ -35,6 +35,54 @@ const LABEL: Record<CatId, string> = { const posts: Post[] = [ { + date: "10月30日", + cat: "status", + note: "10月7日から発生している障害の状況。暫定サイトで一部の手続きが可能", + links: [{ text: "ホームページの障害状況について", url: X("2116081390760632748") }], + }, + { + date: "10月30日", + cat: "status", + note: "こだいら健康ポイントのメンテナンスが終了し、サービス再開", + links: [{ text: "こだいら健康ポイントの再開", url: X("2116077649739288685") }], + }, + { + date: "10月30日", + cat: "event", + note: "11月3日10:00〜15:00、中央エリアでドッグラン・スポーツ体験・オープンハウス", + links: [{ text: "秋空のもと、遊んで・知ろう!in中央エリア", url: X("2116032350262030513") }], + }, + { + date: "10月30日", + cat: "other", + note: "11月1日・3日、休日歯科応急診療を実施。9:00〜17:00", + links: [{ text: "休日歯科応急診療", url: X("2116017254144028910") }], + }, + { + date: "10月30日", + cat: "other", + note: "健康センター。準夜19:15〜22:15、休日9:00〜16:45", + links: [{ text: "休日・準夜応急診療(内科・小児科)", url: X("2116017248812913002") }], + }, + { + date: "10月30日", + cat: "status", + note: "消防団指令システムの運用を10月29日13時から再開", + links: [{ text: "消防団指令システムの運用再開", url: X("2116002164858655043") }], + }, + { + date: "10月30日", + cat: "other", + note: "近隣9市で魅力を発信。今回は東大和市を紹介", + links: [{ text: "広域連携の取組(市のX)", url: X("2116002150191141054") }], + }, + { + date: "10月30日", + cat: "meeting", + note: "11月12日14:00から、福祉会館4階小ホール。定員5名(先着順)", + links: [{ text: "介護保険運営協議会(市のX)", url: X("2115956857676444078") }], + }, + { date: "10月29日", cat: "status", note: "10月7日から発生している障害の状況。暫定サイトで一部の手続きが可能", diff --git a/src/components/ScheduleInteractive.astro b/src/components/ScheduleInteractive.astro index a217e8b..955977d 100644 --- a/src/components/ScheduleInteractive.astro +++ b/src/components/ScheduleInteractive.astro @@ -209,12 +209,12 @@ // 今日の月もカレンダーで移動できるように含める。 const months = [...new Set([...dateKeys.map((k) => k.slice(0, 7)), todayMonth])].sort(); - // 開催日が今日までのものは「終了」と表示する。 + // 開催日が今日より前のものは「終了」と表示する。 // 複数回の催しで未来の回が残っているものは対象外。 for (const entry of entries) { if (entry.dateText.includes('申込開始')) continue; if (entry.dates.length === 0) continue; - if (!entry.dates.every((d) => d <= todayKey)) continue; + if (!entry.dates.every((d) => d < todayKey)) continue; const row = document.getElementById(entry.rowId); if (!row) continue; row.classList.add('is-ended'); |
