mirror of
https://github.com/web3privacy/explorer-app.git
synced 2024-10-15 16:46:26 +02:00
19 lines
421 B
Vue
19 lines
421 B
Vue
|
<script setup lang="ts">
|
||
|
defineProps<{
|
||
|
to: string
|
||
|
}>()
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<NuxtLink :to="to" flex items-center gap-12px>
|
||
|
<div flex justify-center items-center w-32px h-32px text-32px>
|
||
|
<slot name="prefix" />
|
||
|
</div>
|
||
|
<div flex flex-col justify-center>
|
||
|
<div text="14px sm:16px app-white" font-400 leading-24px hover:underline>
|
||
|
<slot />
|
||
|
</div>
|
||
|
</div>
|
||
|
</NuxtLink>
|
||
|
</template>
|