diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/KodairaNews.astro | 18 | ||||
| -rw-r--r-- | src/components/ScheduleInteractive.astro | 10 |
2 files changed, 28 insertions, 0 deletions
diff --git a/src/components/KodairaNews.astro b/src/components/KodairaNews.astro index 1d86d9a..4fa44f6 100644 --- a/src/components/KodairaNews.astro +++ b/src/components/KodairaNews.astro @@ -35,6 +35,24 @@ const LABEL: Record<CatId, string> = { const posts: Post[] = [ { + date: "10月28日", + cat: "status", + note: "10月7日から発生している障害の状況。暫定サイトで一部の手続きが可能", + links: [{ text: "ホームページの障害状況について", url: X("2115360420273734000") }], + }, + { + date: "10月28日", + cat: "status", + note: "PHP脆弱性対応のメンテナンスでこだいら健康ポイントを停止中。10月31日から再開予定", + links: [{ text: "こだいら健康ポイントのメンテナンス", url: X("2115355386522018145") }], + }, + { + date: "10月28日", + cat: "other", + note: "第二次教育振興基本計画の検証のため、無作為抽出のアンケートを実施。11月19日まで回答", + links: [{ text: "教育に関するアンケート(市のX)", url: X("2115232083861987456") }], + }, + { date: "10月27日", cat: "status", note: "10月7日から発生している障害の状況。暫定サイトで一部の手続きが可能", diff --git a/src/components/ScheduleInteractive.astro b/src/components/ScheduleInteractive.astro index fdc0767..955977d 100644 --- a/src/components/ScheduleInteractive.astro +++ b/src/components/ScheduleInteractive.astro @@ -226,6 +226,16 @@ } } + // 終了した予定は表の下にまとめ、開催中の予定から表示する。 + for (const table of [meetingsTable, eventsTable]) { + const tbody = table.tBodies[0]; + if (!tbody) continue; + const rows = [...tbody.rows]; + for (const row of rows) { + if (row.classList.contains('is-ended')) tbody.appendChild(row); + } + } + let selectedDate = todayKey; let currentMonth = todayMonth; let activeCategory = 'all'; |
