jsio commited on
Commit
86610b5
·
verified ·
1 Parent(s): 6fa1b6c

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +208 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Test
3
- emoji: 😻
4
- colorFrom: pink
5
- colorTo: pink
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: test
3
+ emoji: 🐳
4
+ colorFrom: green
5
+ colorTo: gray
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,208 @@
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>CyberDoor Access</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <script src="https://cdn.jsdelivr.net/npm/qrcode-generator@1.4.4/qrcode.min.js"></script>
10
+ <style>
11
+ @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Rajdhani:wght@300;500;700&display=swap');
12
+
13
+ body {
14
+ font-family: 'Rajdhani', sans-serif;
15
+ background-color: #0a0a1a;
16
+ color: #00fffc;
17
+ overflow: hidden;
18
+ }
19
+
20
+ .cyber-font {
21
+ font-family: 'Orbitron', sans-serif;
22
+ }
23
+
24
+ .cyber-border {
25
+ border: 2px solid #00fffc;
26
+ box-shadow: 0 0 15px #00fffc, inset 0 0 15px #00fffc;
27
+ }
28
+
29
+ .cyber-glow {
30
+ text-shadow: 0 0 10px #00fffc, 0 0 20px #00fffc;
31
+ }
32
+
33
+ .cyber-bg {
34
+ background: rgba(0, 10, 20, 0.85);
35
+ }
36
+
37
+ .scanline {
38
+ position: absolute;
39
+ top: 0;
40
+ left: 0;
41
+ width: 100%;
42
+ height: 100%;
43
+ background: linear-gradient(
44
+ to bottom,
45
+ transparent 0%,
46
+ rgba(0, 255, 252, 0.1) 50%,
47
+ transparent 100%
48
+ );
49
+ background-size: 100% 8px;
50
+ pointer-events: none;
51
+ animation: scan 8s linear infinite;
52
+ }
53
+
54
+ @keyframes scan {
55
+ 0% { transform: translateY(-100%); }
56
+ 100% { transform: translateY(100%); }
57
+ }
58
+
59
+ .grid-overlay {
60
+ position: absolute;
61
+ top: 0;
62
+ left: 0;
63
+ width: 100%;
64
+ height: 100%;
65
+ background-image:
66
+ linear-gradient(rgba(0, 255, 252, 0.05) 1px, transparent 1px),
67
+ linear-gradient(90deg, rgba(0, 255, 252, 0.05) 1px, transparent 1px);
68
+ background-size: 20px 20px;
69
+ pointer-events: none;
70
+ }
71
+
72
+ .pulse {
73
+ animation: pulse 2s infinite;
74
+ }
75
+
76
+ @keyframes pulse {
77
+ 0% { box-shadow: 0 0 0 0 rgba(0, 255, 252, 0.7); }
78
+ 70% { box-shadow: 0 0 0 10px rgba(0, 255, 252, 0); }
79
+ 100% { box-shadow: 0 0 0 0 rgba(0, 255, 252, 0); }
80
+ }
81
+
82
+ .flicker {
83
+ animation: flicker 0.5s infinite alternate;
84
+ }
85
+
86
+ @keyframes flicker {
87
+ 0% { opacity: 0.9; }
88
+ 100% { opacity: 1; }
89
+ }
90
+ </style>
91
+ </head>
92
+ <body class="min-h-screen flex flex-col items-center justify-center relative overflow-hidden">
93
+ <div class="grid-overlay"></div>
94
+ <div class="scanline"></div>
95
+
96
+ <div class="cyber-bg cyber-border rounded-lg p-8 max-w-md w-full relative z-10">
97
+ <div class="flex justify-between items-center mb-6">
98
+ <h1 class="cyber-font cyber-glow text-3xl font-bold">CYBERDOOR</h1>
99
+ <div class="flex items-center">
100
+ <div class="w-3 h-3 bg-red-500 rounded-full mr-2 pulse"></div>
101
+ <span class="text-xs">LIVE</span>
102
+ </div>
103
+ </div>
104
+
105
+ <div class="text-center mb-6">
106
+ <p class="text-sm mb-1">TEMPORARY ACCESS CODE</p>
107
+ <p class="cyber-font text-xs mb-4">VALID FOR <span id="countdown">60</span> SECONDS</p>
108
+ </div>
109
+
110
+ <div class="flex justify-center mb-6">
111
+ <div id="qrcode" class="p-4 bg-white rounded cyber-border flicker"></div>
112
+ </div>
113
+
114
+ <div class="text-center">
115
+ <p class="text-xs mb-2">SCAN TO ENTER SECURE ZONE</p>
116
+ <div class="flex justify-center">
117
+ <div class="w-16 h-1 bg-cyan-400"></div>
118
+ </div>
119
+ </div>
120
+
121
+ <div class="mt-6 flex justify-between items-center text-xs">
122
+ <div>
123
+ <i class="fas fa-shield-alt mr-1"></i>
124
+ <span>SECURITY LEVEL: MAX</span>
125
+ </div>
126
+ <div>
127
+ <i class="fas fa-user-clock mr-1"></i>
128
+ <span id="current-time">--:--:--</span>
129
+ </div>
130
+ </div>
131
+ </div>
132
+
133
+ <div class="absolute bottom-4 left-0 right-0 text-center text-xs opacity-70">
134
+ <p>NEUROCORP SECURITY SYSTEMS v4.2.7</p>
135
+ </div>
136
+
137
+ <script>
138
+ // Generate random token for QR code
139
+ function generateToken() {
140
+ const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
141
+ let token = '';
142
+ for (let i = 0; i < 16; i++) {
143
+ token += chars.charAt(Math.floor(Math.random() * chars.length));
144
+ }
145
+ return 'CYBERDOOR-' + token;
146
+ }
147
+
148
+ // Generate QR code
149
+ function generateQRCode() {
150
+ const token = generateToken();
151
+ const typeNumber = 4;
152
+ const errorCorrectionLevel = 'M';
153
+ const qr = qrcode(typeNumber, errorCorrectionLevel);
154
+ qr.addData(token);
155
+ qr.make();
156
+
157
+ document.getElementById('qrcode').innerHTML = qr.createImgTag(4);
158
+ const img = document.querySelector('#qrcode img');
159
+ img.style.width = '100%';
160
+ img.style.height = '100%';
161
+
162
+ return token;
163
+ }
164
+
165
+ // Update countdown timer
166
+ function startCountdown() {
167
+ let seconds = 60;
168
+ const countdownElement = document.getElementById('countdown');
169
+
170
+ const timer = setInterval(() => {
171
+ seconds--;
172
+ countdownElement.textContent = seconds;
173
+
174
+ if (seconds <= 0) {
175
+ clearInterval(timer);
176
+ generateQRCode();
177
+ startCountdown();
178
+ }
179
+ }, 1000);
180
+ }
181
+
182
+ // Update current time
183
+ function updateClock() {
184
+ const now = new Date();
185
+ const timeString = now.toLocaleTimeString();
186
+ document.getElementById('current-time').textContent = timeString;
187
+ }
188
+
189
+ // Initialize
190
+ document.addEventListener('DOMContentLoaded', () => {
191
+ generateQRCode();
192
+ startCountdown();
193
+ updateClock();
194
+ setInterval(updateClock, 1000);
195
+
196
+ // Add some random flickering for cyberpunk effect
197
+ setInterval(() => {
198
+ if (Math.random() > 0.9) {
199
+ document.querySelector('.cyber-border').classList.add('flicker');
200
+ setTimeout(() => {
201
+ document.querySelector('.cyber-border').classList.remove('flicker');
202
+ }, 200);
203
+ }
204
+ }, 3000);
205
+ });
206
+ </script>
207
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - <a href="https://enzostvs-deepsite.hf.space?remix=jsio/test" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
208
+ </html>