Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 31 additions & 8 deletions cli/templates/404.html
Original file line number Diff line number Diff line change
@@ -1,29 +1,53 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Valet - Not Found</title>

<style>
body {
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
color: #000;
background-color: #fff;
font-family: monospace;
text-align: center;
}
body > div {
width: clamp(300px, calc(176.364px + 38.636vw), 640px);
}
h1 {
font-size: 10rem;
font-size: clamp(3.20rem, calc(-0.182rem + 16.909vw), 12.50rem);
letter-spacing: 0.2em;
margin-block: 1rem 0;
}
h2 {
font-size: clamp(2.80rem, calc(2.000rem + 4.000vw), 5.00rem);
margin: 0;
}
@media (prefers-color-scheme: dark) {
body {
color: #fff;
background-color: #2e2e2e;
}
}
</style>
</head>

<body>
<div style="width: 500px; margin: auto; text-align: center; margin-top: 6rem">
<div>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 378.59 84.42">
<style>
.valet {
fill: #2e2e2e;
fill-rule: evenodd;
}

@media (prefers-color-scheme: dark) {
.valet {
fill: #fff;
}
}

.valet--gradient {
fill: url(#gradient);
}
Expand All @@ -50,9 +74,8 @@
class="valet valet--gradient"
d="M350.93 1.36c3.95 0 7.47.56 10.54 1.67 3.07 1.12 5.67 2.63 7.8 4.53 2.12 1.9 3.73 4.11 4.83 6.61 1.1 2.51 1.65 5.15 1.65 7.93 0 2.53-.26 4.75-.77 6.67s-1.27 3.59-2.28 4.99a14.171 14.171 0 0 1-3.73 3.59c-1.48.99-3.17 1.81-5.08 2.47 8.85 3.07 13.28 9.09 13.28 18.06 0 4.25-.77 7.94-2.31 11.09-1.54 3.15-3.59 5.76-6.18 7.85s-5.57 3.65-8.97 4.69c-3.41 1.04-6.96 1.56-10.65 1.56s-7.19-.41-10.16-1.23c-2.96-.82-5.6-2.1-7.91-3.84-2.3-1.74-4.33-3.96-6.06-6.67-1.74-2.71-3.25-5.93-4.53-9.66l7.58-3.08c.66-.29 1.31-.49 1.95-.6s1.27-.16 1.89-.16c1.17 0 2.22.23 3.16.69s1.64 1.13 2.11 2c1.65 3.04 3.39 5.24 5.24 6.61s4.01 2.06 6.51 2.06c1.9 0 3.56-.32 4.97-.96 1.41-.64 2.58-1.46 3.51-2.47s1.64-2.15 2.11-3.43c.47-1.28.71-2.58.71-3.9 0-1.72-.12-3.27-.36-4.64-.24-1.37-.91-2.55-2-3.54s-2.75-1.75-4.97-2.28c-2.21-.53-5.3-.8-9.25-.8V35.42c3.33 0 6.02-.26 8.07-.77 2.05-.51 3.63-1.22 4.75-2.11 1.11-.9 1.86-1.99 2.22-3.27s.55-2.69.55-4.23c0-3.15-.76-5.57-2.28-7.27-1.52-1.7-3.84-2.55-6.94-2.55-1.28 0-2.45.18-3.51.55s-2.01.86-2.85 1.48c-.84.62-1.56 1.35-2.17 2.2-.61.84-1.09 1.76-1.46 2.74-.59 1.65-1.33 2.84-2.22 3.57-.9.73-2.11 1.1-3.65 1.1-.37 0-.76-.02-1.18-.05-.42-.04-.85-.09-1.29-.16l-9.01-1.59c.59-3.99 1.71-7.47 3.38-10.43 1.66-2.96 3.73-5.43 6.2-7.41s5.3-3.45 8.48-4.42 6.61-1.46 10.27-1.46Z" />
</svg>

<h1 style="font-size: 10rem; margin: 0; margin-top: 15%; letter-spacing: 25px; margin-left: 20px">404</h1>
<h2 style="font-size: 4rem; margin: 0">Not Found</h2>
<h1>404</h1>
<h2>Not Found</h2>
</div>
</body>
</html>
Loading