chore: install prettier

This commit is contained in:
Viet An
2026-05-04 15:22:27 +07:00
parent 93d29ca7d8
commit bd58e2b847
267 changed files with 22950 additions and 13581 deletions

View File

@@ -3,20 +3,26 @@ const props = defineProps({
text: String,
image: String,
type: String,
size: Number
size: Number,
});
</script>
<template>
<template>
<div
@click="$emit('justclick')"
class="rounded-full mx-0 px-0 size-10 font-bold is-flex is-justify-content-center is-align-items-center"
:style="{
border: image ? 'none' : '1px solid var(--bulma-grey-70)'
border: image ? 'none' : '1px solid var(--bulma-grey-70)',
}"
>
<figure v-if="image" class="image">
<img class="is-rounded" :src="`${$path()}download?name=${image}`">
<figure
v-if="image"
class="image"
>
<img
class="is-rounded"
:src="`${$path()}download?name=${image}`"
/>
</figure>
<span v-else>{{text}}</span>
<span v-else>{{ text }}</span>
</div>
</template>