gamebrary/src/pages/NotFound.vue

53 lines
814 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"
2019-11-14 21:10:10 +00:00
class="link primary"
>
2019-11-08 20:34:06 +00:00
{{ $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>
2020-07-22 20:44:48 +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;
2020-07-22 20:44:48 +00:00
min-height: calc(100vh - 48px);
padding: 0 1rem;
2019-11-08 20:34:06 +00:00
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;
2020-07-22 20:44:48 +00:00
margin-bottom: 1rem;
2019-11-08 20:34:06 +00:00
}
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>