explorer-app/components/Project/ProjectOpenessLink.vue

40 lines
543 B
Vue
Raw Permalink Normal View History

2023-12-19 18:43:42 +01:00
<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
>
2023-12-19 18:43:42 +01:00
<slot name="prefix" />
</div>
<div
flex
flex-col
justify-center
>
<div
text="14px sm:16px app-white"
font-400
leading-24px
hover:underline
>
2023-12-19 18:43:42 +01:00
<slot />
</div>
</div>
</NuxtLink>
</template>