esp-hal/resources/404.html.jinja
Kirill Mikhailov 5fde6a7c24
make svg path absolute (404 page) (#4402)
* make `svg` path absolute (404 page)

* index page favicon path to absolute too
2025-10-29 07:59:18 +00:00

59 lines
1.3 KiB
Django/Jinja

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Page Not Found</title>
<link rel="icon" href="/projects/rust/esp-rs.svg" />
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500&display=swap" rel="stylesheet" />
<style>
body {
background-color: rgb(53, 53, 53);
font-family: "Fira Sans", sans-serif;
color: white;
margin: 0;
padding: 40px 20px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
box-sizing: border-box;
text-align: center;
}
.logo img {
width: 100px;
height: auto;
margin-bottom: 20px;
}
h1 {
font-size: 4em;
margin: 0.5em 0;
}
a {
color: #d6991d;
text-decoration: none;
font-weight: 500;
}
</style>
</head>
<body>
<div class="logo">
<img src="/projects/rust/esp-rs.svg" alt="esp-rs logo" />
</div>
<h1>404</h1>
<p>Sorry, the page you are looking for does not exist.</p>
<p><a href="https://docs.espressif.com/projects/rust/">Back to Documentation Index</a></p>
<p><a href="javascript:history.back()">Back to Previous Page</a></p>
</body>
</html>