Compare commits

...

2 Commits

Author SHA1 Message Date
ce5c1cc9ee 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
2026-09-01 21:58:06 +00:00
739d8486b2 add footer with git link 2026-09-01 21:57:31 +00:00
3 changed files with 31 additions and 16 deletions

View File

@@ -48,18 +48,31 @@
]; ];
</script> </script>
<header class="flex justify-between items-center gap-4 py-4 px-4"> <div class="flex flex-col min-h-screen">
<a href={resolve('/')} class="text-2xl font-bold">Stan Runge</a> <header class="flex justify-between items-center gap-4 py-4 px-4">
<nav class="flex flex-wrap justify-center gap-4" aria-label="Social links"> <a href={resolve('/')} class="text-2xl font-bold">Stan Runge</a>
{#each copies as c (c.label)} <nav class="flex flex-wrap justify-center gap-4" aria-label="Social links">
<CopyButton {...c} /> {#each copies as c (c.label)}
{/each} <CopyButton {...c} />
{#each links as { icon: Icon, label, href } (label)} {/each}
<a {href} aria-label={label} class="text-2xl transition hover:opacity-60"> {#each links as { icon: Icon, label, href } (label)}
<Icon /> <a {href} aria-label={label} class="text-2xl transition hover:opacity-60">
</a> <Icon />
{/each} </a>
</nav> {/each}
</header> </nav>
</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) => { const initMap = (center: [number, number], zoom: number) => {
map = new Map({ map = new Map({
container: mapContainer, 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, center,
zoom zoom
}); });

View File

@@ -73,7 +73,8 @@
map = new Map({ map = new Map({
container: mapContainer, 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!], center: [lng!, lat!],
zoom: 15 zoom: 15
}); });