docto41 commited on
Commit
fa1f780
·
verified ·
1 Parent(s): f9f601c

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +283 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Envato Vault
3
- emoji: 💻
4
- colorFrom: green
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: envato-vault
3
+ emoji: 🐳
4
+ colorFrom: blue
5
+ colorTo: green
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,283 @@
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>Envato Voucher Generator | CodeCanyon Discount Codes</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
+ <style>
10
+ .glow-text {
11
+ text-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
12
+ }
13
+ .terminal-bg {
14
+ background-color: #011627;
15
+ background-image:
16
+ radial-gradient(circle at 10% 20%, rgba(5, 69, 122, 0.3) 0%, transparent 20%),
17
+ radial-gradient(circle at 90% 80%, rgba(5, 122, 81, 0.3) 0%, transparent 20%);
18
+ }
19
+ .code-input {
20
+ font-family: 'Courier New', monospace;
21
+ letter-spacing: 2px;
22
+ }
23
+ .voucher-card {
24
+ transform-style: preserve-3d;
25
+ transform: perspective(1000px);
26
+ transition: all 0.5s ease;
27
+ }
28
+ .voucher-card:hover {
29
+ transform: perspective(1000px) rotateX(5deg) translateY(-5px);
30
+ box-shadow: 0 20px 30px -10px rgba(16, 185, 129, 0.3);
31
+ }
32
+ .scan-line {
33
+ position: absolute;
34
+ top: 0;
35
+ left: 0;
36
+ width: 100%;
37
+ height: 10px;
38
+ background: linear-gradient(to bottom,
39
+ rgba(16, 185, 129, 0.1) 0%,
40
+ rgba(16, 185, 129, 0.7) 50%,
41
+ rgba(16, 185, 129, 0.1) 100%);
42
+ animation: scan 3s linear infinite;
43
+ opacity: 0.7;
44
+ }
45
+ @keyframes scan {
46
+ 0% { top: 0; }
47
+ 100% { top: 100%; }
48
+ }
49
+ </style>
50
+ </head>
51
+ <body class="terminal-bg min-h-screen text-gray-100">
52
+ <div class="container mx-auto px-4 py-12">
53
+ <!-- Header -->
54
+ <header class="text-center mb-12">
55
+ <div class="flex justify-center items-center mb-4">
56
+ <i class="fas fa-code text-emerald-400 text-4xl mr-3"></i>
57
+ <h1 class="text-4xl font-bold glow-text text-emerald-400">Envato Vault</h1>
58
+ </div>
59
+ <p class="text-gray-400 max-w-2xl mx-auto">
60
+ Premium voucher generator for Envato Market & CodeCanyon.
61
+ Get discount codes for your next purchase.
62
+ </p>
63
+ </header>
64
+
65
+ <!-- Main Content -->
66
+ <main class="max-w-4xl mx-auto">
67
+ <!-- Generator Card -->
68
+ <div class="bg-gray-800 bg-opacity-70 backdrop-blur-sm rounded-xl p-6 mb-8 border border-gray-700 shadow-lg">
69
+ <div class="flex items-center mb-6">
70
+ <div class="bg-emerald-900 bg-opacity-50 p-2 rounded-lg mr-4">
71
+ <i class="fas fa-key text-emerald-400 text-xl"></i>
72
+ </div>
73
+ <h2 class="text-2xl font-semibold text-emerald-400">Generate Voucher</h2>
74
+ </div>
75
+
76
+ <div class="grid md:grid-cols-3 gap-6">
77
+ <div class="md:col-span-2">
78
+ <div class="mb-4">
79
+ <label class="block text-gray-400 mb-2">Select Platform</label>
80
+ <div class="flex space-x-2">
81
+ <button class="platform-btn active bg-emerald-800 text-white px-4 py-2 rounded-lg flex items-center">
82
+ <i class="fab fa-envato mr-2"></i> Envato
83
+ </button>
84
+ <button class="platform-btn bg-gray-700 hover:bg-gray-600 text-gray-300 px-4 py-2 rounded-lg flex items-center">
85
+ <i class="fas fa-code mr-2"></i> CodeCanyon
86
+ </button>
87
+ </div>
88
+ </div>
89
+
90
+ <div class="mb-4">
91
+ <label class="block text-gray-400 mb-2">Discount Value</label>
92
+ <div class="flex space-x-2">
93
+ <button class="value-btn active bg-emerald-800 text-white px-4 py-2 rounded-lg">10%</button>
94
+ <button class="value-btn bg-gray-700 hover:bg-gray-600 text-gray-300 px-4 py-2 rounded-lg">20%</button>
95
+ <button class="value-btn bg-gray-700 hover:bg-gray-600 text-gray-300 px-4 py-2 rounded-lg">50%</button>
96
+ <button class="value-btn bg-gray-700 hover:bg-gray-600 text-gray-300 px-4 py-2 rounded-lg">Custom</button>
97
+ </div>
98
+ </div>
99
+
100
+ <div class="mb-4">
101
+ <label class="block text-gray-400 mb-2">Your Email</label>
102
+ <input type="email" placeholder="[email protected]" class="w-full bg-gray-900 border border-gray-700 rounded-lg px-4 py-3 text-white focus:outline-none focus:ring-2 focus:ring-emerald-500">
103
+ </div>
104
+ </div>
105
+
106
+ <div class="relative">
107
+ <div class="h-full flex flex-col">
108
+ <div class="flex-grow flex items-center justify-center bg-gray-900 rounded-lg p-6 border border-gray-700 relative overflow-hidden">
109
+ <div class="scan-line"></div>
110
+ <div class="text-center">
111
+ <p class="text-gray-500 text-sm mb-1">Your voucher code</p>
112
+ <p id="voucherCode" class="text-2xl font-mono font-bold text-emerald-400 tracking-wider">------</p>
113
+ </div>
114
+ </div>
115
+ <button id="generateBtn" class="mt-4 w-full bg-gradient-to-r from-emerald-600 to-emerald-800 hover:from-emerald-500 hover:to-emerald-700 text-white font-semibold py-3 px-4 rounded-lg shadow-lg transition-all duration-300 transform hover:scale-[1.02] flex items-center justify-center">
116
+ <i class="fas fa-bolt mr-2"></i> Generate Code
117
+ </button>
118
+ </div>
119
+ </div>
120
+ </div>
121
+ </div>
122
+
123
+ <!-- Recent Vouchers -->
124
+ <div class="mb-8">
125
+ <h3 class="text-xl font-semibold text-emerald-400 mb-4 flex items-center">
126
+ <i class="fas fa-history mr-2"></i> Recently Generated
127
+ </h3>
128
+ <div class="grid md:grid-cols-3 gap-4" id="recentVouchers">
129
+ <!-- Will be populated by JS -->
130
+ </div>
131
+ </div>
132
+
133
+ <!-- Features -->
134
+ <div class="grid md:grid-cols-3 gap-6 mb-8">
135
+ <div class="voucher-card bg-gray-800 bg-opacity-70 backdrop-blur-sm rounded-xl p-6 border border-gray-700">
136
+ <div class="bg-emerald-900 bg-opacity-30 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
137
+ <i class="fas fa-shield-alt text-emerald-400"></i>
138
+ </div>
139
+ <h4 class="text-lg font-semibold text-emerald-400 mb-2">Secure Generation</h4>
140
+ <p class="text-gray-400">Military-grade encryption ensures your voucher codes are unique and untraceable.</p>
141
+ </div>
142
+ <div class="voucher-card bg-gray-800 bg-opacity-70 backdrop-blur-sm rounded-xl p-6 border border-gray-700">
143
+ <div class="bg-emerald-900 bg-opacity-30 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
144
+ <i class="fas fa-bolt text-emerald-400"></i>
145
+ </div>
146
+ <h4 class="text-lg font-semibold text-emerald-400 mb-2">Instant Delivery</h4>
147
+ <p class="text-gray-400">Codes are generated in milliseconds and delivered directly to your dashboard.</p>
148
+ </div>
149
+ <div class="voucher-card bg-gray-800 bg-opacity-70 backdrop-blur-sm rounded-xl p-6 border border-gray-700">
150
+ <div class="bg-emerald-900 bg-opacity-30 p-3 rounded-full w-12 h-12 flex items-center justify-center mb-4">
151
+ <i class="fas fa-infinity text-emerald-400"></i>
152
+ </div>
153
+ <h4 class="text-lg font-semibold text-emerald-400 mb-2">Unlimited Usage</h4>
154
+ <p class="text-gray-400">Generate as many codes as you need with no restrictions or hidden limits.</p>
155
+ </div>
156
+ </div>
157
+
158
+ <!-- Disclaimer -->
159
+ <div class="bg-gray-900 bg-opacity-50 rounded-xl p-6 border border-gray-800 text-center">
160
+ <i class="fas fa-exclamation-triangle text-yellow-400 mb-2 text-xl"></i>
161
+ <p class="text-gray-400 text-sm">
162
+ This is a fictional demonstration. No actual Envato or CodeCanyon voucher codes are being generated.
163
+ This UI is for educational purposes only.
164
+ </p>
165
+ </div>
166
+ </main>
167
+ </div>
168
+
169
+ <script>
170
+ document.addEventListener('DOMContentLoaded', function() {
171
+ // Platform selection
172
+ const platformBtns = document.querySelectorAll('.platform-btn');
173
+ platformBtns.forEach(btn => {
174
+ btn.addEventListener('click', function() {
175
+ platformBtns.forEach(b => b.classList.remove('active', 'bg-emerald-800', 'text-white'));
176
+ platformBtns.forEach(b => b.classList.add('bg-gray-700', 'text-gray-300'));
177
+ this.classList.add('active', 'bg-emerald-800', 'text-white');
178
+ this.classList.remove('bg-gray-700', 'text-gray-300');
179
+ });
180
+ });
181
+
182
+ // Value selection
183
+ const valueBtns = document.querySelectorAll('.value-btn');
184
+ valueBtns.forEach(btn => {
185
+ btn.addEventListener('click', function() {
186
+ valueBtns.forEach(b => b.classList.remove('active', 'bg-emerald-800', 'text-white'));
187
+ valueBtns.forEach(b => b.classList.add('bg-gray-700', 'text-gray-300'));
188
+ this.classList.add('active', 'bg-emerald-800', 'text-white');
189
+ this.classList.remove('bg-gray-700', 'text-gray-300');
190
+ });
191
+ });
192
+
193
+ // Generate voucher code
194
+ const generateBtn = document.getElementById('generateBtn');
195
+ const voucherCode = document.getElementById('voucherCode');
196
+ const recentVouchers = document.getElementById('recentVouchers');
197
+
198
+ generateBtn.addEventListener('click', function() {
199
+ // Animation
200
+ this.innerHTML = '<i class="fas fa-cog fa-spin mr-2"></i> Generating...';
201
+ this.classList.add('opacity-75');
202
+
203
+ // Simulate generation
204
+ setTimeout(() => {
205
+ const code = generateRandomCode();
206
+ voucherCode.textContent = code;
207
+
208
+ // Add to recent
209
+ addRecentVoucher(code);
210
+
211
+ // Reset button
212
+ this.innerHTML = '<i class="fas fa-check mr-2"></i> Generated!';
213
+ setTimeout(() => {
214
+ this.innerHTML = '<i class="fas fa-bolt mr-2"></i> Generate Code';
215
+ this.classList.remove('opacity-75');
216
+ }, 1500);
217
+ }, 1500);
218
+ });
219
+
220
+ // Generate random code
221
+ function generateRandomCode() {
222
+ const chars = 'ABCDEFGHJKLMNPQRSTUVWXYZ23456789';
223
+ let result = '';
224
+ for (let i = 0; i < 10; i++) {
225
+ if (i > 0 && i % 5 === 0) result += '-';
226
+ result += chars.charAt(Math.floor(Math.random() * chars.length));
227
+ }
228
+ return result;
229
+ }
230
+
231
+ // Add to recent vouchers
232
+ function addRecentVoucher(code) {
233
+ const now = new Date();
234
+ const timeString = now.toLocaleTimeString([], {hour: '2-digit', minute:'2-digit'});
235
+
236
+ const voucherItem = document.createElement('div');
237
+ voucherItem.className = 'voucher-card bg-gray-800 bg-opacity-70 backdrop-blur-sm rounded-lg p-4 border border-gray-700';
238
+ voucherItem.innerHTML = `
239
+ <div class="flex justify-between items-start mb-2">
240
+ <div class="bg-emerald-900 bg-opacity-30 p-2 rounded-lg">
241
+ <i class="fab fa-envato text-emerald-400"></i>
242
+ </div>
243
+ <span class="text-xs text-gray-500">${timeString}</span>
244
+ </div>
245
+ <p class="text-gray-400 text-sm mb-1">Discount Code</p>
246
+ <p class="font-mono font-bold text-emerald-400">${code}</p>
247
+ <div class="mt-3 flex justify-between items-center text-xs">
248
+ <span class="bg-emerald-900 bg-opacity-20 text-emerald-400 px-2 py-1 rounded">20% OFF</span>
249
+ <button class="text-gray-500 hover:text-emerald-400">
250
+ <i class="far fa-copy"></i>
251
+ </button>
252
+ </div>
253
+ `;
254
+
255
+ // Add copy functionality
256
+ voucherItem.querySelector('button').addEventListener('click', function() {
257
+ navigator.clipboard.writeText(code);
258
+ const icon = this.querySelector('i');
259
+ icon.classList.remove('fa-copy');
260
+ icon.classList.add('fa-check');
261
+ setTimeout(() => {
262
+ icon.classList.remove('fa-check');
263
+ icon.classList.add('fa-copy');
264
+ }, 1500);
265
+ });
266
+
267
+ // Prepend to keep recent first
268
+ if (recentVouchers.children.length >= 3) {
269
+ recentVouchers.removeChild(recentVouchers.lastChild);
270
+ }
271
+ recentVouchers.prepend(voucherItem);
272
+ }
273
+
274
+ // Generate some sample vouchers
275
+ for (let i = 0; i < 3; i++) {
276
+ setTimeout(() => {
277
+ addRecentVoucher(generateRandomCode());
278
+ }, i * 100);
279
+ }
280
+ });
281
+ </script>
282
+ <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=docto41/envato-vault" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
283
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ hacker code d'achat envato et codecanyon