Nuxt/packages/ui-templates/templates/error-404/index.html

78 lines
2.7 KiB
HTML
Raw Permalink Normal View History

2021-12-22 13:04:06 +00:00
<!DOCTYPE html>
<html>
<head>
<title>{{ messages.statusCode }} - {{ messages.statusMessage }} | {{ messages.appName }}</title>
<meta charset="utf-8"/>
<meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0" name="viewport"/>
<script type="module" src="/styles.ts"></script>
<style>
.spotlight {
background: linear-gradient(45deg, #00DC82 0%, #36E4DA 50%, #0047E1 100%);
filter: blur(20vh);
2022-03-30 23:38:34 +00:00
height: 40vh;
bottom: -30vh;
}
.gradient-border {
position: relative;
border-radius: 0.5rem;
2022-03-30 23:04:28 +00:00
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
}
@media (prefers-color-scheme: light) {
.gradient-border {
background-color: rgba(255, 255, 255, 0.3);
}
.gradient-border::before {
background: linear-gradient(90deg, #e2e2e2 0%, #e2e2e2 25%, #00DC82 50%, #36E4DA 75%, #0047E1 100%);
}
}
@media (prefers-color-scheme: dark) {
.gradient-border {
background-color: rgba(20, 20, 20, 0.3);
}
.gradient-border::before {
background: linear-gradient(90deg, #303030 0%, #303030 25%, #00DC82 50%, #36E4DA 75%, #0047E1 100%);
}
}
.gradient-border::before {
2022-03-30 23:04:28 +00:00
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 0.5rem;
2022-03-30 23:04:28 +00:00
padding: 2px;
width: 100%;
background-size: 400% auto;
opacity: 0.5;
transition: background-position 0.3s ease-in-out, opacity 0.2s ease-in-out;
-webkit-mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
}
.gradient-border:hover::before {
2022-03-30 23:04:28 +00:00
background-position: -50% 0;
opacity: 1;
}
</style>
</head>
<body class="font-sans antialiased bg-white dark:bg-black text-black dark:text-white grid min-h-screen place-content-center overflow-hidden ">
2022-03-30 23:38:34 +00:00
<div class="fixed left-0 right-0 spotlight z-10"></div>
2022-03-30 23:04:28 +00:00
<div class="max-w-520px text-center z-20">
<h1 class="text-8xl sm:text-10xl font-medium mb-8">{{ messages.statusCode }}</h1>
<p class="text-xl px-8 sm:px-0 sm:text-4xl font-light mb-16 leading-tight">{{ messages.description }}</p>
<div class="w-full flex items-center justify-center">
2022-03-30 23:04:28 +00:00
<a href="/" class="gradient-border text-md sm:text-xl py-2 px-4 sm:py-3 sm:px-6 cursor-pointer">
2021-12-22 19:54:18 +00:00
{{ messages.backHome }}
</a>
2022-03-30 23:04:28 +00:00
</div>
2021-12-22 19:54:18 +00:00
</div>
</body>
2021-12-22 13:04:06 +00:00
</html>