aboutsummaryrefslogtreecommitdiff
path: root/src/site/layouts/error.vue
diff options
context:
space:
mode:
authorPitu <[email protected]>2018-09-19 04:45:50 -0300
committerPitu <[email protected]>2018-09-19 04:45:50 -0300
commit430af8306b1ab17e59a6dabf8f65ab816d28695d (patch)
tree975814e80919cc7b8c5d820080a30def32a371ea /src/site/layouts/error.vue
parentSome adjustements to public album view (diff)
downloadhost.fuwn.me-430af8306b1ab17e59a6dabf8f65ab816d28695d.tar.xz
host.fuwn.me-430af8306b1ab17e59a6dabf8f65ab816d28695d.zip
Switch to Nuxt.js
Diffstat (limited to 'src/site/layouts/error.vue')
-rw-r--r--src/site/layouts/error.vue35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/site/layouts/error.vue b/src/site/layouts/error.vue
new file mode 100644
index 0000000..597653b
--- /dev/null
+++ b/src/site/layouts/error.vue
@@ -0,0 +1,35 @@
+<style lang="scss" scoped>
+@import "~/assets/styles/_colors.scss";
+ h2 {
+ font-weight: 100;
+ color: $textColor;
+ font-size: 4em;
+ text-align: center;
+ }
+</style>
+
+<template>
+ <section class="hero is-fullheight">
+ <Navbar :isWhite="true" />
+ <div class="hero-body">
+ <div class="container">
+ <h2>404エラ</h2>
+ </div>
+ </div>
+ </section>
+</template>
+
+<script>
+import Navbar from '~/components/navbar/Navbar.vue';
+
+export default {
+ components: { Navbar },
+ mounted() {
+ this.$ga.page({
+ page: '/404',
+ title: 'Not Found',
+ location: window.location.href
+ });
+ }
+};
+</script>