offerpk3 commited on
Commit
d8bf5f7
·
verified ·
1 Parent(s): 1b9ad79

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +215 -18
index.html CHANGED
@@ -1,19 +1,216 @@
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
+ <title>TikTok Multi-Login Sessions</title>
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <style>
8
+ @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&display=swap');
9
+
10
+ body {
11
+ font-family: 'Orbitron', sans-serif;
12
+ background-color: #111;
13
+ color: white;
14
+ text-align: center;
15
+ padding: 20px;
16
+ }
17
+
18
+ nav {
19
+ position: relative;
20
+ z-index: 2;
21
+ margin-bottom: 30px;
22
+ overflow-x: auto;
23
+ scrollbar-height: none;
24
+ }
25
+
26
+ nav::-webkit-scrollbar {
27
+ height: 8px;
28
+ }
29
+
30
+ nav::-webkit-scrollbar-track {
31
+ background: #222;
32
+ border-radius: 10px;
33
+ }
34
+
35
+ nav::-webkit-scrollbar-thumb {
36
+ background: linear-gradient(90deg, #ff0050, #ff9900, #ff0050);
37
+ border-radius: 10px;
38
+ box-shadow: 0 0 10px #ff0050, 0 0 20px #ff9900;
39
+ transition: all 0.3s ease;
40
+ }
41
+
42
+ nav::-webkit-scrollbar-thumb:hover {
43
+ background: linear-gradient(90deg, #ff0050, #ffcc00);
44
+ box-shadow: 0 0 15px #ff0050, 0 0 25px #ffcc00;
45
+ }
46
+
47
+ nav ul {
48
+ display: flex;
49
+ justify-content: flex-start;
50
+ list-style: none;
51
+ padding: 0;
52
+ margin: 0;
53
+ position: relative;
54
+ min-width: max-content;
55
+ }
56
+
57
+ nav ul li {
58
+ margin: 0 10px;
59
+ position: relative;
60
+ white-space: nowrap;
61
+ }
62
+
63
+ nav ul li button {
64
+ background: none;
65
+ border: none;
66
+ color: white;
67
+ font-size: 14px;
68
+ cursor: pointer;
69
+ padding: 8px 14px;
70
+ position: relative;
71
+ z-index: 1;
72
+ transition: color 0.3s, transform 0.3s;
73
+ text-transform: uppercase;
74
+ letter-spacing: 1px;
75
+ }
76
+
77
+ nav ul li button:hover {
78
+ color: #ff9900;
79
+ transform: scale(1.1);
80
+ text-shadow: 0 0 5px #ff9900, 0 0 15px #ff0050;
81
+ }
82
+
83
+ nav ul li button::before {
84
+ content: "\2022 ";
85
+ color: #ff0050;
86
+ position: absolute;
87
+ left: -12px;
88
+ top: 50%;
89
+ transform: translateY(-50%) scale(1);
90
+ transition: transform 0.3s ease;
91
+ }
92
+
93
+ nav ul li button:hover::before {
94
+ transform: translateY(-50%) scale(1.6);
95
+ text-shadow: 0 0 10px #ff0050, 0 0 20px #ff9900;
96
+ }
97
+
98
+ nav ul li .status-icon {
99
+ margin-left: 5px;
100
+ font-size: 14px;
101
+ }
102
+
103
+ nav .laser-line {
104
+ position: absolute;
105
+ bottom: 0;
106
+ height: 4px;
107
+ width: 0;
108
+ background: linear-gradient(90deg, #ff0050, #ff9900, #ff0050);
109
+ background-size: 200% auto;
110
+ box-shadow: 0 0 20px #ff0050, 0 0 30px #ff0050;
111
+ animation: fireglow 1.2s linear infinite;
112
+ transition: all 0.4s ease;
113
+ border-radius: 10px;
114
+ }
115
+
116
+ @keyframes fireglow {
117
+ 0% { background-position: 0% center; }
118
+ 100% { background-position: 200% center; }
119
+ }
120
+
121
+ h1 {
122
+ color: #ff0050;
123
+ margin-bottom: 10px;
124
+ }
125
+
126
+ p {
127
+ margin-bottom: 20px;
128
+ color: #ccc;
129
+ }
130
+
131
+ .iframe-container {
132
+ display: flex;
133
+ flex-wrap: wrap;
134
+ justify-content: center;
135
+ gap: 20px;
136
+ }
137
+
138
+ .iframe-box {
139
+ width: 100%;
140
+ max-width: 400px;
141
+ height: 650px;
142
+ border: 2px solid #ff0050;
143
+ border-radius: 10px;
144
+ overflow: hidden;
145
+ background: #000;
146
+ box-shadow: 0 0 15px rgba(255, 0, 80, 0.3);
147
+ }
148
+
149
+ .iframe-box iframe {
150
+ width: 100%;
151
+ height: 100%;
152
+ border: none;
153
+ }
154
+
155
+ @media (max-width: 768px) {
156
+ nav ul li button {
157
+ font-size: 12px;
158
+ padding: 6px 10px;
159
+ }
160
+
161
+ .iframe-box {
162
+ height: 500px;
163
+ }
164
+ }
165
+ </style>
166
+ </head>
167
+ <body>
168
+ <h1>🎯 TikTok Multi-Session Dashboard</h1>
169
+ <p>Click a session tab to switch with laser animation</p>
170
+
171
+ <nav>
172
+ <ul id="sessionTabs">
173
+ <div class="laser-line" id="laser"></div>
174
+ <script>
175
+ for (let i = 1; i <= 30; i++) {
176
+ document.write(`<li><button onclick=\"scrollToSession(${i}, this)\">S${i.toString().padStart(2, '0')}<span class=\"status-icon\">🔴</span></button></li>`);
177
+ }
178
+ </script>
179
+ </ul>
180
+ </nav>
181
+
182
+ <div class="iframe-container">
183
+ <script>
184
+ for (let i = 1; i <= 30; i++) {
185
+ document.write(`
186
+ <div id=\"session-${i}\" class=\"iframe-box\">
187
+ <iframe src=\"https://www.tiktok.com/login\" sandbox=\"allow-scripts allow-same-origin allow-forms allow-popups\"></iframe>
188
+ </div>
189
+ `);
190
+ }
191
+ </script>
192
+ </div>
193
+
194
+ <script>
195
+ const laser = document.getElementById("laser");
196
+
197
+ function scrollToSession(number, btn) {
198
+ const target = document.getElementById(`session-${number}`);
199
+ if (target) {
200
+ target.scrollIntoView({ behavior: 'smooth' });
201
+ }
202
+
203
+ const buttonRect = btn.getBoundingClientRect();
204
+ const navRect = btn.closest('ul').getBoundingClientRect();
205
+
206
+ laser.style.width = `${buttonRect.width}px`;
207
+ laser.style.left = `${buttonRect.left - navRect.left}px`;
208
+ }
209
+
210
+ window.onload = () => {
211
+ const firstBtn = document.querySelector("#sessionTabs button");
212
+ if (firstBtn) scrollToSession(1, firstBtn);
213
+ };
214
+ </script>
215
+ </body>
216
  </html>