2023-08-05 16:06:28 +02:00
|
|
|
<script setup lang="ts">
|
|
|
|
import { H3Error } from 'h3'
|
|
|
|
|
|
|
|
const head = useLocaleHead({
|
|
|
|
addDirAttribute: true,
|
|
|
|
addSeoAttributes: true,
|
|
|
|
})
|
|
|
|
|
|
|
|
const props = defineProps<{
|
|
|
|
error: H3Error
|
|
|
|
}>()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<main
|
|
|
|
class="container mx-auto p-10 min-h-screen flex flex-col justify-center items-center"
|
|
|
|
>
|
|
|
|
<Html :lang="head.htmlAttrs?.lang" :dir="head.htmlAttrs?.dir"></Html>
|
2023-11-07 18:00:26 +01:00
|
|
|
<img class="logo" src="/assets/img/logo-white.svg" alt="YunoHost logo" />
|
2023-08-05 16:06:28 +02:00
|
|
|
<div class="text-center mt-10">
|
|
|
|
<h1 class="text-7xl font-bold">{{ error.statusCode }}</h1>
|
|
|
|
<p class="py-6">{{ error.statusMessage }}</p>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
</template>
|
|
|
|
|
2023-11-07 18:00:26 +01:00
|
|
|
<style scoped>
|
2023-08-05 16:06:28 +02:00
|
|
|
.logo {
|
|
|
|
width: 50%;
|
|
|
|
max-width: 200px;
|
|
|
|
}
|
|
|
|
</style>
|