Seo - generowanie schema, api lista miejscowości , sekcja z listą miejscowości

This commit is contained in:
dm
2025-12-21 11:58:53 +01:00
parent 22673ff8d2
commit 4e44fff8c0
14 changed files with 485 additions and 32 deletions

View File

@@ -1,6 +1,7 @@
---
import DefaultLayout from "../../layouts/DefaultLayout.astro";
import MapGoogle from "../../components/maps/MapGoogle.astro";
import SectionRenderer from "../../components/sections/SectionRenderer.astro";
import RangeForm from "../../islands/RangeForm.jsx";
import { loadYaml, safeArray } from "../../lib/astro-helpers";
import "../../styles/map-google.css";
@@ -48,7 +49,7 @@ const seo = loadYaml("./src/content/mapa-zasiegu/seo.yaml");
/>
</div>
</section>
<SectionRenderer src="./src/content/site/area-section.yaml" />
<script is:inline>
let fiberLayer = null;
@@ -122,7 +123,7 @@ const seo = loadYaml("./src/content/mapa-zasiegu/seo.yaml");
map.getDiv().appendChild(overlay);
map.panTo(pos);
let targetZoom = 16;
let targetZoom = 16;
setTimeout(() => {
map.setZoom(targetZoom);
@@ -163,4 +164,4 @@ const seo = loadYaml("./src/content/mapa-zasiegu/seo.yaml");
info.open({ map, anchor: marker });
};
</script>
</DefaultLayout>
</DefaultLayout>