2023-12-19 18:43:42 +01:00
|
|
|
<script setup lang="ts">
|
|
|
|
defineProps<{
|
|
|
|
auditName: string
|
|
|
|
auditUrl?: string
|
|
|
|
date?: string
|
|
|
|
}>()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2024-09-02 15:13:43 +02:00
|
|
|
<div
|
|
|
|
flex
|
|
|
|
items-center
|
|
|
|
gap-16px
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<slot />
|
2024-09-02 15:13:43 +02:00
|
|
|
<div
|
|
|
|
flex
|
|
|
|
flex-col
|
|
|
|
text-14px
|
|
|
|
font-700
|
|
|
|
leading-24px
|
|
|
|
>
|
|
|
|
<NuxtLink
|
|
|
|
hover:underline
|
|
|
|
flex
|
|
|
|
items-center
|
|
|
|
gap-8px
|
|
|
|
:to="auditUrl"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
{{ auditName }}
|
2024-09-02 15:13:43 +02:00
|
|
|
<UnoIcon
|
|
|
|
v-if="auditUrl"
|
|
|
|
i-web-openinnew
|
|
|
|
text-16px
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
</NuxtLink>
|
2024-09-02 15:13:43 +02:00
|
|
|
<span
|
|
|
|
text-14px
|
|
|
|
font-400
|
|
|
|
leading-24px
|
|
|
|
>{{ date }}</span>
|
2023-12-19 18:43:42 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|