New error page, add legal pages, responsiveness for home page

This commit is contained in:
Jai A
2020-11-02 22:04:40 -07:00
parent b7de47b6fb
commit 4b0b8d4de2
11 changed files with 587 additions and 119 deletions

27
layouts/error.vue Normal file
View File

@@ -0,0 +1,27 @@
<template>
<div class="main">
<h1>{{ error.message }}</h1>
<NuxtLink to="/">
An error occurred! Click this text to go back home, and find your way
back!
</NuxtLink>
</div>
</template>
<script>
export default {
props: ['error'],
layout: 'home',
created() {
console.log(this.error)
},
}
</script>
<style lang="scss" scoped>
.main {
margin: 0 auto;
max-width: 800px;
text-align: center;
}
</style>