aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/ParksTable.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/ParksTable.astro')
-rw-r--r--src/components/ParksTable.astro12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/components/ParksTable.astro b/src/components/ParksTable.astro
index 65b8412..f0864d6 100644
--- a/src/components/ParksTable.astro
+++ b/src/components/ParksTable.astro
@@ -92,12 +92,6 @@ function facilityBadges(p: Park): Badge[] {
if (p["遊具"]) {
badges.push({ kind: "toy", label: "遊具", title: `遊具: ${p["遊具"]}` });
}
- if (p["パーゴラ"]) {
- badges.push({ kind: "pergola", label: "パーゴラ", title: `パーゴラ: ${p["パーゴラ"]}` });
- }
- if (p["東屋"]) {
- badges.push({ kind: "azumaya", label: "東屋", title: `東屋: ${p["東屋"]}` });
- }
const ball = p["ボール遊び"];
if (ball && ball !== "禁止") {
const label = ball.includes("一部") ? "ボール遊び一部可" : "ボール遊び可";
@@ -126,10 +120,10 @@ function facTokens(p: Park): string {
if (play.includes("滑り台") || play.includes("滑台")) tokens.push("slide");
if (play.includes("複合遊具")) tokens.push("complex");
if (play.includes("ロープウェイ")) tokens.push("rope");
- if (p["パーゴラ"]) tokens.push("pergola");
- if (p["東屋"]) tokens.push("azumaya");
const ball = p["ボール遊び"];
if (ball && ball !== "禁止") tokens.push("ball");
+ const clock = (p["時計"] || "").trim();
+ if (clock === "○" || clock === "あり" || clock === "有") tokens.push("clock");
if (p["南西部指定管理"]) tokens.push("cm");
// ピクニック広場・芝生広場・テーブルのある公園。
const picnicText = `${p["公園名"] || ""} ${p["種別"] || ""} ${p["その他設備"] || ""} ${p["備考"] || ""}`;
@@ -150,8 +144,10 @@ function facTokens(p: Park): string {
const DETAIL_FIELDS: { key: string; icon: string }[] = [
{ key: "ベンチ・椅子", icon: "🪑" },
{ key: "テーブル", icon: "🍽" },
+ { key: "シェルター等", icon: "⛱" },
{ key: "防災用具", icon: "🧯" },
{ key: "遊具", icon: "🎠" },
+ { key: "時計", icon: "⏰" },
{ key: "駐車場", icon: "🅿" },
{ key: "その他設備", icon: "🔧" },
{ key: "備考", icon: "" },