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,17 +3,16 @@ const props = defineProps({
name: String,
details: String,
level: Number,
type: String
})
type: String,
});
const color = computed(() => {
if (props.level === 1) return 'yellow';
if (props.level === 2) return 'orange';
if (props.level === 3) return 'red';
})
if (props.level === 1) return "yellow";
if (props.level === 2) return "orange";
if (props.level === 3) return "red";
});
</script>
<template>
<div
:class="['card m-0', `has-background-${color}-95`]"
@@ -22,7 +21,7 @@ const color = computed(() => {
}"
>
<div class="card-content p-4 is-flex is-align-items-center is-gap-2">
<Icon
<Icon
:name="type === 'time' ? 'material-symbols:clock-loader-40' : 'material-symbols:box-outline-rounded'"
:size="20"
:class="`has-text-${color}-45`"
@@ -33,4 +32,4 @@ const color = computed(() => {
</div>
</div>
</div>
</template>
</template>