mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-06-26 06:32:01 +05:30
12 lines
299 B
Svelte
12 lines
299 B
Svelte
<script lang="ts">
|
|
import type { PageData } from "./$types";
|
|
export let data: PageData;
|
|
</script>
|
|
|
|
<h1>Blog tags</h1>
|
|
|
|
<div class="flex flex-col gap-4">
|
|
{#each data.tags as tag}
|
|
<a href="/blog/tags/{tag.slug}" class="bg-secondary w-fit p-2 rounded-2 no-underline">{tag.name}</a>
|
|
{/each}
|
|
</div> |