adjusted bottom margin of footer; images on projects page now shrink on mobile

This commit is contained in:
2026-01-23 14:19:20 +01:00
parent 6c28a4c5f3
commit ae5e284032
19 changed files with 67 additions and 28 deletions

View File

@@ -0,0 +1,28 @@
<script lang="ts">
export interface LinkEntry {
icon?: string;
text: string;
link: string;
}
let {
entries,
} : {
entries: LinkEntry[];
} = $props();
</script>
{#snippet listEntry({ entry }: { entry: LinkEntry })}
{#if entry.icon}
<img height="24px" src={entry.icon} alt="Icon">
{/if}
{@html entry.text}
{/snippet}
<div class="list">
{#each entries as entry}
<a href={entry.link}>
{@render listEntry({entry})}
</a>
{/each}
</div>