use external link component for links

This commit is contained in:
Simon Vieille
2025-04-16 12:17:40 +02:00
parent 51233920f9
commit 4de7c72b1e
3 changed files with 47 additions and 65 deletions
+18
View File
@@ -0,0 +1,18 @@
<template>
<a
:href="href"
rel="noopener"
target="_blank"
>
<slot></slot>
</a>
</template>
<script setup>
defineProps({
href: {
type: String,
required: true,
},
})
</script>