aboutsummaryrefslogtreecommitdiffhomepage
path: root/astro.config.mjs
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-10-25 12:24:24 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-10-25 12:24:24 +0900
commita01062f43d36112c00d5c007ac9d488c14d8fb0d (patch)
treeb99ddac9928e02b9cd07d372fa42842a348bfb61 /astro.config.mjs
parenta71727538f65ab4f10f5239550be82590f9d47d1 (diff)
parks: アイコン・フィルタ・編集画面を更新し、公開を一時停止
- 遊具アイコンをSVGRepo素材に差し替え、施設種別をアイコン表示 - フィルタに種類・遊具・ピクニックを追加し、適用時の地図移動を停止 - 現在地ボタンを追跡トグルに変更し、初回以外は地図を動かさない - 編集画面を市内公園・周辺公園・公共施設の4タブに拡張 - 公園ページをドラフト化し、サイドバーとPWAの公開を停止
Diffstat (limited to 'astro.config.mjs')
-rw-r--r--astro.config.mjs6
1 files changed, 5 insertions, 1 deletions
diff --git a/astro.config.mjs b/astro.config.mjs
index c93811b..07681ae 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -352,7 +352,8 @@ export default defineConfig({
label: "小平市のデータ",
collapsed: true,
items: [
- { label: "小平市の公園一覧", link: "/kodaira-data/parks/" },
+ // 公園ページはドラフト公開停止中(公開時に戻す)
+ // { label: "公園さんぽマップ", link: "/kodaira-data/parks/" },
{
label: "小平市ホームページのアーカイブ(暫定)等",
collapsed: true,
@@ -502,6 +503,8 @@ export default defineConfig({
content:
"document.addEventListener('DOMContentLoaded', () => { document.querySelectorAll('[href=\"#_top\"] span').forEach(el => { if (el.textContent === 'トップへ戻る') el.textContent = ''; }); });",
},
+ // 公園ページはドラフト公開停止中のため、PWAのheadは無効化(公開時に戻す)
+ /*
{
tag: "link",
attrs: { rel: "manifest", href: "/manifest.webmanifest" },
@@ -522,6 +525,7 @@ export default defineConfig({
tag: "meta",
attrs: { name: "apple-mobile-web-app-title", content: "小平市公園" },
},
+ */
],
components: {
PageTitle: "./src/components/starlight/PageTitle.astro",