1
0
forked from test/crm
jcrm/frontend/src/components/ErrorPage.vue
Shariq Ansari 45010ff8e6 fix: added ErrorPage component
(cherry picked from commit bb794f4887a6f74fc4382a211f18e67a4abd7790)
2025-04-08 10:12:29 +00:00

25 lines
561 B
Vue

<template>
<div
class="grid h-full place-items-center px-4 py-20 text-center text-lg text-ink-gray-5"
>
<div class="flex flex-col justify-between items-center gap-3">
<FeatherIcon name="x-octagon" class="h-12 w-12 text-ink-red-3" />
<div class="text-2xl font-semibold">{{ errorTitle }}</div>
<div v-html="errorMessage" />
</div>
</div>
</template>
<script setup>
const props = defineProps({
errorTitle: {
type: String,
required: true,
},
errorMessage: {
type: String,
required: true,
},
})
</script>