feat: initial commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<!-- Ported from legacy henza_pwa/src/components/empty.vue -->
|
||||
<template>
|
||||
<div class="flex justify-center items-center empty">
|
||||
<Empty description="موردی یافت نشد" :image="image" class="h-[200px] w-[200px] opacity-70" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { Empty } from 'ant-design-vue'
|
||||
|
||||
withDefaults(
|
||||
defineProps<{
|
||||
description?: string
|
||||
image?: string
|
||||
}>(),
|
||||
{},
|
||||
)
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
.ant-empty {
|
||||
.ant-empty-description {
|
||||
font-size: 16px !important;
|
||||
font-weight: 600;
|
||||
margin-top: -36px;
|
||||
}
|
||||
}
|
||||
.empty {
|
||||
min-height: calc(100vh - 350px);
|
||||
vertical-align: middle;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user