151 lines
3.9 KiB
Vue
151 lines
3.9 KiB
Vue
<script setup lang="ts">
|
|
import {
|
|
Wrench,
|
|
ArrowLeft,
|
|
RefreshCw,
|
|
} from "lucide-vue-next";
|
|
|
|
definePageMeta({
|
|
layout: "err",
|
|
});
|
|
|
|
const { t } = useI18n();
|
|
|
|
const reloadPage = () => {
|
|
window.location.reload();
|
|
};
|
|
|
|
useHead({
|
|
title: "Maintenance",
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<main
|
|
class="flex min-h-[calc(100vh-220px)] items-center justify-center px-5 py-20 sm:px-8"
|
|
>
|
|
<section class="w-full max-w-2xl text-center">
|
|
<!-- Status -->
|
|
<div
|
|
class="mb-8 flex items-center justify-center gap-2 text-[10px] font-semibold uppercase tracking-[0.25em]"
|
|
:style="{ color: 'var(--text-muted)' }"
|
|
>
|
|
<span
|
|
class="h-1.5 w-1.5 rounded-full"
|
|
:style="{ backgroundColor: 'var(--text)' }"
|
|
/>
|
|
|
|
<span>{{ t("maintenance.status") }}</span>
|
|
|
|
<span>01</span>
|
|
</div>
|
|
|
|
<!-- Icon -->
|
|
<div
|
|
class="mx-auto mb-7 flex h-16 w-16 items-center justify-center rounded-2xl border"
|
|
:style="{
|
|
backgroundColor: 'var(--surface)',
|
|
borderColor: 'var(--border)',
|
|
color: 'var(--text)',
|
|
}"
|
|
>
|
|
<Wrench class="h-7 w-7" />
|
|
</div>
|
|
|
|
<!-- Title -->
|
|
<h1
|
|
class="text-4xl font-bold tracking-tight sm:text-6xl"
|
|
:style="{ color: 'var(--text)' }"
|
|
>
|
|
{{ t("maintenance.title") }}
|
|
</h1>
|
|
|
|
<!-- Description -->
|
|
<p
|
|
class="mx-auto mt-5 max-w-xl text-sm leading-7 sm:text-base"
|
|
:style="{ color: 'var(--text-muted)' }"
|
|
>
|
|
{{ t("maintenance.description") }}
|
|
</p>
|
|
|
|
<!-- Technical info -->
|
|
<div
|
|
class="mx-auto mt-8 grid max-w-md grid-cols-2 gap-px overflow-hidden rounded-xl border"
|
|
:style="{
|
|
backgroundColor: 'var(--border)',
|
|
borderColor: 'var(--border)',
|
|
}"
|
|
>
|
|
<div
|
|
class="px-4 py-4"
|
|
:style="{ backgroundColor: 'var(--surface)' }"
|
|
>
|
|
<p
|
|
class="text-[9px] font-semibold uppercase tracking-[0.2em]"
|
|
:style="{ color: 'var(--text-muted)' }"
|
|
>
|
|
{{ t("maintenance.system") }}
|
|
</p>
|
|
|
|
<p
|
|
class="mt-1 text-sm font-semibold"
|
|
:style="{ color: 'var(--text)' }"
|
|
>
|
|
{{ t("maintenance.systemValue") }}
|
|
</p>
|
|
</div>
|
|
|
|
<div
|
|
class="px-4 py-4"
|
|
:style="{ backgroundColor: 'var(--surface)' }"
|
|
>
|
|
<p
|
|
class="text-[9px] font-semibold uppercase tracking-[0.2em]"
|
|
:style="{ color: 'var(--text-muted)' }"
|
|
>
|
|
{{ t("maintenance.statusLabel") }}
|
|
</p>
|
|
|
|
<p
|
|
class="mt-1 text-sm font-semibold"
|
|
:style="{ color: 'var(--text)' }"
|
|
>
|
|
{{ t("maintenance.statusValue") }}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Actions -->
|
|
<div class="mt-8 flex flex-col justify-center gap-3 sm:flex-row">
|
|
<NuxtLink
|
|
to="/"
|
|
class="inline-flex h-11 items-center justify-center gap-2 rounded-xl border px-5 text-sm font-semibold transition-all duration-200 hover:-translate-y-0.5"
|
|
:style="{
|
|
backgroundColor: 'var(--surface)',
|
|
borderColor: 'var(--border)',
|
|
color: 'var(--text)',
|
|
}"
|
|
>
|
|
<ArrowLeft class="h-4 w-4" />
|
|
|
|
{{ t("maintenance.backHome") }}
|
|
</NuxtLink>
|
|
|
|
<button
|
|
type="button"
|
|
@click="reloadPage"
|
|
class="inline-flex h-11 items-center justify-center gap-2 rounded-xl border px-5 text-sm font-semibold transition-all duration-200 hover:-translate-y-0.5"
|
|
:style="{
|
|
backgroundColor: 'var(--text)',
|
|
borderColor: 'var(--text)',
|
|
color: 'var(--bg)',
|
|
}"
|
|
>
|
|
<RefreshCw class="h-4 w-4" />
|
|
|
|
{{ t("maintenance.retry") }}
|
|
</button>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
</template> |