Skip to content

Commit

Permalink
更新 index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
ymh0000123 committed Nov 12, 2023
1 parent 5e1d7aa commit af7e6ff
Showing 1 changed file with 54 additions and 11 deletions.
65 changes: 54 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--
* @Date: 2023-11-11 18:37:07
* @LastEditors: Please set LastEditors
* @LastEditTime: 2023-11-12 17:03:03
* @FilePath: \undefinedd:\hc\Genshin-Impact-Good-words-and-sentences\index.html
* @LastEditTime: 2023-11-12 18:32:57
* @FilePath: \Genshin-Impact-Good-words-and-sentences\index.html
-->
<!DOCTYPE html>
<html lang="zh-CN">
Expand All @@ -17,6 +17,7 @@
<script src="https://unpkg.com/layui@2.8.18/dist/layui.js"></script>
<!-- 引入Bootstrap的CSS库 -->
<link href="https://unpkg.com/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/bootstrap-icons@1.10.0/font/bootstrap-icons.css">
<!-- 引入Bootstrap的JavaScript库 -->
<script src="https://unpkg.com/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
Expand All @@ -33,7 +34,25 @@
</head>

<body>

<nav class="navbar navbar-expand-sm navbar-dark bg-dark sticky-top">
<div class="container">
<a class="navbar-brand" href="https://ymh0000123.github.io/Genshin-Impact-Good-words-and-sentences/"><img src="https://xiaofeishu.weie.eu.org/ico.png" alt="Bootstrap" width="30" height="30">小废鼠的原神好句API</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="https://ymh0000123.github.io">主页</a>
</li>
<li class="nav-item ml-auto">
<a class="nav-link" href="https://ymh0000123.github.io/ymh0000123/">关于小废鼠</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="center">
<h1>原神好句API</h1>
<h2><span class="layui-badge layui-bg-blue">免费</span> <span class="layui-badge layui-bg-blue">开源</span></h2>
Expand All @@ -58,10 +77,17 @@ <h2>API免费开源</h2>
</div>
</div>
<div class="col-md-6">
<div class="h-100 p-5 bg-light border rounded-3">
<h2>其他分支</h2>
<p>这些分支是官方认可的</p>
<a href="https://blog.linyun.link/RandomGenshin/" class="btn btn-outline-secondary" type="button">wuyuhanzijin/RandomGenshin</a>
<div class="card text-bg-light mb-3">
<div class="card-header"><h2>其他分支&Rebuild</h2></div>
<div class="card-body">
<h5 class="card-title"><p>这些是没用的小废鼠认可的版本</p></h5>
<p class="card-text">以下为列表</p>
</div>
<ul class="list-group list-group-flush">
<a class="list-group-item" href="https://blog.linyun.link/RandomGenshin/">wuyuhanzijin/RandomGenshin</a>
<a class="list-group-item"href="https://ymh0000123.github.io/404">--------</a>
<a class="list-group-item"href="https://ymh0000123.github.io/404">--------</a>
</ul>
</div>
</div>
</div>
Expand Down Expand Up @@ -123,10 +149,21 @@ <h4><span class="layui-badge layui-bg-blue">历史</span>更新日志</h4>
</div>
</fieldset>
</div>
<p style="text-align: center;">
<a href="https://ymh0000123.github.io/ymh0000123/"
style=" text-decoration: none; border: none; font-style: normal;">关于API作者没用的小废鼠</a>
</p>
<div class="container">
<footer class="d-flex flex-wrap justify-content-between align-items-center py-3 my-4 border-top">
<div class="col-md-4 d-flex align-items-center">
<a href="/" class="mb-3 me-2 mb-md-0 text-muted text-decoration-none lh-1">
<svg class="bi" width="30" height="24"><use xlink:href="#bootstrap"/></svg>
</a>
<span class="mb-3 mb-md-0 text-muted"><span id="year"></span></span>
</div>

<ul class="nav col-md-4 justify-content-end list-unstyled d-flex">
<li class="ms-3"><iframe src="https://ghbtns.com/github-btn.html?user=ymh0000123&repo=Genshin-Impact-Good-words-and-sentences&type=star&count=true&v=2" frameborder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe></li>
<li class="ms-3"><iframe src="https://ghbtns.com/github-btn.html?user=ymh0000123&repo=Genshin-Impact-Good-words-and-sentences&type=watch&count=true&v=2" frameborder="0" scrolling="0" width="150" height="20" title="GitHub"></iframe></li>
</ul>
</footer>
</div>
<script src="script.js"></script>
<script>
layui.use(function () {
Expand All @@ -136,6 +173,12 @@ <h4><span class="layui-badge layui-bg-blue">历史</span>更新日志</h4>
});
})
</script>
<script>
// 使用JavaScript获取当前年份
const currentYear = new Date().getFullYear();
// 将年份显示在页面上
document.getElementById('year').innerText = '2023—' + currentYear ;
</script>
</body>

</html>

0 comments on commit af7e6ff

Please sign in to comment.