undefined - Initial Deployment
Browse files- README.md +7 -5
- index.html +262 -19
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
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: red
|
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,262 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>3D Red Star</title>
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
+
<style>
|
9 |
+
.star-container {
|
10 |
+
perspective: 1000px;
|
11 |
+
}
|
12 |
+
|
13 |
+
.star {
|
14 |
+
position: relative;
|
15 |
+
width: 200px;
|
16 |
+
height: 200px;
|
17 |
+
transform-style: preserve-3d;
|
18 |
+
animation: rotate 10s infinite linear;
|
19 |
+
transform: rotateX(20deg) rotateY(20deg);
|
20 |
+
}
|
21 |
+
|
22 |
+
.star-face {
|
23 |
+
position: absolute;
|
24 |
+
width: 100%;
|
25 |
+
height: 100%;
|
26 |
+
background-color: #ff0000;
|
27 |
+
border: 2px solid #990000;
|
28 |
+
box-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
|
29 |
+
}
|
30 |
+
|
31 |
+
/* Front pyramid */
|
32 |
+
.star-face:nth-child(1) {
|
33 |
+
clip-path: polygon(
|
34 |
+
50% 0%,
|
35 |
+
61% 35%,
|
36 |
+
98% 35%,
|
37 |
+
68% 57%,
|
38 |
+
79% 91%,
|
39 |
+
50% 70%,
|
40 |
+
21% 91%,
|
41 |
+
32% 57%,
|
42 |
+
2% 35%,
|
43 |
+
39% 35%
|
44 |
+
);
|
45 |
+
transform: translateZ(100px);
|
46 |
+
}
|
47 |
+
|
48 |
+
/* Back pyramid */
|
49 |
+
.star-face:nth-child(2) {
|
50 |
+
clip-path: polygon(
|
51 |
+
50% 100%,
|
52 |
+
61% 65%,
|
53 |
+
98% 65%,
|
54 |
+
68% 43%,
|
55 |
+
79% 9%,
|
56 |
+
50% 30%,
|
57 |
+
21% 9%,
|
58 |
+
32% 43%,
|
59 |
+
2% 65%,
|
60 |
+
39% 65%
|
61 |
+
);
|
62 |
+
transform: translateZ(-100px) rotateY(180deg);
|
63 |
+
}
|
64 |
+
|
65 |
+
/* Side pyramids */
|
66 |
+
.star-face:nth-child(3) {
|
67 |
+
clip-path: polygon(
|
68 |
+
50% 0%,
|
69 |
+
61% 35%,
|
70 |
+
98% 35%,
|
71 |
+
68% 57%,
|
72 |
+
79% 91%,
|
73 |
+
50% 70%,
|
74 |
+
21% 91%,
|
75 |
+
32% 57%,
|
76 |
+
2% 35%,
|
77 |
+
39% 35%
|
78 |
+
);
|
79 |
+
transform: rotateY(90deg) translateZ(100px);
|
80 |
+
}
|
81 |
+
|
82 |
+
.star-face:nth-child(4) {
|
83 |
+
clip-path: polygon(
|
84 |
+
50% 0%,
|
85 |
+
61% 35%,
|
86 |
+
98% 35%,
|
87 |
+
68% 57%,
|
88 |
+
79% 91%,
|
89 |
+
50% 70%,
|
90 |
+
21% 91%,
|
91 |
+
32% 57%,
|
92 |
+
2% 35%,
|
93 |
+
39% 35%
|
94 |
+
);
|
95 |
+
transform: rotateY(-90deg) translateZ(100px);
|
96 |
+
}
|
97 |
+
|
98 |
+
.star-face:nth-child(5) {
|
99 |
+
clip-path: polygon(
|
100 |
+
50% 0%,
|
101 |
+
61% 35%,
|
102 |
+
98% 35%,
|
103 |
+
68% 57%,
|
104 |
+
79% 91%,
|
105 |
+
50% 70%,
|
106 |
+
21% 91%,
|
107 |
+
32% 57%,
|
108 |
+
2% 35%,
|
109 |
+
39% 35%
|
110 |
+
);
|
111 |
+
transform: rotateX(90deg) translateZ(100px);
|
112 |
+
}
|
113 |
+
|
114 |
+
.star-face:nth-child(6) {
|
115 |
+
clip-path: polygon(
|
116 |
+
50% 0%,
|
117 |
+
61% 35%,
|
118 |
+
98% 35%,
|
119 |
+
68% 57%,
|
120 |
+
79% 91%,
|
121 |
+
50% 70%,
|
122 |
+
21% 91%,
|
123 |
+
32% 57%,
|
124 |
+
2% 35%,
|
125 |
+
39% 35%
|
126 |
+
);
|
127 |
+
transform: rotateX(-90deg) translateZ(100px);
|
128 |
+
}
|
129 |
+
|
130 |
+
@keyframes rotate {
|
131 |
+
0% {
|
132 |
+
transform: rotateX(0deg) rotateY(0deg);
|
133 |
+
}
|
134 |
+
100% {
|
135 |
+
transform: rotateX(360deg) rotateY(360deg);
|
136 |
+
}
|
137 |
+
}
|
138 |
+
|
139 |
+
.glow {
|
140 |
+
position: absolute;
|
141 |
+
width: 300px;
|
142 |
+
height: 300px;
|
143 |
+
background: radial-gradient(circle, rgba(255,0,0,0.8) 0%, rgba(255,0,0,0) 70%);
|
144 |
+
border-radius: 50%;
|
145 |
+
filter: blur(20px);
|
146 |
+
z-index: -1;
|
147 |
+
animation: pulse 2s infinite alternate;
|
148 |
+
}
|
149 |
+
|
150 |
+
@keyframes pulse {
|
151 |
+
0% {
|
152 |
+
transform: scale(0.8);
|
153 |
+
opacity: 0.7;
|
154 |
+
}
|
155 |
+
100% {
|
156 |
+
transform: scale(1.1);
|
157 |
+
opacity: 0.9;
|
158 |
+
}
|
159 |
+
}
|
160 |
+
|
161 |
+
.particle {
|
162 |
+
position: absolute;
|
163 |
+
background-color: rgba(255, 255, 255, 0.8);
|
164 |
+
border-radius: 50%;
|
165 |
+
pointer-events: none;
|
166 |
+
}
|
167 |
+
</style>
|
168 |
+
</head>
|
169 |
+
<body class="bg-gray-900 min-h-screen flex flex-col items-center justify-center overflow-hidden">
|
170 |
+
<div class="text-center mb-8">
|
171 |
+
<h1 class="text-4xl md:text-6xl font-bold text-white mb-4">五星红旗</h1>
|
172 |
+
<p class="text-xl text-red-300">The Glorious Red Star</p>
|
173 |
+
</div>
|
174 |
+
|
175 |
+
<div class="star-container relative">
|
176 |
+
<div class="glow"></div>
|
177 |
+
<div class="star">
|
178 |
+
<div class="star-face"></div>
|
179 |
+
<div class="star-face"></div>
|
180 |
+
<div class="star-face"></div>
|
181 |
+
<div class="star-face"></div>
|
182 |
+
<div class="star-face"></div>
|
183 |
+
<div class="star-face"></div>
|
184 |
+
</div>
|
185 |
+
</div>
|
186 |
+
|
187 |
+
<div class="mt-12 text-center max-w-2xl px-4">
|
188 |
+
<p class="text-white text-lg mb-6">
|
189 |
+
The five-pointed red star is a symbol of unity and revolution. Each point represents one of the five groups that were to unite under socialism: the youth, the military, the workers, the peasants, and the intellectuals.
|
190 |
+
</p>
|
191 |
+
<button id="celebrateBtn" class="bg-red-600 hover:bg-red-700 text-white font-bold py-3 px-6 rounded-full transition-all transform hover:scale-105 shadow-lg">
|
192 |
+
Celebrate the Star
|
193 |
+
</button>
|
194 |
+
</div>
|
195 |
+
|
196 |
+
<script>
|
197 |
+
// Create particles when button is clicked
|
198 |
+
document.getElementById('celebrateBtn').addEventListener('click', function() {
|
199 |
+
createParticles();
|
200 |
+
|
201 |
+
// Add temporary animation to star
|
202 |
+
const star = document.querySelector('.star');
|
203 |
+
star.style.animation = 'none';
|
204 |
+
star.style.transform = 'scale(1.5)';
|
205 |
+
setTimeout(() => {
|
206 |
+
star.style.animation = 'rotate 10s infinite linear';
|
207 |
+
star.style.transform = '';
|
208 |
+
}, 1000);
|
209 |
+
});
|
210 |
+
|
211 |
+
function createParticles() {
|
212 |
+
const container = document.querySelector('.star-container');
|
213 |
+
const colors = ['#ff0000', '#ffffff', '#ffcc00', '#ff6600'];
|
214 |
+
|
215 |
+
for (let i = 0; i < 50; i++) {
|
216 |
+
const particle = document.createElement('div');
|
217 |
+
particle.classList.add('particle');
|
218 |
+
|
219 |
+
// Random properties
|
220 |
+
const size = Math.random() * 10 + 5;
|
221 |
+
const posX = Math.random() * 400 - 200;
|
222 |
+
const posY = Math.random() * 400 - 200;
|
223 |
+
const color = colors[Math.floor(Math.random() * colors.length)];
|
224 |
+
|
225 |
+
particle.style.width = `${size}px`;
|
226 |
+
particle.style.height = `${size}px`;
|
227 |
+
particle.style.backgroundColor = color;
|
228 |
+
particle.style.left = `50%`;
|
229 |
+
particle.style.top = `50%`;
|
230 |
+
|
231 |
+
container.appendChild(particle);
|
232 |
+
|
233 |
+
// Animate particle
|
234 |
+
const animation = particle.animate([
|
235 |
+
{
|
236 |
+
transform: `translate(0, 0) scale(1)`,
|
237 |
+
opacity: 1
|
238 |
+
},
|
239 |
+
{
|
240 |
+
transform: `translate(${posX}px, ${posY}px) scale(0)`,
|
241 |
+
opacity: 0
|
242 |
+
}
|
243 |
+
], {
|
244 |
+
duration: Math.random() * 1000 + 1000,
|
245 |
+
easing: 'cubic-bezier(0.4, 0, 0.2, 1)'
|
246 |
+
});
|
247 |
+
|
248 |
+
animation.onfinish = () => {
|
249 |
+
particle.remove();
|
250 |
+
};
|
251 |
+
}
|
252 |
+
}
|
253 |
+
|
254 |
+
// Create occasional random particles
|
255 |
+
setInterval(() => {
|
256 |
+
if (Math.random() > 0.7) {
|
257 |
+
createParticles();
|
258 |
+
}
|
259 |
+
}, 3000);
|
260 |
+
</script>
|
261 |
+
<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=taowei/test" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
262 |
+
</html>
|