MapGoogle, poprawki w stopce i kontaktach

This commit is contained in:
dm
2025-11-22 12:14:59 +01:00
parent d27689d20d
commit bdf6c40755
9 changed files with 349 additions and 134 deletions

View File

@@ -9,6 +9,7 @@ const data = yaml.load(
);
const apiKey = import.meta.env.PUBLIC_GOOGLE_MAPS_KEY;
---
<!-- TODO: Obrobić wysyłanie maila przez api -->
<section id="contact" class="fuz-section">
<!-- GRID 2 kolumny -->
@@ -95,15 +96,18 @@ const apiKey = import.meta.env.PUBLIC_GOOGLE_MAPS_KEY;
</div>
</div>
<!-- GOOGLE MAPS -->
<MapGoogle
<div class="fuz-contact-map-wrapper">
<MapGoogle
apiKey={apiKey}
lat={data.lat}
lon={data.lng}
zoom={16}
title={data.markerTitle}
description={data.markerAddress}
/>
showMarker={true}
mode="contact"
/>
</div>
<div id="toast" class="fuz-toast hidden"></div>
</section>