Files
val-blog/gch3n-infra/www/index.html
T

127 lines
3.2 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>gch3n.online</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
}
.container {
text-align: center;
padding: 40px;
max-width: 600px;
}
h1 {
font-size: 3.5rem;
margin-bottom: 20px;
font-weight: 700;
letter-spacing: -1px;
}
.tagline {
font-size: 1.3rem;
opacity: 0.9;
margin-bottom: 40px;
font-weight: 300;
}
.links {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
}
.link-card {
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 12px;
padding: 24px 32px;
text-decoration: none;
color: #fff;
transition: all 0.3s ease;
min-width: 140px;
}
.link-card:hover {
background: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.link-card h3 {
font-size: 1.1rem;
margin-bottom: 8px;
}
.link-card p {
font-size: 0.85rem;
opacity: 0.8;
}
.footer {
margin-top: 60px;
font-size: 0.9rem;
opacity: 0.6;
}
@media (max-width: 480px) {
h1 {
font-size: 2.5rem;
}
.links {
flex-direction: column;
}
.link-card {
width: 100%;
}
}
</style>
</head>
<body>
<div class="container">
<h1>gch3n.online</h1>
<p class="tagline">Personal DevOps Playground</p>
<div class="links">
<a href="https://git.gch3n.online" class="link-card">
<h3>🗂️ Git</h3>
<p>代码仓库</p>
</a>
<a href="https://app.gch3n.online" class="link-card">
<h3>🚀 App</h3>
<p>应用部署</p>
</a>
</div>
<div class="footer">
<p>Powered by Caddy + Docker + Gitea</p>
<p id="year"></p>
</div>
</div>
<script>
document.getElementById('year').textContent = '© ' + new Date().getFullYear();
</script>
</body>
</html>