This commit is contained in:
2023-04-19 14:26:37 +10:00
parent f0459b3f6e
commit eafbcd8389
2 changed files with 0 additions and 64 deletions

View File

@@ -1,32 +0,0 @@
<template>
<SMPage no-breadcrumbs>
<div class="sm-page-error sm-error-not-found">
<div class="sm-error-number">
4<img src="/img/sad-monster.png" />3
</div>
<div class="sm-error-content">
<h2>Ooops!</h2>
<p>This page is not for you to view!</p>
<SMButton label="Go Back" @click="handleClick" />
</div>
</div>
</SMPage>
</template>
<script setup lang="ts">
import SMButton from "../SMButton.vue";
import { useRouter } from "vue-router";
import { useApplicationStore } from "../../store/ApplicationStore";
const router = useRouter();
const applicationStore = useApplicationStore();
applicationStore.setDynamicTitle("Forbidden");
/**
* Handle user clicking back/home button
*/
const handleClick = () => {
router.go(-1);
};
</script>

View File

@@ -1,32 +0,0 @@
<template>
<SMPage no-breadcrumbs>
<div class="sm-page-error sm-error-not-found">
<div class="sm-error-number">
4<img src="/img/sad-monster.png" />4
</div>
<div class="sm-error-content">
<h2>Ooops!</h2>
<p>The page you are looking for does not exist!</p>
<SMButton label="Go Back" @click="handleClick" />
</div>
</div>
</SMPage>
</template>
<script setup lang="ts">
import SMButton from "../SMButton.vue";
import { useRouter } from "vue-router";
import { useApplicationStore } from "../../store/ApplicationStore";
const router = useRouter();
const applicationStore = useApplicationStore();
applicationStore.setDynamicTitle("Not Found");
/**
* Handle user clicking back/home button
*/
const handleClick = () => {
router.go(-1);
};
</script>