Merge pull request 'add footer with git link' (#20) from dev into staging
All checks were successful
build / build (push) Successful in 35s
build / deploy (push) Successful in 3s

Reviewed-on: #20
This commit is contained in:
2026-09-01 21:58:06 +00:00
3 changed files with 31 additions and 16 deletions

View File

@@ -48,7 +48,8 @@
];
</script>
<header class="flex justify-between items-center gap-4 py-4 px-4">
<div class="flex flex-col min-h-screen">
<header class="flex justify-between items-center gap-4 py-4 px-4">
<a href={resolve('/')} class="text-2xl font-bold">Stan Runge</a>
<nav class="flex flex-wrap justify-center gap-4" aria-label="Social links">
{#each copies as c (c.label)}
@@ -60,6 +61,18 @@
</a>
{/each}
</nav>
</header>
</header>
{@render children()}
<main class="flex-1">
{@render children()}
</main>
<footer class="flex justify-center py-8 bg-gray-200">
<p>
Hosted on <a
class="underline text-blue-500"
href="https://git.stanrunge.dev/stan/personal-website">my git server :)</a
>
</p>
</footer>
</div>

View File

@@ -63,7 +63,8 @@
const initMap = (center: [number, number], zoom: number) => {
map = new Map({
container: mapContainer,
style: 'https://api.maptiler.com/maps/satellite/style.json?key=' + env.PUBLIC_MAPTILER_API_KEY,
style:
'https://api.maptiler.com/maps/satellite/style.json?key=' + env.PUBLIC_MAPTILER_API_KEY,
center,
zoom
});

View File

@@ -73,7 +73,8 @@
map = new Map({
container: mapContainer,
style: 'https://api.maptiler.com/maps/satellite/style.json?key=' + env.PUBLIC_MAPTILER_API_KEY,
style:
'https://api.maptiler.com/maps/satellite/style.json?key=' + env.PUBLIC_MAPTILER_API_KEY,
center: [lng!, lat!],
zoom: 15
});