broadfield-dev commited on
Commit
1294069
·
verified ·
1 Parent(s): 3fcd881

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +81 -19
index.html CHANGED
@@ -1,19 +1,81 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>