refactoring with vuetify

This commit is contained in:
les
2020-07-31 01:03:19 +02:00
parent 24a99d0eb0
commit 3f49c915ab
25 changed files with 686 additions and 1071 deletions

View File

@@ -1,7 +1,7 @@
<template lang='pug'>
v-container.p-4.text-center#error
h1(v-if="error.statusCode === 404") <i class='el-icon-warning'></i> {{error.message}}
h1(v-else) <i name='el-icon-warning'></i> An error occurred: {{error.message}}
v-container.p-4.text-center
v-alert(v-if="error.statusCode === 404") ¯\_()_/¯ {{error.message}}
v-calert(v-else) <i>warning</i> An error occurred: {{error.message}}
nuxt-link(to='/') Back to home
</template>
@@ -16,10 +16,3 @@ export default {
}
}
</script>
<style lang="less">
#error {
margin-top: 20px;
color: orange;
i { color: orangered }
}
</style>