<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Ziqian - 首页</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f5f5f5;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        header {
            background-color: #333;
            color: white;
            padding: 20px 0;
            text-align: center;
        }
        h1 {
            margin: 0;
        }
        .content {
            background-color: white;
            padding: 40px;
            margin-top: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .info {
            margin: 20px 0;
            padding: 20px;
            background-color: #f0f0f0;
            border-radius: 4px;
        }
        .api-list {
            margin-top: 30px;
        }
        .api-item {
            margin: 10px 0;
            padding: 15px;
            background-color: #e9ecef;
            border-radius: 4px;
        }
        .footer {
            text-align: center;
            margin-top: 40px;
            color: #666;
            font-size: 14px;
        }
    </style>
</head>
<body>
    <header>
        <div class="container">
            <h1>{{.Title}}</h1>
            <p>{{.Subtitle}}</p>
        </div>
    </header>
    
    <div class="container">
        <div class="content">
            <h2>欢迎使用 Ziqian API</h2>
            <p>这是一个基于 Gin 框架开发的 API 服务。</p>
            
            <div class="info">
                <h3>当前系统信息</h3>
                <p><strong>服务器时间：</strong>{{.CurrentTime}}</p>
                <p><strong>项目版本：</strong>{{.Version}}</p>
            </div>
        </div>
        
        <div class="footer">
            <p>© {{.Year}} Ziqian. All rights reserved.</p>
        </div>
    </div>
</body>
</html>