Files
Genarrative/public/404.html
kdletters f4153ebfa7 统一维护与错误页面并修复移动端顶部文案
新增品牌维护页和404页面并补齐网关路由
将临时维护公告迁到release外运行态覆盖并增加构建门禁
同步Nginx、Pingora、部署脚本与生产运维文档
隐藏移动端顶部SEO介绍并保留桌面端与H1语义
增加维护页、404页和移动端回归测试
2026-07-13 16:26:27 +08:00

214 lines
4.8 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="noindex, nofollow" />
<link rel="icon" type="image/png" href="/branding/taonier-product-ip.png" />
<title>页面无法连接 - 陶泥儿</title>
<style>
* {
box-sizing: border-box;
}
html,
body {
width: 100%;
min-height: 100%;
margin: 0;
background: #fff8f4;
}
body {
min-height: 100vh;
min-height: 100dvh;
overflow: hidden;
}
.page-art {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
}
.mobile-page {
position: absolute;
visibility: hidden;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
@media (max-aspect-ratio: 4 / 5) {
.page-art {
object-fit: contain;
}
}
@media (max-width: 680px) {
body {
overflow: auto;
}
.page-art {
display: none;
}
.mobile-page {
position: relative;
visibility: visible;
display: flex;
width: 100%;
min-height: 100vh;
min-height: 100dvh;
height: auto;
margin: 0;
padding: 36px 24px 30px;
overflow: visible;
clip: auto;
flex-direction: column;
align-items: center;
justify-content: center;
color: #563018;
text-align: center;
white-space: normal;
}
.mobile-page h1 {
margin: 0;
color: #ef762f;
font-size: 68px;
line-height: 1;
letter-spacing: 0;
}
.mobile-page h2 {
margin: 12px 0 0;
font-size: 28px;
line-height: 1.3;
letter-spacing: 0;
}
.mobile-page p {
max-width: 300px;
margin: 12px 0 0;
color: #86563d;
font-size: 15px;
line-height: 1.7;
letter-spacing: 0;
}
.mobile-character {
width: min(64vw, 250px);
height: auto;
margin-top: 20px;
}
.mobile-actions {
display: flex;
gap: 12px;
margin-top: 18px;
}
.mobile-actions a,
.mobile-actions button {
display: inline-flex;
height: 42px;
align-items: center;
justify-content: center;
padding: 0 18px;
border: 1px solid #e98a54;
border-radius: 8px;
background: #fff8f4;
color: #d86228;
font: inherit;
font-size: 14px;
font-weight: 700;
letter-spacing: 0;
text-decoration: none;
cursor: pointer;
}
.mobile-actions .primary {
background: #ef7939;
color: #fff;
box-shadow: 0 8px 20px rgb(205 100 44 / 16%);
}
.mobile-actions a:focus-visible,
.mobile-actions button:focus-visible {
outline: 3px solid rgb(239 121 57 / 28%);
outline-offset: 3px;
}
}
@media (max-width: 680px) and (max-height: 720px) {
.mobile-page {
padding-top: 24px;
padding-bottom: 22px;
}
.mobile-page h1 {
font-size: 58px;
}
.mobile-page h2 {
margin-top: 8px;
font-size: 24px;
}
.mobile-page p {
margin-top: 8px;
}
.mobile-character {
width: 190px;
margin-top: 12px;
}
.mobile-actions {
margin-top: 12px;
}
}
</style>
</head>
<body>
<img
class="page-art"
src="/branding/taonier-404-page.png"
alt="404 页面无法连接,您访问的页面不存在或已被移除"
width="1672"
height="941"
/>
<main class="mobile-page">
<h1>404</h1>
<h2>页面无法连接</h2>
<p>抱歉,您访问的页面不存在或已被移除。</p>
<img
class="mobile-character"
src="/branding/taonier-404-character.png"
alt="陶泥儿从陶罐中探出头,旁边放着施工路障"
width="470"
height="590"
/>
<div class="mobile-actions">
<button
type="button"
onclick="window.history.length > 1 ? window.history.back() : (window.location.href = '/')"
>
返回上一页
</button>
<a class="primary" href="/">前往首页</a>
</div>
</main>
</body>
</html>