Gate /social/work behind join/login/profile; harden Work UX and LanguageSwitcher SSR; deploy portal, admin, and work API. Co-authored-by: Cursor <cursoragent@cursor.com>
64 lines
2.9 KiB
HTML
64 lines
2.9 KiB
HTML
<!doctype html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1.0, viewport-fit=cover"
|
|
/>
|
|
<meta name="theme-color" content="#0c0c0f" />
|
|
<meta name="color-scheme" content="dark light" />
|
|
<script>
|
|
try {
|
|
var theme = localStorage.getItem('nomadro_admin_theme') === 'light' ? 'light' : 'dark'
|
|
document.documentElement.dataset.theme = theme
|
|
document.documentElement.style.colorScheme = theme
|
|
} catch (e) {}
|
|
</script>
|
|
<style>
|
|
html,body,#root{min-height:100%;margin:0;background:#0c0c0f;color:#f4f4f5}
|
|
body{font-family:'DM Sans','PingFang SC','Microsoft YaHei',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
|
|
.boot{min-height:100dvh;display:grid;place-items:center;padding:24px;
|
|
background:radial-gradient(720px 380px at 12% -8%,rgba(245,158,11,.16),transparent 55%),#0c0c0f}
|
|
.boot-card{width:min(320px,100%);display:flex;flex-direction:column;align-items:center;gap:14px}
|
|
.boot-mark{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;
|
|
font:800 22px/1 Syne,system-ui,sans-serif;color:#1c1408;
|
|
background:linear-gradient(135deg,#f59e0b,#fbbf24);
|
|
box-shadow:0 12px 40px rgba(245,158,11,.35)}
|
|
.boot-bar{width:140px;height:3px;border-radius:99px;overflow:hidden;background:rgba(245,158,11,.15)}
|
|
.boot-bar>i{display:block;height:100%;width:40%;border-radius:inherit;background:#f59e0b;
|
|
animation:boot-slide 0.9s ease-in-out infinite}
|
|
@keyframes boot-slide{0%{transform:translateX(-120%)}100%{transform:translateX(320%)}}
|
|
.boot p{margin:0;color:#a1a1aa;font-size:13px;letter-spacing:.04em}
|
|
</style>
|
|
<meta name="description" content="Nomadro 游民社区运营后台 · admin.nomadro.com" />
|
|
<title>Nomadro · 社区运营台</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
<link
|
|
rel="preload"
|
|
as="style"
|
|
href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,500&family=Syne:wght@600;700;800&display=swap"
|
|
onload="this.onload=null;this.rel='stylesheet'"
|
|
/>
|
|
<noscript>
|
|
<link
|
|
rel="stylesheet"
|
|
href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,500&family=Syne:wght@600;700;800&display=swap"
|
|
/>
|
|
</noscript>
|
|
</head>
|
|
<body>
|
|
<div id="root">
|
|
<div class="boot" role="status" aria-live="polite">
|
|
<div class="boot-card">
|
|
<div class="boot-mark">N</div>
|
|
<div class="boot-bar" aria-hidden="true"><i></i></div>
|
|
<p>Nomadro 运营台</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|