✨ feat (patient): add error page for patient add page permission
This commit is contained in:
+1
-16
@@ -2,25 +2,10 @@
|
||||
definePageMeta({
|
||||
layout: 'blank',
|
||||
})
|
||||
|
||||
const router = useRouter()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="h-svh">
|
||||
<div class="m-auto flex h-full w-full flex-col items-center justify-center gap-2">
|
||||
<h1 class="text-[7rem] font-bold leading-tight">404</h1>
|
||||
<span class="font-medium">Oops! Page Not Found!</span>
|
||||
<p class="text-muted-foreground text-center">
|
||||
It seems like the page you're looking for <br />
|
||||
does not exist or might have been removed.
|
||||
</p>
|
||||
<div class="mt-6 flex gap-4">
|
||||
<Button variant="outline" @click="router.back()"> Go Back </Button>
|
||||
<Button @click="router.push('/')"> Back to Home </Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<PubBaseError :status-code="401" />
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
|
||||
Reference in New Issue
Block a user