File size: 1,911 Bytes
ded5a91
177d389
ded5a91
177d389
 
 
 
65aeaf3
ded5a91
 
177d389
65aeaf3
 
 
 
 
 
 
 
 
 
 
177d389
 
 
65aeaf3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
177d389
 
 
 
65aeaf3
 
 
177d389
 
 
ded5a91
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的美丽博客</title>
    <link rel="stylesheet" href="style.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
    <header>
        <div class="container">
            <h1>我的美丽博客</h1>
            <nav>
                <ul>
                    <li><a href="#">首页</a></li>
                    <li><a href="#">关于我</a></li>
                    <li><a href="#">博文</a></li>
                    <li><a href="#">联系我</a></li>
                </ul>
            </nav>
        </div>
    </header>

    <main>
        <section class="hero">
            <div class="container">
                <h2>欢迎来到我的博客</h2>
                <p>这里有关于生活、工作、旅行的点点滴滴,欢迎阅读并留下你的评论。</p>
                <a href="#" class="btn">阅读最新博文</a>
            </div>
        </section>

        <section class="blog-posts">
            <div class="container">
                <h2>最新博文</h2>
                <article>
                    <h3>我的第一篇博文</h3>
                    <p>今天是个好日子,阳光明媚,鸟语花香。我决定开始写博客,记录生活的美好时刻...<a href="#">阅读全文</a></p>
                    <div class="meta">
                        <span class="date">2023年4月20日</span>
                        <span class="category">生活</span>
                    </div>
                </article>
            </div>
        </section>
    </main>

    <footer>
        <div class="container">
            <p>© 2023 我的美丽博客</p>
        </div>
    </footer>

    <script src="script.js"></script>
</body>
</html>