Dodanie logi, i walka z api

This commit is contained in:
dm
2025-11-24 09:05:50 +01:00
parent df4ba952f8
commit 2c876a3a4e
4 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -18,7 +18,7 @@ const links = [
<!-- Logo -->
<a href="/" class="flex items-center gap-2 font-semibold">
<!-- <span class="inline-flex h-8 w-8 items-center justify-center rounded-full text-sm font-bold"> -->
<img src="/src/assets/logo.webp" alt="FUZ Logo" class="my-0"/>
<img src="/assets/logo.webp" alt="FUZ Logo" class="my-0"/>
</span>
<!-- <span>FUZ</span> -->
</a>

View File

@@ -11,8 +11,8 @@ const apiKey = import.meta.env.PUBLIC_GOOGLE_MAPS_KEY;
const lat = 52.597388;
const lon = 21.456797;
const mapStyleId = "8e0a97af9476f2d3";
const res = await fetch(new URL("/api/all-cities", Astro.url));
const cities = await res.json();
// const res = await fetch(new URL("/api/all-cities", Astro.site));
// const cities = await res.json();
---
<script>