added placeholder component

This commit is contained in:
Mamalizz
2025-02-02 23:05:59 +03:30
parent 89503bda2b
commit b3e09152e4
@@ -0,0 +1,23 @@
<script setup lang="ts">
// types
type Props = {
title: string;
icon: string;
};
// props
defineProps<Props>();
</script>
<template>
<div
class="w-full flex-col flex-grow py-[12rem] gap-6 border-2 border-slate-200 border-dashed size-full rounded-100 flex-center"
>
<Icon :name="icon" size="50" class="**:fill-gray-500" />
<span class="text-lg text-gray-500"> {{ title }} </span>
</div>
</template>
<style scoped></style>