forked from LSCNH510072/ProgramSpaceTeam.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
127 lines (118 loc) · 5.21 KB
/
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>ProgramSpace - 程序太空工作室</title>
<link rel="stylesheet" href="./css/isty.css" />
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script>
</head>
<body>
<main>
<section>
<div class="page" id="page1">
<div class="left">
<h1>ProgramSpace Studio</h1>
<h4>程序太空工作室</h4>
<button class="button" onclick="window.open('https://github.com/ProgramSpaceTeam/')">
<img src="./svg/1.svg">了解更多
</button>
</div>
<ion-icon name="arrow-down-circle-outline" class="arrow"></ion-icon>
</div>
</section>
<section>
<div class="page" id="page2">
<div class="right">
<h1>Rtstart</h1>
<h4>RT起始页,带给你最纯粹的体验!</h4>
<button class="button" onclick="window.open('https://ProgramSpaceTeam.github.io/rtstart')">
<img src="./svg/1.svg">了解更多
</button>
</div>
<ion-icon name="arrow-down-circle-outline" class="arrow"></ion-icon>
</div>
</section>
<section>
<div class="page" id="page3">
<div class="left">
<h1>Check</h1>
<h4>检查您的浏览器,是否正常运行我们的站点以及几乎所有网站。</h4>
<button class="button" onclick="window.open('https://ProgramSpaceTeam.github.io/check')">
<img src="./svg/1.svg">了解更多
</button>
</div>
<ion-icon name="arrow-down-circle-outline" class="arrow"></ion-icon>
</div>
</section>
<section>
<div class="page" id="page4">
<div class="right">
<h1>Cloud</h1>
<h4>
ProgramSpace Cloud,PS云<br />为ProgramSpace的项目提供云存储服务。
</h4>
<button class="button" onclick="window.open('https://ProgramSpaceTeam.github.io/cloud')">
<img src="./svg/1.svg">了解更多
</button>
</div>
<ion-icon name="arrow-down-circle-outline" class="arrow"></ion-icon>
</div>
</section>
<section>
<div class="page" id="page5">
<div class="left">
<h1>Docs</h1>
<h4>在这里,你能找到大部分问题解答和教程文档。</h4>
<button class="button" onclick="window.open('https://ProgramSpaceTeam.github.io/docs')">
<img src="./svg/1.svg">了解更多
</button>
</div>
<ion-icon name="arrow-down-circle-outline" class="arrow"></ion-icon>
</div>
</section>
<section>
<div class="page" id="page6">
<div class="right">
<h1>Auto-Markdown</h1>
<h4>迅速将您的Markdown文档转变为HTML,使用PS云提供的样式文件!</h4>
<button class="button" onclick="window.open('https://github.com/ProgramSpaceTeam/Auto-Markdown')">
<img src="./svg/1.svg"> 了解更多
</button>
</div>
<ion-icon name="arrow-down-circle-outline" class="arrow"></ion-icon>
</div>
</section>
<section>
<div class="page" id="page7">
<div class="left">
<h4 style="line-height: 1.5">MIT License</h4>
<h4 style="line-height: 1.5">© 2023-现在 ProgramSpace 版权所有</h4>
<h4 style="line-height: 1.5">Program-zoubg & LSCNH510072 联合创始</h4>
</div>
<div class="to">
<ion-icon name="arrow-up-circle-outline" id="to-btn"></ion-icon>
</div>
</div>
</section>
</main>
<script>
const buttons = document.querySelectorAll('.arrow');
const sections = document.querySelectorAll('section');
buttons.forEach((button, index) => {
button.addEventListener('click', () => {
const nextPageIndex = (index + 1) % sections.length;
sections[nextPageIndex].scrollIntoView({ behavior: 'smooth' });
});
});
window.addEventListener("load", function () {
var btnElement = document.getElementById("to-btn");
var targetElement = document.getElementById("page1");
btnElement.addEventListener("click", function () {
targetElement.scrollIntoView({ behavior: "smooth" });
});
});
</script>
</body>
</html>