-
Notifications
You must be signed in to change notification settings - Fork 1
/
h1_index.html
75 lines (70 loc) · 3.18 KB
/
h1_index.html
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>小树的个人Github博客页面</title>
<link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js"></script>
<style>
html{
height: 100%;
}
body {
background-image: url("https://jsd.cdn.zzko.cn/gh/shu-shu-1/shu-shu-1.github.io@main/03.jpg");
background-repeat: no-repeat;
background-size: 100% 100%;
opacity: 0.8;
}
</style>
</head>
<body>
<div class="container">
<div class="jumbotron">
<div class="container">
<h1>小树个人网站 <small>Github Pages</small></h1>
<p>这里是小树的个人网站,更多信息请往下继续浏览,站点由Github Pages提供!</p>
</div>
</div>
<h3>这个网站的功能</h3>
<ul class="list-group">
<li class="list-group-item"><a href="/一言.html">一言</a></li>
<li class="list-group-item"><a href="/今日诗词.html">今日诗词</a></li>
<li class="list-group-item"><a href="/可爱的圆盘时钟.html">可爱的圆盘时钟</a></li>
<li class="list-group-item"><a href="/粒子效果文本生成.html">粒子效果文本生成</a></li>
<li class="list-group-item"><a href="/字符统计.html">字符统计</a></li>
<li class="list-group-item"><a href="/导航.html">简易导航</a></li>
<li class="list-group-item"><a href="/">敬请期待……</a></li>
</ul>
<h3>其他资源</h3>
<div class="links">
<a href="https://github.com/shu-shu-1" class="btn btn-primary">Github</a>
<a href="https://flowus.cn/yingji_xiaoshu/share/0ca3a004-59ee-4be0-8d08-f74785192677" class="btn btn-danger">息流</a>
<a href="https://alist-replit.zsxiaoshu1.repl.co/" class="btn btn-warning">我的网盘</a>
</div>
</div>
<div class="container">
<h3>神秘代码</h3>
<form>
<div class="form-group">
<label for="codeInput">请输入神秘代码:</label>
<input type="text" class="form-control" id="codeInput">
</div>
<button type="button" class="btn btn-primary" onclick="checkCode()">提交</button>
</form>
</div>
<script>
function checkCode() {
var code = document.getElementById("codeInput").value;
if (code === "") {
alert("请输入神秘代码!");
} else {
var url = "https://shu-shu-1.github.io/" + code + ".html";
window.location.href = url;
window.open(url);
}
}
</script>
</body>
</html>