gamebrary/src/pages/NotFound.vue

52 lines
813 B
Vue
Raw Normal View History

2019-04-19 17:35:02 +00:00
<template lang="html">
2019-11-08 20:34:06 +00:00
<div class="not-found-page">
<h1>404</h1>
<h3>{{ $t('pageNotFound') }}</h3>
2019-04-19 17:35:02 +00:00
2019-11-08 20:34:06 +00:00
<a
:href="homeUrl"
class="link primary">
{{ $t('returnHome') }}
</a>
</div>
2019-04-19 17:35:02 +00:00
</template>
<script>
export default {
2019-11-08 19:56:03 +00:00
computed: {
homeUrl() {
return process.env.NODE_ENV === 'development'
? 'http://localhost:4000'
: 'https://app.gamebrary.com';
2019-04-19 17:35:02 +00:00
},
2019-11-08 19:56:03 +00:00
},
2019-04-19 17:35:02 +00:00
};
</script>
<style lang="scss" rel="stylesheet/scss" scoped>
2019-11-08 20:34:06 +00:00
@import "~styles/styles";
2019-04-19 17:35:02 +00:00
2019-11-08 20:34:06 +00:00
.not-found-page {
color: #555555;
min-height: calc(100vh - #{$navHeight});
padding: 0 $gp;
display: flex;
align-items: center;
flex-direction: column;
}
2019-04-19 17:35:02 +00:00
2019-11-08 20:34:06 +00:00
h1 {
font-size: 300px;
}
2019-04-19 17:35:02 +00:00
2019-11-08 20:34:06 +00:00
h3 {
font-size: 50px;
margin-bottom: $gp;
}
2019-04-19 17:35:02 +00:00
2019-11-08 20:34:06 +00:00
a.link {
display: flex;
align-items: center;
}
2019-04-19 17:35:02 +00:00
</style>