12 lines
290 B
Svelte
12 lines
290 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"></span>
|
|
</a>
|