45 lines
842 B
Vue
45 lines
842 B
Vue
<template>
|
|
<div class="message-container">
|
|
<div class="message-content">
|
|
<h2>🔒 Access Denied</h2>
|
|
<div class="button-row">
|
|
<button class="btn-secondary" @click="goBack">Back</button>
|
|
<button class="btn-primary" @click="$emit('reload')">Reload Page</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { goBack } from '@/utils/helpers'
|
|
|
|
defineEmits(['reload'])
|
|
</script>
|
|
|
|
<style scoped>
|
|
.message-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.message-content {
|
|
text-align: center;
|
|
max-width: 480px;
|
|
}
|
|
|
|
.message-content h2 {
|
|
margin: 0 0 1.5rem;
|
|
color: var(--color-heading);
|
|
}
|
|
|
|
.message-content .button-row {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
justify-content: center;
|
|
}
|
|
</style>
|