mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 07:05:11 +00:00
fix: improve design of error pages (#68)
This commit is contained in:
parent
62e2f94fcd
commit
2d0f988ed1
@ -17,22 +17,23 @@
|
||||
dark:text-sky-surface
|
||||
">
|
||||
<div class="min-h-screen md:flex">
|
||||
<div class="flex items-center justify-center w-full md:w-1/2">
|
||||
<div class="max-w-sm m-8">
|
||||
<div class="text-5xl font-bold dark:text-white md:text-15xl">
|
||||
<div class="flex items-center justify-center w-full max-w-full">
|
||||
<div class="max-w-full lg:max-w-10xl m-8 p-4">
|
||||
<div class="md:max-w-sm text-5xl font-bold dark:text-white md:text-15xl">
|
||||
{{ messages.statusCode }}
|
||||
</div>
|
||||
<div class="w-16 h-1 my-3 bg-primary md:my-6"></div>
|
||||
<p class="
|
||||
<div class="
|
||||
mb-8
|
||||
text-2xl
|
||||
font-light
|
||||
leading-normal
|
||||
dark:text-cloud-lighter
|
||||
md:text-3xl
|
||||
max-w-sm
|
||||
">
|
||||
{{ messages.description }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="
|
||||
|
@ -1,45 +1,54 @@
|
||||
<!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"
|
||||
/>
|
||||
<meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0" name="viewport" />
|
||||
<script type="module" src="/styles.ts"></script>
|
||||
</head>
|
||||
<body
|
||||
class="
|
||||
|
||||
<body class="
|
||||
font-sans
|
||||
antialiased
|
||||
bg-cloud-surface
|
||||
dark:bg-sky-darker
|
||||
text-sky-darkest
|
||||
dark:text-sky-surface
|
||||
"
|
||||
>
|
||||
">
|
||||
<div class="min-h-screen md:flex">
|
||||
<div class="flex items-center justify-center w-full md:w-1/2">
|
||||
<div class="max-w-sm m-8">
|
||||
<div class="text-5xl font-bold dark:text-white md:text-15xl">
|
||||
<div class="flex items-center justify-center w-full max-w-full">
|
||||
<div class="max-w-full lg:max-w-10xl m-8 p-4">
|
||||
<div class="md:max-w-sm text-5xl font-bold dark:text-white md:text-15xl">
|
||||
{{ messages.statusCode }}
|
||||
</div>
|
||||
<div class="w-16 h-1 my-3 bg-primary md:my-6"></div>
|
||||
<p
|
||||
class="
|
||||
<div class="
|
||||
mb-8
|
||||
text-2xl
|
||||
font-light
|
||||
leading-normal
|
||||
dark:text-cloud-lighter
|
||||
md:text-3xl
|
||||
"
|
||||
>
|
||||
max-w-sm
|
||||
">
|
||||
{{ messages.description }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="
|
||||
mb-8
|
||||
text-sm
|
||||
leading-normal
|
||||
dark:text-cloud-lighter
|
||||
md:text-lg
|
||||
white
|
||||
overflow-scroll
|
||||
max-w-full
|
||||
">
|
||||
{{ messages.stack }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user