mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 22:03:36 +09:00
first
This commit is contained in:
164
src/pages/error/page-2.vue
Normal file
164
src/pages/error/page-2.vue
Normal file
@@ -0,0 +1,164 @@
|
||||
<script setup lang="ts">
|
||||
useHead({
|
||||
title: 'Error Page 2 - Vuero',
|
||||
})
|
||||
|
||||
const router = useRouter()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="error-container">
|
||||
<div class="error-nav">
|
||||
<VDarkmodeToggle />
|
||||
</div>
|
||||
|
||||
<div class="error-wrapper">
|
||||
<div class="error-inner has-text-centered">
|
||||
<div class="bg-number dark-inverted">
|
||||
404
|
||||
</div>
|
||||
<img
|
||||
class="light-image"
|
||||
src="/images/illustrations/placeholders/error-2.svg"
|
||||
alt=""
|
||||
>
|
||||
<img
|
||||
class="dark-image"
|
||||
src="/images/illustrations/placeholders/error-2-dark.svg"
|
||||
alt=""
|
||||
>
|
||||
<h3 class="dark-inverted">
|
||||
We couldn't find that page
|
||||
</h3>
|
||||
<p>
|
||||
Looks like we couldn't find that page. Please try again or contact an
|
||||
administrator if the problem persists.
|
||||
</p>
|
||||
<div class="button-wrap">
|
||||
<VButton
|
||||
color="primary"
|
||||
elevated
|
||||
@click="() => router.go(-1)"
|
||||
>
|
||||
Take me Back
|
||||
</VButton>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
.error-container {
|
||||
width: 100vw;
|
||||
min-height: 100vh;
|
||||
|
||||
.error-nav {
|
||||
.dark-mode {
|
||||
position: absolute;
|
||||
inset-inline-end: 0;
|
||||
top: 0;
|
||||
display: inline-block;
|
||||
transform: scale(0.5);
|
||||
}
|
||||
}
|
||||
|
||||
.error-wrapper {
|
||||
max-width: 840px;
|
||||
margin: 0 auto;
|
||||
padding-top: 40px;
|
||||
|
||||
.error-inner {
|
||||
position: relative;
|
||||
max-width: 540px;
|
||||
margin: 0 auto;
|
||||
|
||||
.bg-number {
|
||||
font-family: var(--font);
|
||||
position: absolute;
|
||||
top: -58px;
|
||||
inset-inline-start: -50px;
|
||||
inset-inline-end: 0;
|
||||
margin: 0 auto;
|
||||
font-size: 28rem;
|
||||
font-weight: 600;
|
||||
opacity: 0.15;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
img,
|
||||
svg,
|
||||
h3,
|
||||
p,
|
||||
.button-wrap {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
img,
|
||||
.iconify {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.5rem;
|
||||
font-family: var(--font-alt);
|
||||
color: var(--dark-text);
|
||||
font-weight: 600;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-family: var(--font);
|
||||
font-size: 1.1rem;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.button-wrap {
|
||||
.button {
|
||||
min-width: 220px;
|
||||
min-height: 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.is-dark {
|
||||
.error-container {
|
||||
.error-wrapper {
|
||||
.error-inner {
|
||||
.bg-number {
|
||||
opacity: 0.09;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (width <= 767px) {
|
||||
.error-container {
|
||||
.error-wrapper {
|
||||
padding-top: 60px;
|
||||
|
||||
.error-inner {
|
||||
padding: 10px;
|
||||
|
||||
.bg-number {
|
||||
top: -35px;
|
||||
inset-inline-start: -18px;
|
||||
inset-inline-end: 0;
|
||||
font-size: 13rem;
|
||||
}
|
||||
|
||||
img,
|
||||
.iconify {
|
||||
max-width: 345px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user