zqh11 commited on
Commit
8834308
·
verified ·
1 Parent(s): d7e08b7

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +302 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Loveluer
3
- emoji: 🦀
4
- colorFrom: purple
5
- colorTo: purple
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: loveluer
3
+ emoji: 🐳
4
+ colorFrom: blue
5
+ colorTo: blue
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,302 @@
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="zh">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>生日快乐 璐儿</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=Ma+Shan+Zheng&family=ZCOOL+QingKe+HuangYou&display=swap');
11
+
12
+ body {
13
+ font-family: 'ZCOOL QingKe HuangYou', sans-serif;
14
+ background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
15
+ overflow-x: hidden;
16
+ }
17
+
18
+ .title-font {
19
+ font-family: 'Ma Shan Zheng', cursive;
20
+ }
21
+
22
+ .heart {
23
+ position: relative;
24
+ width: 100px;
25
+ height: 90px;
26
+ animation: heartbeat 1.5s infinite;
27
+ }
28
+
29
+ .heart:before, .heart:after {
30
+ position: absolute;
31
+ content: "";
32
+ left: 50px;
33
+ top: 0;
34
+ width: 50px;
35
+ height: 80px;
36
+ background: #ff6b6b;
37
+ border-radius: 50px 50px 0 0;
38
+ transform: rotate(-45deg);
39
+ transform-origin: 0 100%;
40
+ }
41
+
42
+ .heart:after {
43
+ left: 0;
44
+ transform: rotate(45deg);
45
+ transform-origin: 100% 100%;
46
+ }
47
+
48
+ @keyframes heartbeat {
49
+ 0% { transform: scale(1); }
50
+ 25% { transform: scale(1.1); }
51
+ 50% { transform: scale(1); }
52
+ 75% { transform: scale(1.1); }
53
+ 100% { transform: scale(1); }
54
+ }
55
+
56
+ .floating {
57
+ animation: floating 3s ease-in-out infinite;
58
+ }
59
+
60
+ @keyframes floating {
61
+ 0% { transform: translateY(0px); }
62
+ 50% { transform: translateY(-20px); }
63
+ 100% { transform: translateY(0px); }
64
+ }
65
+
66
+ .confetti {
67
+ position: absolute;
68
+ width: 10px;
69
+ height: 10px;
70
+ background-color: #f00;
71
+ opacity: 0;
72
+ }
73
+
74
+ .photo-frame {
75
+ border: 15px solid #fff;
76
+ box-shadow: 0 10px 30px rgba(0,0,0,0.2);
77
+ transform: rotate(-5deg);
78
+ transition: all 0.3s ease;
79
+ }
80
+
81
+ .photo-frame:hover {
82
+ transform: rotate(0deg) scale(1.05);
83
+ }
84
+
85
+ .message-box {
86
+ background: rgba(255,255,255,0.8);
87
+ backdrop-filter: blur(10px);
88
+ border-radius: 20px;
89
+ box-shadow: 0 8px 32px rgba(0,0,0,0.1);
90
+ transition: all 0.3s ease;
91
+ }
92
+
93
+ .message-box:hover {
94
+ transform: translateY(-5px);
95
+ box-shadow: 0 12px 40px rgba(0,0,0,0.15);
96
+ }
97
+
98
+ .typing {
99
+ overflow: hidden;
100
+ white-space: nowrap;
101
+ animation: typing 3.5s steps(40, end);
102
+ }
103
+
104
+ @keyframes typing {
105
+ from { width: 0 }
106
+ to { width: 100% }
107
+ }
108
+
109
+ .fade-in {
110
+ animation: fadeIn 2s;
111
+ }
112
+
113
+ @keyframes fadeIn {
114
+ from { opacity: 0; }
115
+ to { opacity: 1; }
116
+ }
117
+
118
+ .glow {
119
+ text-shadow: 0 0 10px #ff69b4, 0 0 20px #ff69b4;
120
+ }
121
+ </style>
122
+ </head>
123
+ <body class="min-h-screen flex flex-col items-center justify-center p-4">
124
+ <!-- Background Elements -->
125
+ <div id="confetti-container" class="fixed inset-0 pointer-events-none z-0"></div>
126
+
127
+ <!-- Main Content -->
128
+ <div class="z-10 w-full max-w-4xl text-center">
129
+ <!-- Header with Animation -->
130
+ <div class="mb-8 fade-in">
131
+ <div class="heart mx-auto mb-4"></div>
132
+ <h1 class="text-5xl md:text-6xl font-bold text-pink-600 title-font glow">
133
+ 生日快乐 <span class="text-red-500">璐儿</span>!
134
+ </h1>
135
+ <p class="text-xl mt-2 text-gray-600">龚晨送给最爱的你的特别祝福</p>
136
+ </div>
137
+
138
+ <!-- Photo Section -->
139
+ <div class="my-8 flex justify-center fade-in">
140
+ <div class="photo-frame bg-white p-2">
141
+ <div class="w-64 h-64 bg-pink-200 flex items-center justify-center text-4xl">
142
+ <i class="fas fa-heart text-red-500"></i>
143
+ </div>
144
+ </div>
145
+ </div>
146
+
147
+ <!-- Main Message -->
148
+ <div class="message-box p-6 my-6 fade-in">
149
+ <h2 class="text-3xl font-bold text-pink-600 mb-4">致我最爱的璐儿:</h2>
150
+ <div class="text-lg text-gray-700 leading-relaxed text-left">
151
+ <p class="mb-4 typing">在这个特别的日子里,我想告诉你,遇见你是我生命中最美好的奇迹。</p>
152
+ <p class="mb-4">每一天因为有你而变得不同,你的笑容是我前进的动力,你的温柔是我心灵的港湾。</p>
153
+ <p class="mb-4">今天是你出生的日子,愿所有的幸福、快乐、美好都围绕着你,就像我永远会围绕在你身边一样,希望宝贝的之后的论文也能中中中。</p>
154
+ <p class="text-2xl font-bold text-red-500">我承诺会爱你一生一世,直到永远,永远不会丢下我的宝贝。</p>
155
+ </div>
156
+ </div>
157
+
158
+ <!-- Memories Section -->
159
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-4 my-8 fade-in">
160
+ <div class="bg-white rounded-lg p-4 shadow-lg transform transition hover:scale-105">
161
+ <div class="text-4xl text-pink-500 mb-2"><i class="fas fa-heartbeat"></i></div>
162
+ <h3 class="font-bold text-lg">我们的心跳</h3>
163
+ <p class="text-sm">从相遇那一刻起,我们的心跳就同步了</p>
164
+ </div>
165
+ <div class="bg-white rounded-lg p-4 shadow-lg transform transition hover:scale-105">
166
+ <div class="text-4xl text-pink-500 mb-2"><i class="fas fa-laugh-beam"></i></div>
167
+ <h3 class="font-bold text-lg">快乐时光</h3>
168
+ <p class="text-sm">和你在一起的每一秒都充满欢笑</p>
169
+ </div>
170
+ <div class="bg-white rounded-lg p-4 shadow-lg transform transition hover:scale-105">
171
+ <div class="text-4xl text-pink-500 mb-2"><i class="fas fa-hand-holding-heart"></i></div>
172
+ <h3 class="font-bold text-lg">永恒承诺</h3>
173
+ <p class="text-sm">我会一直牵着你的手,直到永远</p>
174
+ </div>
175
+ </div>
176
+
177
+ <!-- Countdown Timer -->
178
+ <div class="my-8 p-6 bg-gradient-to-r from-pink-400 to-pink-600 rounded-xl text-white fade-in">
179
+ <h3 class="text-2xl font-bold mb-4">我们已经相爱</h3>
180
+ <div class="flex justify-center space-x-4">
181
+ <div class="text-center">
182
+ <div class="text-3xl font-bold" id="days">0</div>
183
+ <div class="text-sm">天</div>
184
+ </div>
185
+ <div class="text-center">
186
+ <div class="text-3xl font-bold" id="hours">0</div>
187
+ <div class="text-sm">小时</div>
188
+ </div>
189
+ <div class="text-center">
190
+ <div class="text-3xl font-bold" id="minutes">0</div>
191
+ <div class="text-sm">分钟</div>
192
+ </div>
193
+ <div class="text-center">
194
+ <div class="text-3xl font-bold" id="seconds">0</div>
195
+ <div class="text-sm">秒</div>
196
+ </div>
197
+ </div>
198
+ </div>
199
+
200
+ <!-- Final Message -->
201
+ <div class="my-8 p-6 bg-white rounded-xl shadow-lg fade-in">
202
+ <h3 class="text-2xl font-bold text-pink-600 mb-4">亲爱的璐儿</h3>
203
+ <p class="text-lg mb-4">愿你的生日充满惊喜和快乐,就像你每天带给我的惊喜一样。</p>
204
+ <p class="text-lg mb-4">愿你的笑容永远灿烂,愿你的每一天都如今天般特别。</p>
205
+ <p class="text-2xl font-bold text-red-500">我会用一生的时间去爱你、珍惜你、守护你。</p>
206
+ </div>
207
+
208
+ <!-- Floating Hearts -->
209
+ <div class="fixed bottom-0 left-0 w-full flex justify-center space-x-4 pointer-events-none z-0">
210
+ <div class="text-4xl text-pink-400 opacity-50 floating" style="animation-delay: 0s;"><i class="fas fa-heart"></i></div>
211
+ <div class="text-4xl text-red-400 opacity-50 floating" style="animation-delay: 0.5s;"><i class="fas fa-heart"></i></div>
212
+ <div class="text-4xl text-pink-300 opacity-50 floating" style="animation-delay: 1s;"><i class="fas fa-heart"></i></div>
213
+ </div>
214
+ </div>
215
+
216
+ <script>
217
+ // Confetti Effect
218
+ function createConfetti() {
219
+ const colors = ['#ff0000', '#ff69b4', '#ff1493', '#ff00ff', '#ff6347'];
220
+ const container = document.getElementById('confetti-container');
221
+
222
+ for (let i = 0; i < 50; i++) {
223
+ const confetti = document.createElement('div');
224
+ confetti.className = 'confetti';
225
+ confetti.style.left = Math.random() * 100 + 'vw';
226
+ confetti.style.backgroundColor = colors[Math.floor(Math.random() * colors.length)];
227
+ confetti.style.width = Math.random() * 10 + 5 + 'px';
228
+ confetti.style.height = Math.random() * 10 + 5 + 'px';
229
+ confetti.style.opacity = Math.random() * 0.5 + 0.5;
230
+
231
+ container.appendChild(confetti);
232
+
233
+ const animationDuration = Math.random() * 3 + 2;
234
+
235
+ confetti.animate([
236
+ { transform: 'translateY(0) rotate(0deg)', opacity: 1 },
237
+ { transform: `translateY(${window.innerHeight}px) rotate(${Math.random() * 360}deg)`, opacity: 0 }
238
+ ], {
239
+ duration: animationDuration * 1000,
240
+ easing: 'cubic-bezier(0.1, 0.8, 0.3, 1)',
241
+ delay: Math.random() * 2000
242
+ });
243
+
244
+ setTimeout(() => {
245
+ confetti.remove();
246
+ }, animationDuration * 1000);
247
+ }
248
+ }
249
+
250
+ // Countdown Timer (since a specific date)
251
+ function updateCountdown() {
252
+ // Replace this with your actual anniversary date
253
+ const anniversaryDate = new Date('2023-05-05');
254
+ const now = new Date();
255
+ const diff = now - anniversaryDate;
256
+
257
+ const days = Math.floor(diff / (1000 * 60 * 60 * 24));
258
+ const hours = Math.floor((diff % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
259
+ const minutes = Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60));
260
+ const seconds = Math.floor((diff % (1000 * 60)) / 1000);
261
+
262
+ document.getElementById('days').textContent = days;
263
+ document.getElementById('hours').textContent = hours;
264
+ document.getElementById('minutes').textContent = minutes;
265
+ document.getElementById('seconds').textContent = seconds;
266
+ }
267
+
268
+ // Initialize
269
+ document.addEventListener('DOMContentLoaded', () => {
270
+ // Start confetti every 3 seconds
271
+ createConfetti();
272
+ setInterval(createConfetti, 3000);
273
+
274
+ // Update countdown every second
275
+ updateCountdown();
276
+ setInterval(updateCountdown, 1000);
277
+
278
+ // Add click effect
279
+ document.addEventListener('click', (e) => {
280
+ const heart = document.createElement('div');
281
+ heart.className = 'text-2xl text-red-500 absolute pointer-events-none';
282
+ heart.innerHTML = '<i class="fas fa-heart"></i>';
283
+ heart.style.left = e.clientX + 'px';
284
+ heart.style.top = e.clientY + 'px';
285
+ document.body.appendChild(heart);
286
+
287
+ heart.animate([
288
+ { transform: 'scale(1)', opacity: 1 },
289
+ { transform: 'scale(3)', opacity: 0 }
290
+ ], {
291
+ duration: 1000,
292
+ easing: 'ease-out'
293
+ });
294
+
295
+ setTimeout(() => {
296
+ heart.remove();
297
+ }, 1000);
298
+ });
299
+ });
300
+ </script>
301
+ <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=zqh11/loveluer" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
302
+ </html>