Files
max-richter.dev/src/components/card/ReadMoreButton.svelte
2024-04-03 14:27:48 +02:00

12 lines
285 B
Svelte

<script lang="ts">
export let link: string;
export let text = "read more";
</script>
<a
href={link}
data-astro-prefetch
class="bg-light p-2 text-s rounded-md px-4 flex flex-0 items-center gap-2 w-fit"
>{text}<span class="i-tabler-arrow-right inline-block w-4 h-4" />
</a>