feat: initial test page for gh-pages

This commit is contained in:
m4xx1m committed 2026-10-21 04:57:39 +03:00
commit d25bf6b3f5
1 file changed
+107
+107
View File
@@ -0,0 +1,107 @@
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gitea Pages — Auto Deploy Test</title>
<style>
:root {
--bg: #0f172a;
--card: #1e293b;
--text: #f8fafc;
--accent: #38bdf8;
--green: #22c55e;
--border: #334155;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background: var(--bg);
color: var(--text);
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 20px;
box-sizing: border-box;
}
.card {
background: var(--card);
border: 1px solid var(--border);
border-radius: 16px;
padding: 40px;
max-width: 540px;
width: 100%;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
text-align: center;
}
.badge {
display: inline-flex;
align-items: center;
gap: 8px;
background: rgba(34, 197, 94, 0.15);
color: var(--green);
padding: 6px 14px;
border-radius: 9999px;
font-size: 14px;
font-weight: 600;
margin-bottom: 24px;
border: 1px solid rgba(34, 197, 94, 0.3);
}
.badge::before {
content: "";
width: 8px;
height: 8px;
background: var(--green);
border-radius: 50%;
box-shadow: 0 0 10px var(--green);
}
h1 {
margin: 0 0 12px 0;
font-size: 28px;
background: linear-gradient(135deg, #38bdf8, #818cf8);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
p {
color: #94a3b8;
line-height: 1.6;
margin: 0 0 24px 0;
}
.meta-box {
background: #0f172a;
border: 1px solid var(--border);
border-radius: 8px;
padding: 16px;
text-align: left;
font-size: 13px;
color: #cbd5e1;
font-family: monospace;
}
.meta-row {
display: flex;
justify-content: space-between;
margin-bottom: 8px;
}
.meta-row:last-child {
margin-bottom: 0;
}
.meta-label {
color: #64748b;
}
</style>
</head>
<body>
<div class="card">
<div class="badge">gh-pages auto-deploy active</div>
<h1>It works! 🚀</h1>
<p>Этот сайт был автоматически собран и развернут через System Webhook Gitea при пуше в ветку <code>gh-pages</code>.</p>
<div class="meta-box">
<div class="meta-row"><span class="meta-label">Репозиторий:</span><span>pages-demo</span></div>
<div class="meta-row"><span class="meta-label">Ветка:</span><span>gh-pages</span></div>
<div class="meta-row"><span class="meta-label">Хост:</span><span>pinnacle (Nginx + Traefik)</span></div>
<div class="meta-row"><span class="meta-label">Деплой:</span><span>Zero-Config Webhook Sync</span></div>
</div>
</div>
</body>
</html>