aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/KodairaNews.astro15
-rw-r--r--src/components/ScheduleInteractive.astro4
2 files changed, 17 insertions, 2 deletions
diff --git a/src/components/KodairaNews.astro b/src/components/KodairaNews.astro
index 4fa44f6..c922ed2 100644
--- a/src/components/KodairaNews.astro
+++ b/src/components/KodairaNews.astro
@@ -35,6 +35,21 @@ const LABEL: Record<CatId, string> = {
const posts: Post[] = [
{
+ date: "10月29日",
+ cat: "status",
+ note: "10月7日から発生している障害の状況。暫定サイトで一部の手続きが可能",
+ links: [{ text: "ホームページの障害状況について", url: X("2115715266654908660") }],
+ },
+ {
+ date: "10月29日",
+ cat: "event",
+ note: "市のイベント情報をLoGoフォームにまとめています",
+ links: [
+ { text: "イベント情報(市のX)", url: X("2115685066491781369") },
+ { text: "LoGoフォームのイベント情報", url: "https://logoform.jp/procedure/exdH/2517" },
+ ],
+ },
+ {
date: "10月28日",
cat: "status",
note: "10月7日から発生している障害の状況。暫定サイトで一部の手続きが可能",
diff --git a/src/components/ScheduleInteractive.astro b/src/components/ScheduleInteractive.astro
index 955977d..a217e8b 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');