diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-29 14:55:25 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-10-29 14:55:25 +0900 |
| commit | 8657bcfb1616aa33492ad0e184ed50d357bc5083 (patch) | |
| tree | bb13043775feca9fcb4044e3d53596ab8279e404 /src | |
| parent | 48b6888808143d3ab0d1e29c2a71a8ac70252254 (diff) | |
parks: 築山・じゃぶじゃぶ池を一覧に反映
詳細表示とキーワード検索に築山・じゃぶじゃぶ池を追加した。
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/ParksTable.astro | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/ParksTable.astro b/src/components/ParksTable.astro index 17841cc..03aacb3 100644 --- a/src/components/ParksTable.astro +++ b/src/components/ParksTable.astro @@ -149,6 +149,8 @@ const DETAIL_FIELDS: { key: string; icon: string }[] = [ { key: "シェルター等", icon: "⛱" }, { key: "草地広場", icon: "🌿" }, { key: "多目的広場", icon: "🏟" }, + { key: "築山", icon: "⛰" }, + { key: "じゃぶじゃぶ池", icon: "💦" }, { key: "防災用具", icon: "🧯" }, { key: "遊具", icon: "🎠" }, { key: "時計", icon: "⏰" }, @@ -217,6 +219,8 @@ function searchIndex(p: Park): string { p["給水"], p["草地広場"] ? "草地広場" : "", p["多目的広場"] ? "多目的広場" : "", + p["築山"] ? "築山" : "", + p["じゃぶじゃぶ池"] ? "じゃぶじゃぶ池" : "", p["ボール遊び"], ...DETAIL_FIELDS.map((f) => p[f.key]), ] |
