Spaces:
Running
Running
Update index.html
Browse files- index.html +81 -19
index.html
CHANGED
@@ -1,19 +1,81 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Mandate of Heaven</title>
|
7 |
+
<style>
|
8 |
+
body {
|
9 |
+
font-family: Arial, sans-serif;
|
10 |
+
display: flex;
|
11 |
+
flex-direction: column;
|
12 |
+
align-items: center;
|
13 |
+
background-color: #f9f9f9;
|
14 |
+
}
|
15 |
+
.logos {
|
16 |
+
display: flex;
|
17 |
+
gap: 20px;
|
18 |
+
margin: 20px 0;
|
19 |
+
}
|
20 |
+
.logo {
|
21 |
+
width: 50px;
|
22 |
+
height: auto;
|
23 |
+
}
|
24 |
+
.timeline {
|
25 |
+
position: relative;
|
26 |
+
width: 300px;
|
27 |
+
height: 50px;
|
28 |
+
}
|
29 |
+
.line {
|
30 |
+
position: absolute;
|
31 |
+
top: 20px;
|
32 |
+
width: 100%;
|
33 |
+
border-top: 2px dashed #ccc;
|
34 |
+
}
|
35 |
+
.dot {
|
36 |
+
position: absolute;
|
37 |
+
top: 10px;
|
38 |
+
width: 20px;
|
39 |
+
height: 20px;
|
40 |
+
background-color: #333;
|
41 |
+
border-radius: 50%;
|
42 |
+
cursor: pointer;
|
43 |
+
}
|
44 |
+
.position {
|
45 |
+
position: absolute;
|
46 |
+
top: 30px;
|
47 |
+
width: 10px;
|
48 |
+
height: 10px;
|
49 |
+
background-color: #ccc;
|
50 |
+
border-radius: 50%;
|
51 |
+
}
|
52 |
+
</style>
|
53 |
+
</head>
|
54 |
+
<body>
|
55 |
+
<h1>Mandate of Heaven</h1>
|
56 |
+
<div class="logos">
|
57 |
+
<img src="https://via.placeholder.com/50?text=Logo1" alt="Logo 1" class="logo">
|
58 |
+
<img src="https://via.placeholder.com/50?text=Google" alt="Google" class="logo">
|
59 |
+
<img src="https://via.placeholder.com/50?text=Anthropic" alt="Anthropic" class="logo">
|
60 |
+
<img src="https://via.placeholder.com/50?text=xAI" alt="xAI" class="logo">
|
61 |
+
</div>
|
62 |
+
<div class="timeline">
|
63 |
+
<div class="line"></div>
|
64 |
+
<div class="dot" id="movingDot" onclick="moveDot()"></div>
|
65 |
+
<div class="position" style="left: 33%;"></div>
|
66 |
+
<div class="position" style="left: 66%;"></div>
|
67 |
+
<div class="position" style="left: 100%;"></div>
|
68 |
+
</div>
|
69 |
+
|
70 |
+
<script>
|
71 |
+
let currentPosition = 0;
|
72 |
+
const positions = [0, 33, 66, 100];
|
73 |
+
const dot = document.getElementById('movingDot');
|
74 |
+
|
75 |
+
function moveDot() {
|
76 |
+
currentPosition = (currentPosition + 1) % positions.length;
|
77 |
+
dot.style.left = positions[currentPosition] + '%';
|
78 |
+
}
|
79 |
+
</script>
|
80 |
+
</body>
|
81 |
+
</html>
|