first commit of vaguely working code. Search not yet functioning
This commit is contained in:
parent
fd02fc8b77
commit
b552cf2469
1 changed files with 8 additions and 0 deletions
8
src/components/tagItem.svelte
Normal file
8
src/components/tagItem.svelte
Normal file
|
@ -0,0 +1,8 @@
|
|||
<script>
|
||||
import { fade } from 'svelte/transition';
|
||||
export let tag;
|
||||
</script>
|
||||
|
||||
<a class="list-none p-6 bg-gray-100 text-gray-800 text-center rounded-md shadow-sm hover:shadow-md flex flex-col items-center" href={`/tag/${tag}`} transition:fade>
|
||||
<h2 class="lowercase text-2xl">{tag}</h2>
|
||||
</a>
|
Loading…
Reference in a new issue