diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-29 08:14:03 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-29 08:14:03 +0900 |
| commit | ed970d8dd6dbbaded7f1f45963ef54049f3571b9 (patch) | |
| tree | a73a3a3211e79004434c3f239653196b3af8cc41 /src/components | |
| parent | 73cc566ecf25455a291d3020e26a628fdeee6aaa (diff) | |
hp-archive: 表のスクロール表示と市Xの新着を反映
- 審議会等・イベントの表を枠内スクロールにし、終了分を下にまとめてグレー表示
- 情報源にこだいら観光まちづくり協会のホームページを追加
- 市公式Xの10月28日の新着3件を追加
- 鈴木遺跡のテレビ放映を10月28日と11月2日の再放送に分割
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'; |
