From 346b7c769f223df4d9f0eb2241a8505064e0dac9 Mon Sep 17 00:00:00 2001
From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>
Date: Thu, 8 Oct 2026 22:15:23 +0900
Subject: ParksTable.astro, park-editor.html:
パーゴラ・東屋を追加、公園データを更新
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/ParksTable.astro | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
(limited to 'src/components/ParksTable.astro')
diff --git a/src/components/ParksTable.astro b/src/components/ParksTable.astro
index 8121201..5dbaa9c 100644
--- a/src/components/ParksTable.astro
+++ b/src/components/ParksTable.astro
@@ -35,6 +35,12 @@ 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("一部") ? "ボール遊び一部可" : "ボール遊び可";
@@ -52,6 +58,8 @@ function facTokens(p: Park): string {
if (p["トイレ"]) tokens.push("toilet");
if (p["水飲み場"]) tokens.push("water");
if (p["遊具"]) tokens.push("toy");
+ if (p["パーゴラ"]) tokens.push("pergola");
+ if (p["東屋"]) tokens.push("azumaya");
const ball = p["ボール遊び"];
if (ball && ball !== "禁止") tokens.push("ball");
if (p["南西部指定管理"]) tokens.push("cm");
@@ -149,6 +157,8 @@ const total = parks.length;
+
+
@@ -440,6 +450,12 @@ const total = parks.length;
.parks .fac-cm::before {
content: "🏛";
}
+ .parks .fac-pergola::before {
+ content: "🌿";
+ }
+ .parks .fac-azumaya::before {
+ content: "🛖";
+ }
.parks .fac-detail {
display: block;
margin-top: 0.25em;
--
cgit v1.3.1