53 lines
1.1 KiB
Vue
53 lines
1.1 KiB
Vue
<template>
|
|
<div class="fullscreen-error text-center">
|
|
<div>
|
|
<div class="error-code">{{ t('errorNotFoundPage.errorCode') }}</div>
|
|
<div class="error-message">{{ t('errorNotFoundPage.errorMessage') }}</div>
|
|
<router-link to="/" class="btn btn-primary mt-3">{{ t('errorNotFoundPage.goHomeButton') }}</router-link>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { useI18n } from 'vue-i18n';
|
|
|
|
const { t } = useI18n();
|
|
</script>
|
|
|
|
<style scoped>
|
|
.fullscreen-error {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
background-color: var(--secondary-accent);
|
|
color: var(--dark);
|
|
padding: 2rem;
|
|
font-family: "Patrick Hand", cursive;
|
|
}
|
|
|
|
.error-code {
|
|
font-size: clamp(15vh, 25vw, 30vh);
|
|
font-weight: bold;
|
|
color: var(--primary);
|
|
line-height: 1;
|
|
text-shadow: var(--shadow-md);
|
|
}
|
|
|
|
.error-message {
|
|
font-size: clamp(1.5rem, 4vw, 2.5rem);
|
|
opacity: 0.8;
|
|
margin-top: -1rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--primary);
|
|
color: var(--dark);
|
|
}
|
|
|
|
.mt-3 {
|
|
margin-top: 1.5rem;
|
|
}
|
|
</style> |