diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/KodairaNews.astro | 54 | ||||
| -rw-r--r-- | src/components/ScheduleInteractive.astro | 4 |
2 files changed, 56 insertions, 2 deletions
diff --git a/src/components/KodairaNews.astro b/src/components/KodairaNews.astro index b4a1ab8..ab9b2a5 100644 --- a/src/components/KodairaNews.astro +++ b/src/components/KodairaNews.astro @@ -35,6 +35,60 @@ const LABEL: Record<CatId, string> = { const posts: Post[] = [ { + date: "10月26日", + cat: "status", + note: "10月7日から発生している障害の状況。暫定サイトで一部の手続きが可能", + links: [{ text: "ホームページの障害状況について", url: X("2114640677212402108") }], + }, + { + date: "10月26日", + cat: "status", + note: "PHPの脆弱性への対応が完了したWebサービスから順次再稼働", + links: [{ text: "PHP脆弱性への対応について", url: X("2114637769213653444") }], + }, + { + date: "10月26日", + cat: "status", + note: "市立学校・学校給食センターのホームページを本日正午から再開", + links: [ + { text: "学校ホームページの再開について", url: X("2114635960042623282") }, + { text: "詳細(LoGoフォーム)", url: "https://logoform.jp/form/exdH/1861824" }, + ], + }, + { + date: "10月26日", + cat: "other", + note: "市都民税・森林環境税(第3期)、国民健康保険税(第4期)の納期限は11月2日", + links: [{ text: "今月の税(市のX)", url: X("2114597902068682825") }], + }, + { + date: "10月26日", + cat: "other", + note: "小川パレットのロゴマーク完成までの様子をYouTube・Instagramで公開", + links: [ + { text: "小川パレットのロゴマーク(市のX)", url: X("2114522406362529861") }, + { text: "YouTube", url: "https://www.youtube.com/watch?v=aiUBM-ztbiA" }, + ], + }, + { + date: "10月26日", + cat: "event", + note: "11月1日(日)〜3日(火・祝)、小川パレットのオープニングイベントを開催", + links: [{ text: "小川パレット オープニングイベント(市のX)", url: X("2114507305655959784") }], + }, + { + date: "10月25日", + cat: "other", + note: "10月25日18時07分、小平市の雷注意報を解除", + links: [{ text: "気象警報・注意報(市のX)", url: X("2114282956797968734") }], + }, + { + date: "10月24日", + cat: "other", + note: "10月25日04時15分、小平市に雷注意報を発表", + links: [{ text: "気象警報・注意報(市のX)", url: X("2114073709862637817") }], + }, + { date: "10月23日", cat: "status", note: "10月7日から発生している障害の状況。暫定サイトで一部の手続きが可能", diff --git a/src/components/ScheduleInteractive.astro b/src/components/ScheduleInteractive.astro index bc26e0a..37ab7c7 100644 --- a/src/components/ScheduleInteractive.astro +++ b/src/components/ScheduleInteractive.astro @@ -207,12 +207,12 @@ const today = new Date(); const todayKey = toKey(today.getFullYear(), today.getMonth() + 1, today.getDate()); - // 開催日がすべて過去のものは「終了」と表示する。 + // 開催日が今日までのものは「終了」と表示する。 // 複数回の催しで未来の回が残っているものは対象外。 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'); |
