Files
panel/resources/js/pages/not-authorized.vue
2025-08-04 16:33:07 +03:30

55 lines
1.2 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script setup>
import pages401 from '@images/pages/401.png'
import miscMaskDark from '@images/pages/misc-mask-dark.png'
import miscMaskLight from '@images/pages/misc-mask-light.png'
import { useGenerateImageVariant } from '@core/composable/useGenerateImageVariant'
definePage({
alias: '/pages/misc/not-authorized',
meta: {
layout: 'blank',
public: true,
},
})
const authThemeMask = useGenerateImageVariant(miscMaskLight, miscMaskDark)
</script>
<template>
<div class="misc-wrapper">
<ErrorHeader
status-code="401"
title="You are not authorized! 🔐"
description="You dont have permission to access this page. Go Home!."
/>
<VBtn
class="mb-11"
to="/"
>
Back To Home
</VBtn>
<!-- 👉 Image -->
<div class="misc-avatar w-100 text-center">
<VImg
:src="pages401"
alt="not autorized"
:max-height="$vuetify.display.smAndDown ? 350 : 500"
class="mx-auto"
/>
</div>
<img
class="misc-footer-img d-none d-md-block"
:src="authThemeMask"
alt="misc-footer-img"
height="320"
>
</div>
</template>
<style lang="scss">
@use "@core-scss/template/pages/misc.scss";
</style>