NyLosning commited on
Commit
3612375
·
verified ·
1 Parent(s): 364b651

undefined - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +275 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Testing
3
- emoji: 🐠
4
- colorFrom: pink
5
- colorTo: indigo
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: testing
3
+ emoji: 🐳
4
+ colorFrom: red
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,275 @@
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>Ground Branch Mod Request Tool</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
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
12
+ }
13
+ .pulse-animation {
14
+ animation: pulse 2s infinite;
15
+ }
16
+ @keyframes pulse {
17
+ 0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
18
+ 70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
19
+ 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
20
+ }
21
+ .steam-icon {
22
+ color: #171a21;
23
+ }
24
+ .discord-icon {
25
+ color: #5865F2;
26
+ }
27
+ .mod-card:hover {
28
+ transform: translateY(-5px);
29
+ transition: all 0.3s ease;
30
+ }
31
+ #loadingSpinner {
32
+ display: none;
33
+ }
34
+ </style>
35
+ </head>
36
+ <body class="bg-gray-100 min-h-screen">
37
+ <div class="gradient-bg text-white py-8 shadow-lg">
38
+ <div class="container mx-auto px-4">
39
+ <div class="flex flex-col md:flex-row justify-between items-center">
40
+ <div class="flex items-center mb-6 md:mb-0">
41
+ <img src="https://groundbranch.com/wp-content/uploads/2021/01/cropped-GB_Logo_512x512-32x32.png" alt="Ground Branch Logo" class="h-12 w-12 mr-4">
42
+ <h1 class="text-3xl font-bold">Ground Branch Mod Request Tool</h1>
43
+ </div>
44
+ <div class="flex space-x-4">
45
+ <a href="https://steamcommunity.com/app/16900/workshop/" target="_blank" class="bg-gray-900 hover:bg-gray-800 text-white px-4 py-2 rounded-lg flex items-center">
46
+ <i class="fab fa-steam steam-icon text-2xl mr-2"></i>
47
+ Steam Workshop
48
+ </a>
49
+ <a href="https://discord.gg/groundbranch" target="_blank" class="bg-[#5865F2] hover:bg-[#4752C4] text-white px-4 py-2 rounded-lg flex items-center">
50
+ <i class="fab fa-discord discord-icon text-2xl mr-2"></i>
51
+ Join Discord
52
+ </a>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </div>
57
+
58
+ <div class="container mx-auto px-4 py-8">
59
+ <div class="bg-white rounded-xl shadow-lg overflow-hidden mb-8">
60
+ <div class="p-6">
61
+ <h2 class="text-2xl font-bold text-gray-800 mb-4">Submit a Mod Request</h2>
62
+ <p class="text-gray-600 mb-6">Request mods to be added to our Ground Branch server. We'll check Steam Workshop for compatibility before forwarding to our Discord mod team.</p>
63
+
64
+ <form id="modRequestForm" class="space-y-4">
65
+ <div>
66
+ <label for="steamUrl" class="block text-sm font-medium text-gray-700 mb-1">Steam Workshop URL*</label>
67
+ <input type="url" id="steamUrl" name="steamUrl" required
68
+ class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
69
+ placeholder="https://steamcommunity.com/sharedfiles/filedetails/?id=123456789">
70
+ <p class="text-xs text-gray-500 mt-1">Must be a valid Steam Workshop link for Ground Branch</p>
71
+ </div>
72
+
73
+ <div>
74
+ <label for="modDescription" class="block text-sm font-medium text-gray-700 mb-1">Why should we add this mod?*</label>
75
+ <textarea id="modDescription" name="modDescription" rows="3" required
76
+ class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
77
+ placeholder="Explain why this mod would be beneficial for our server..."></textarea>
78
+ </div>
79
+
80
+ <div>
81
+ <label for="userContact" class="block text-sm font-medium text-gray-700 mb-1">Your Discord Username (optional)</label>
82
+ <input type="text" id="userContact" name="userContact"
83
+ class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
84
+ placeholder="username#1234">
85
+ <p class="text-xs text-gray-500 mt-1">So we can contact you about your request</p>
86
+ </div>
87
+
88
+ <div class="flex items-center">
89
+ <input type="checkbox" id="agreeTerms" name="agreeTerms" required
90
+ class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
91
+ <label for="agreeTerms" class="ml-2 block text-sm text-gray-700">
92
+ I confirm this mod is compatible with the latest Ground Branch version
93
+ </label>
94
+ </div>
95
+
96
+ <div class="pt-2">
97
+ <button type="submit" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded-lg font-medium flex items-center justify-center w-full md:w-auto">
98
+ <span id="submitText">Submit Request</span>
99
+ <div id="loadingSpinner" class="ml-2">
100
+ <i class="fas fa-circle-notch fa-spin"></i>
101
+ </div>
102
+ </button>
103
+ </div>
104
+ </form>
105
+ </div>
106
+ </div>
107
+
108
+ <div class="bg-white rounded-xl shadow-lg overflow-hidden">
109
+ <div class="p-6">
110
+ <h2 class="text-2xl font-bold text-gray-800 mb-4">Mod Request Guidelines</h2>
111
+ <div class="space-y-4">
112
+ <div class="flex items-start">
113
+ <div class="flex-shrink-0 h-6 w-6 rounded-full bg-blue-100 flex items-center justify-center mt-1">
114
+ <i class="fas fa-check text-blue-600 text-xs"></i>
115
+ </div>
116
+ <p class="ml-3 text-gray-700">Mods must be actively maintained and updated for the latest Ground Branch version</p>
117
+ </div>
118
+ <div class="flex items-start">
119
+ <div class="flex-shrink-0 h-6 w-6 rounded-full bg-blue-100 flex items-center justify-center mt-1">
120
+ <i class="fas fa-check text-blue-600 text-xs"></i>
121
+ </div>
122
+ <p class="ml-3 text-gray-700">No NSFW, offensive, or cheat-enabling content</p>
123
+ </div>
124
+ <div class="flex items-start">
125
+ <div class="flex-shrink-0 h-6 w-6 rounded-full bg-blue-100 flex items-center justify-center mt-1">
126
+ <i class="fas fa-check text-blue-600 text-xs"></i>
127
+ </div>
128
+ <p class="ml-3 text-gray-700">Server performance impact will be considered</p>
129
+ </div>
130
+ <div class="flex items-start">
131
+ <div class="flex-shrink-0 h-6 w-6 rounded-full bg-blue-100 flex items-center justify-center mt-1">
132
+ <i class="fas fa-check text-blue-600 text-xs"></i>
133
+ </div>
134
+ <p class="ml-3 text-gray-700">Popular mods with community support get priority</p>
135
+ </div>
136
+ </div>
137
+ </div>
138
+ </div>
139
+
140
+ <div class="mt-8">
141
+ <h2 class="text-2xl font-bold text-gray-800 mb-6">Recently Added Mods</h2>
142
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" id="recentMods">
143
+ <!-- This would be populated dynamically from an API in a real implementation -->
144
+ <div class="mod-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300">
145
+ <div class="p-4">
146
+ <div class="flex items-center mb-3">
147
+ <img src="https://steamuserimages-a.akamaihd.net/ugc/1234567890123456789/ABCDEF1234567890/" alt="Mod thumbnail" class="w-16 h-16 rounded-lg object-cover mr-3">
148
+ <div>
149
+ <h3 class="font-bold text-gray-800">GB Realism Mod</h3>
150
+ <p class="text-sm text-gray-600">Updated 2 days ago</p>
151
+ </div>
152
+ </div>
153
+ <p class="text-gray-700 text-sm mb-3">Enhances weapon handling, ballistics, and movement for a more realistic experience.</p>
154
+ <a href="#" class="text-blue-600 text-sm font-medium flex items-center">
155
+ View on Steam <i class="fas fa-external-link-alt ml-1 text-xs"></i>
156
+ </a>
157
+ </div>
158
+ </div>
159
+
160
+ <div class="mod-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300">
161
+ <div class="p-4">
162
+ <div class="flex items-center mb-3">
163
+ <img src="https://steamuserimages-a.akamaihd.net/ugc/1234567890123456789/ABCDEF1234567890/" alt="Mod thumbnail" class="w-16 h-16 rounded-lg object-cover mr-3">
164
+ <div>
165
+ <h3 class="font-bold text-gray-800">Tactical Gear Pack</h3>
166
+ <p class="text-sm text-gray-600">Updated 1 week ago</p>
167
+ </div>
168
+ </div>
169
+ <p class="text-gray-700 text-sm mb-3">Adds 50+ new tactical vests, helmets, and gear configurations.</p>
170
+ <a href="#" class="text-blue-600 text-sm font-medium flex items-center">
171
+ View on Steam <i class="fas fa-external-link-alt ml-1 text-xs"></i>
172
+ </a>
173
+ </div>
174
+ </div>
175
+
176
+ <div class="mod-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300">
177
+ <div class="p-4">
178
+ <div class="flex items-center mb-3">
179
+ <img src="https://steamuserimages-a.akamaihd.net/ugc/1234567890123456789/ABCDEF1234567890/" alt="Mod thumbnail" class="w-16 h-16 rounded-lg object-cover mr-3">
180
+ <div>
181
+ <h3 class="font-bold text-gray-800">Night Operations</h3>
182
+ <p class="text-sm text-gray-600">Updated 3 days ago</p>
183
+ </div>
184
+ </div>
185
+ <p class="text-gray-700 text-sm mb-3">Enhanced night vision, IR lasers, and lighting for realistic night ops.</p>
186
+ <a href="#" class="text-blue-600 text-sm font-medium flex items-center">
187
+ View on Steam <i class="fas fa-external-link-alt ml-1 text-xs"></i>
188
+ </a>
189
+ </div>
190
+ </div>
191
+ </div>
192
+ </div>
193
+ </div>
194
+
195
+ <div id="successModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
196
+ <div class="bg-white rounded-xl p-6 max-w-md w-full mx-4">
197
+ <div class="flex justify-between items-start mb-4">
198
+ <h3 class="text-xl font-bold text-gray-800">Request Submitted!</h3>
199
+ <button id="closeModal" class="text-gray-500 hover:text-gray-700">
200
+ <i class="fas fa-times"></i>
201
+ </button>
202
+ </div>
203
+ <div class="flex items-center justify-center text-green-500 text-5xl mb-4">
204
+ <i class="fas fa-check-circle"></i>
205
+ </div>
206
+ <p class="text-gray-700 mb-4 text-center">Your mod request has been received and will be reviewed by our team. We'll check Steam Workshop for compatibility and update status.</p>
207
+ <p class="text-sm text-gray-500 text-center">You can track the status in our <a href="#" class="text-blue-600">Discord server</a>.</p>
208
+ </div>
209
+ </div>
210
+
211
+ <footer class="bg-gray-800 text-white py-8 mt-12">
212
+ <div class="container mx-auto px-4">
213
+ <div class="flex flex-col md:flex-row justify-between items-center">
214
+ <div class="mb-4 md:mb-0">
215
+ <p class="text-gray-400">© 2023 Ground Branch Mod Team. Not affiliated with BlackFoot Studios.</p>
216
+ </div>
217
+ <div class="flex space-x-6">
218
+ <a href="#" class="text-gray-400 hover:text-white">
219
+ <i class="fab fa-steam text-xl"></i>
220
+ </a>
221
+ <a href="#" class="text-gray-400 hover:text-white">
222
+ <i class="fab fa-discord text-xl"></i>
223
+ </a>
224
+ <a href="#" class="text-gray-400 hover:text-white">
225
+ <i class="fab fa-github text-xl"></i>
226
+ </a>
227
+ </div>
228
+ </div>
229
+ </div>
230
+ </footer>
231
+
232
+ <script>
233
+ document.getElementById('modRequestForm').addEventListener('submit', function(e) {
234
+ e.preventDefault();
235
+
236
+ // Show loading spinner
237
+ document.getElementById('loadingSpinner').style.display = 'inline-block';
238
+ document.getElementById('submitText').textContent = 'Processing...';
239
+
240
+ // Simulate API call/validation
241
+ setTimeout(function() {
242
+ // Hide spinner
243
+ document.getElementById('loadingSpinner').style.display = 'none';
244
+ document.getElementById('submitText').textContent = 'Submit Request';
245
+
246
+ // Show success modal
247
+ document.getElementById('successModal').classList.remove('hidden');
248
+
249
+ // Reset form
250
+ document.getElementById('modRequestForm').reset();
251
+ }, 2000);
252
+ });
253
+
254
+ document.getElementById('closeModal').addEventListener('click', function() {
255
+ document.getElementById('successModal').classList.add('hidden');
256
+ });
257
+
258
+ // Close modal when clicking outside
259
+ document.getElementById('successModal').addEventListener('click', function(e) {
260
+ if (e.target === this) {
261
+ this.classList.add('hidden');
262
+ }
263
+ });
264
+
265
+ // Validate Steam URL format
266
+ document.getElementById('steamUrl').addEventListener('blur', function() {
267
+ const url = this.value;
268
+ if (url && !url.includes('steamcommunity.com/sharedfiles/filedetails/')) {
269
+ alert('Please enter a valid Steam Workshop URL');
270
+ this.focus();
271
+ }
272
+ });
273
+ </script>
274
+ <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=NyLosning/testing" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
275
+ </html>