2019-04-19 17:35:02 +00:00
|
|
|
<template lang="html">
|
|
|
|
<div class="not-found-page">
|
|
|
|
<h1>404</h1>
|
2019-05-18 13:44:49 +00:00
|
|
|
<h3>{{ $t('pageNotFound') }}</h3>
|
2019-04-19 17:35:02 +00:00
|
|
|
|
|
|
|
<a :href="homeUrl" class="link primary">
|
2019-05-18 13:44:49 +00:00
|
|
|
{{ $t('returnHome') }}
|
2019-04-19 17:35:02 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</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-09-10 20:02:16 +00:00
|
|
|
@import "~styles/styles";
|
2019-04-19 17:35:02 +00:00
|
|
|
|
|
|
|
.not-found-page {
|
2019-10-09 16:30:07 +00:00
|
|
|
color: #555555;
|
2019-04-19 17:35:02 +00:00
|
|
|
min-height: calc(100vh - #{$navHeight});
|
|
|
|
padding: 0 $gp;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 50px;
|
|
|
|
margin-bottom: $gp;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.link {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
</style>
|