mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-29 21:28:15 +01:00
Improve main page
This commit is contained in:
18
app/components/content/HoverText.vue
Normal file
18
app/components/content/HoverText.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<script lang="ts" setup>
|
||||
defineProps({
|
||||
text: {
|
||||
type: [String, Number],
|
||||
required: true
|
||||
},
|
||||
hover: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UTooltip :text="hover">
|
||||
<strong class="leading-3">{{ text }}</strong>
|
||||
</UTooltip>
|
||||
</template>
|
||||
Reference in New Issue
Block a user