explorer-app/components/Project/ProjectSecurityAudit.vue

45 lines
664 B
Vue
Raw Normal View History

2023-12-19 18:43:42 +01:00
<script setup lang="ts">
defineProps<{
auditName: string
auditUrl?: string
date?: string
}>()
</script>
<template>
<div
flex
items-center
gap-16px
>
2023-12-19 18:43:42 +01:00
<slot />
<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 }}
<UnoIcon
v-if="auditUrl"
i-web-openinnew
text-16px
/>
2023-12-19 18:43:42 +01:00
</NuxtLink>
<span
text-14px
font-400
leading-24px
>{{ date }}</span>
2023-12-19 18:43:42 +01:00
</div>
</div>
</template>