Skip to content

Commit

Permalink
Fix 404 error page
Browse files Browse the repository at this point in the history
  • Loading branch information
smilingkylan committed Oct 21, 2023
1 parent e04a01e commit 5d0b452
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions src/pages/Error404.vue
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
<script lang="ts">
import { DEFAULT_THEME } from 'src/config/BaseChain';
import { defineComponent } from 'vue';
export default defineComponent({
name: 'Error404Page',
setup () {
return {
secondary: DEFAULT_THEME.secondary,
};
},
});
</script>

<template>
<div class="fullscreen bg-blue text-white text-center q-pa-md flex flex-center">
<div>
<div class="fullscreen text-primary text-center q-pa-md flex flex-center">
<div class="message-404">
<div class="text-xl">404</div>
<div class="text-h2">Oops. Nothing here...</div>
<q-btn
class="q-mt-xl"
color="white"
text-color="blue"
:text-color="secondary"
unelevated
to="/"
label="Go Home"
Expand All @@ -23,3 +29,8 @@ export default defineComponent({
</div>
</div>
</template>

<style lang="sass">
.message-404
color: var(--q-secondary)
</style>

0 comments on commit 5d0b452

Please sign in to comment.