final changes to blog

This commit is contained in:
2023-01-01 20:50:51 +02:00
parent 9635a48051
commit d768ad1704
11 changed files with 37 additions and 10 deletions

View File

@@ -1,10 +1,11 @@
<script lang="ts">
export let items: any;
export let name: string;
</script>
<div class="flex flex-col gap-4">
{#each items as item}
<a href="/blog/authors/{item.slug}" class="bg-secondary w-fit p-2 rounded-2 no-underline">{item.name}</a>
<a href="/blog/{name}/{item.slug}" class="bg-secondary sm:w-md p-2 rounded-2 no-underline">{item.name}</a>
{/each}
</div>