add new nuxt build

This commit is contained in:
2021-07-04 16:56:48 +02:00
parent 5b9db458ac
commit 2fbbabe45c
142 changed files with 12354 additions and 6 deletions

41
nuxt/layouts/error.vue Normal file
View File

@@ -0,0 +1,41 @@
<template lang="pug">
div
.titleview
.outrun.glow(v-if="error.statusCode === 404") {{ pageNotFound }}
.outrun.glow(v-else) {{ otherError }}
.buttonrow
NuxtLink(to="/")
button
span Home page
</template>
<script>
export default {
layout: 'empty',
props: {
error: {
type: Object,
default: null
}
},
data () {
return {
pageNotFound: '404 Not Found',
otherError: 'An error occurred'
}
},
head () {
const title =
this.error.statusCode === 404 ? this.pageNotFound : this.otherError
return {
title
}
}
}
</script>
<style scoped>
h1 {
font-size: 20px;
}
</style>