add: tracking load & clean code save load
This commit is contained in:
35
src/components/CardEmpty.vue
Normal file
35
src/components/CardEmpty.vue
Normal file
@@ -0,0 +1,35 @@
|
||||
<script setup>
|
||||
defineProps({
|
||||
text: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="card-info card-empty">
|
||||
<img src="/images/logo.png" alt="logo" class="img-empty">
|
||||
|
||||
<p class="message">{{ text }}</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
.card-empty {
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.img-empty {
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.message {
|
||||
margin-top: 2rem;
|
||||
font-size: 1.4rem;
|
||||
color: #323032;
|
||||
font-weight: 500;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user