Xacodavt commited on
Commit
26db713
·
verified ·
1 Parent(s): 5c9de2d

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +239 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Sasd
3
- emoji: 📈
4
- colorFrom: indigo
5
- colorTo: blue
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: sasd
3
+ emoji: 🐳
4
+ colorFrom: green
5
+ colorTo: red
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,239 @@
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>Slime War - Battle Arena</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
+ @import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
11
+
12
+ .pixel-font {
13
+ font-family: 'Press Start 2P', cursive;
14
+ }
15
+
16
+ .glow {
17
+ animation: glow 2s ease-in-out infinite alternate;
18
+ }
19
+
20
+ @keyframes glow {
21
+ from {
22
+ text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #00ff00, 0 0 20px #00ff00;
23
+ }
24
+ to {
25
+ text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #00ff00, 0 0 40px #00ff00;
26
+ }
27
+ }
28
+
29
+ .slime-btn {
30
+ position: relative;
31
+ overflow: hidden;
32
+ transition: all 0.3s;
33
+ }
34
+
35
+ .slime-btn:hover {
36
+ transform: scale(1.05);
37
+ }
38
+
39
+ .slime-btn::after {
40
+ content: '';
41
+ position: absolute;
42
+ top: -50%;
43
+ left: -50%;
44
+ width: 200%;
45
+ height: 200%;
46
+ background: rgba(255, 255, 255, 0.2);
47
+ transform: rotate(45deg);
48
+ transition: all 0.3s;
49
+ opacity: 0;
50
+ }
51
+
52
+ .slime-btn:hover::after {
53
+ opacity: 1;
54
+ animation: slime 1.5s infinite;
55
+ }
56
+
57
+ @keyframes slime {
58
+ 0% {
59
+ transform: rotate(45deg) translate(-30%, -30%);
60
+ }
61
+ 100% {
62
+ transform: rotate(45deg) translate(30%, 30%);
63
+ }
64
+ }
65
+
66
+ .bounce {
67
+ animation: bounce 2s infinite;
68
+ }
69
+
70
+ @keyframes bounce {
71
+ 0%, 100% {
72
+ transform: translateY(0);
73
+ }
74
+ 50% {
75
+ transform: translateY(-10px);
76
+ }
77
+ }
78
+ </style>
79
+ </head>
80
+ <body class="bg-gray-900 text-white min-h-screen">
81
+ <!-- Header Section -->
82
+ <header class="bg-gradient-to-r from-green-900 to-purple-900 py-6 px-4 shadow-lg">
83
+ <div class="container mx-auto flex flex-col md:flex-row justify-between items-center">
84
+ <div class="flex items-center mb-4 md:mb-0">
85
+ <i class="fas fa-ghost text-4xl text-green-400 mr-3 bounce"></i>
86
+ <h1 class="text-3xl md:text-4xl font-bold pixel-font glow">SLIME WAR</h1>
87
+ </div>
88
+ <div class="flex space-x-4">
89
+ <button class="slime-btn bg-green-600 hover:bg-green-700 px-4 py-2 rounded-lg font-bold flex items-center">
90
+ <i class="fas fa-trophy mr-2"></i> Leaderboard
91
+ </button>
92
+ <button class="slime-btn bg-purple-600 hover:bg-purple-700 px-4 py-2 rounded-lg font-bold flex items-center">
93
+ <i class="fas fa-cog mr-2"></i> Settings
94
+ </button>
95
+ </div>
96
+ </div>
97
+ </header>
98
+
99
+ <!-- Main Content -->
100
+ <main class="container mx-auto px-4 py-8">
101
+ <!-- Game Info Section -->
102
+ <section class="mb-8 bg-gray-800 bg-opacity-70 rounded-xl p-6 shadow-lg">
103
+ <h2 class="text-2xl font-bold mb-4 text-green-400 pixel-font">Welcome to Slime War!</h2>
104
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
105
+ <div class="bg-gray-700 p-4 rounded-lg hover:bg-gray-600 transition-all">
106
+ <h3 class="text-xl font-bold mb-2 text-purple-400 flex items-center">
107
+ <i class="fas fa-gamepad mr-2"></i> Gameplay
108
+ </h3>
109
+ <p class="text-gray-300">Control your slime army and conquer the battlefield. Merge slimes to create more powerful units!</p>
110
+ </div>
111
+ <div class="bg-gray-700 p-4 rounded-lg hover:bg-gray-600 transition-all">
112
+ <h3 class="text-xl font-bold mb-2 text-green-400 flex items-center">
113
+ <i class="fas fa-chess-queen mr-2"></i> Strategy
114
+ </h3>
115
+ <p class="text-gray-300">Plan your moves carefully. The right strategy will lead your slimes to victory!</p>
116
+ </div>
117
+ <div class="bg-gray-700 p-4 rounded-lg hover:bg-gray-600 transition-all">
118
+ <h3 class="text-xl font-bold mb-2 text-yellow-400 flex items-center">
119
+ <i class="fas fa-medal mr-2"></i> Achievements
120
+ </h3>
121
+ <p class="text-gray-300">Unlock special rewards and achievements as you progress through the game.</p>
122
+ </div>
123
+ </div>
124
+ </section>
125
+
126
+ <!-- Game Container -->
127
+ <section class="mb-8">
128
+ <div class="relative overflow-hidden rounded-xl shadow-2xl border-4 border-green-500">
129
+ <div class="absolute inset-0 bg-gradient-to-br from-green-900 to-purple-900 opacity-20 z-0"></div>
130
+ <div class="relative z-10">
131
+ <iframe
132
+ src="https://slime-war.netlify.app/"
133
+ class="w-full h-[70vh] border-none"
134
+ allowfullscreen>
135
+ </iframe>
136
+ </div>
137
+ </div>
138
+ </section>
139
+
140
+ <!-- Controls Section -->
141
+ <section class="bg-gray-800 bg-opacity-70 rounded-xl p-6 shadow-lg">
142
+ <h2 class="text-2xl font-bold mb-6 text-center text-purple-400 pixel-font">GAME CONTROLS</h2>
143
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-4">
144
+ <div class="bg-gray-700 p-4 rounded-lg text-center">
145
+ <div class="bg-green-600 w-12 h-12 rounded-full flex items-center justify-center mx-auto mb-2">
146
+ <i class="fas fa-mouse-pointer text-xl"></i>
147
+ </div>
148
+ <h3 class="font-bold">Click</h3>
149
+ <p class="text-sm text-gray-300">Select slimes</p>
150
+ </div>
151
+ <div class="bg-gray-700 p-4 rounded-lg text-center">
152
+ <div class="bg-purple-600 w-12 h-12 rounded-full flex items-center justify-center mx-auto mb-2">
153
+ <i class="fas fa-arrows-alt text-xl"></i>
154
+ </div>
155
+ <h3 class="font-bold">Drag</h3>
156
+ <p class="text-sm text-gray-300">Move slimes</p>
157
+ </div>
158
+ <div class="bg-gray-700 p-4 rounded-lg text-center">
159
+ <div class="bg-yellow-600 w-12 h-12 rounded-full flex items-center justify-center mx-auto mb-2">
160
+ <i class="fas fa-object-group text-xl"></i>
161
+ </div>
162
+ <h3 class="font-bold">Merge</h3>
163
+ <p class="text-sm text-gray-300">Combine slimes</p>
164
+ </div>
165
+ <div class="bg-gray-700 p-4 rounded-lg text-center">
166
+ <div class="bg-red-600 w-12 h-12 rounded-full flex items-center justify-center mx-auto mb-2">
167
+ <i class="fas fa-crosshairs text-xl"></i>
168
+ </div>
169
+ <h3 class="font-bold">Attack</h3>
170
+ <p class="text-sm text-gray-300">Target enemies</p>
171
+ </div>
172
+ </div>
173
+ </section>
174
+ </main>
175
+
176
+ <!-- Footer -->
177
+ <footer class="bg-gray-800 py-6 px-4 mt-8">
178
+ <div class="container mx-auto">
179
+ <div class="flex flex-col md:flex-row justify-between items-center">
180
+ <div class="mb-4 md:mb-0">
181
+ <h3 class="text-lg font-bold text-green-400 flex items-center">
182
+ <i class="fas fa-slime-hazard mr-2"></i> SLIME WAR
183
+ </h3>
184
+ <p class="text-gray-400 text-sm">Battle for slime supremacy!</p>
185
+ </div>
186
+ <div class="flex space-x-6">
187
+ <a href="#" class="text-gray-400 hover:text-green-400 transition">
188
+ <i class="fab fa-twitter text-xl"></i>
189
+ </a>
190
+ <a href="#" class="text-gray-400 hover:text-purple-400 transition">
191
+ <i class="fab fa-discord text-xl"></i>
192
+ </a>
193
+ <a href="#" class="text-gray-400 hover:text-red-400 transition">
194
+ <i class="fab fa-youtube text-xl"></i>
195
+ </a>
196
+ </div>
197
+ </div>
198
+ <div class="mt-6 text-center text-gray-500 text-sm">
199
+ <p>© 2023 Slime War Battle Arena. All rights reserved.</p>
200
+ </div>
201
+ </div>
202
+ </footer>
203
+
204
+ <!-- Floating Slime Button -->
205
+ <div class="fixed bottom-6 right-6">
206
+ <button class="slime-btn bg-green-500 hover:bg-green-600 w-16 h-16 rounded-full flex items-center justify-center shadow-xl">
207
+ <i class="fas fa-question text-2xl"></i>
208
+ </button>
209
+ </div>
210
+
211
+ <script>
212
+ // Add some interactive elements
213
+ document.addEventListener('DOMContentLoaded', function() {
214
+ // Add click effect to all slime buttons
215
+ const slimeBtns = document.querySelectorAll('.slime-btn');
216
+ slimeBtns.forEach(btn => {
217
+ btn.addEventListener('click', function() {
218
+ this.classList.add('animate-ping');
219
+ setTimeout(() => {
220
+ this.classList.remove('animate-ping');
221
+ }, 300);
222
+ });
223
+ });
224
+
225
+ // Random slime color animation for header
226
+ const header = document.querySelector('header');
227
+ const colors = ['from-green-900', 'from-purple-900', 'from-blue-900', 'from-red-900'];
228
+ const toColors = ['to-purple-900', 'to-blue-900', 'to-red-900', 'to-green-900'];
229
+
230
+ setInterval(() => {
231
+ const randomFrom = colors[Math.floor(Math.random() * colors.length)];
232
+ const randomTo = toColors[Math.floor(Math.random() * toColors.length)];
233
+ header.className = header.className.replace(/from-\w+-\d+/g, randomFrom);
234
+ header.className = header.className.replace(/to-\w+-\d+/g, randomTo);
235
+ }, 5000);
236
+ });
237
+ </script>
238
+ <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=Xacodavt/sasd" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
239
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ <iframe src="https://slime-war.netlify.app/" style="width:100%; height:80vh; border:none;" allowfullscreen> </iframe>