BOBOYEONG commited on
Commit
0b13a68
Β·
verified Β·
1 Parent(s): ef8c30d

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +407 -19
index.html CHANGED
@@ -1,19 +1,407 @@
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="ko">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>μ•ˆλ…•ν•˜μ„Έμš” - Modern Greeting App</title>
7
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
8
+ <style>
9
+ :root {
10
+ --primary-color: #6c5ce7;
11
+ --secondary-color: #a29bfe;
12
+ --accent-color: #fd79a8;
13
+ --dark-color: #2d3436;
14
+ --light-color: #f5f6fa;
15
+ --shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
16
+ --transition: all 0.3s ease;
17
+ }
18
+
19
+ * {
20
+ margin: 0;
21
+ padding: 0;
22
+ box-sizing: border-box;
23
+ font-family: 'Noto Sans KR', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
24
+ }
25
+
26
+ body {
27
+ background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
28
+ min-height: 100vh;
29
+ display: flex;
30
+ flex-direction: column;
31
+ align-items: center;
32
+ color: var(--dark-color);
33
+ line-height: 1.6;
34
+ }
35
+
36
+ header {
37
+ width: 100%;
38
+ padding: 1.5rem;
39
+ display: flex;
40
+ justify-content: space-between;
41
+ align-items: center;
42
+ background-color: rgba(255, 255, 255, 0.9);
43
+ backdrop-filter: blur(10px);
44
+ box-shadow: var(--shadow);
45
+ position: sticky;
46
+ top: 0;
47
+ z-index: 100;
48
+ }
49
+
50
+ .logo {
51
+ font-size: 1.5rem;
52
+ font-weight: 700;
53
+ color: var(--primary-color);
54
+ text-decoration: none;
55
+ display: flex;
56
+ align-items: center;
57
+ gap: 0.5rem;
58
+ }
59
+
60
+ .logo i {
61
+ animation: pulse 2s infinite;
62
+ }
63
+
64
+ .anycoder-link {
65
+ color: var(--dark-color);
66
+ text-decoration: none;
67
+ font-size: 0.9rem;
68
+ transition: var(--transition);
69
+ }
70
+
71
+ .anycoder-link:hover {
72
+ color: var(--primary-color);
73
+ }
74
+
75
+ main {
76
+ flex: 1;
77
+ width: 90%;
78
+ max-width: 800px;
79
+ margin: 2rem auto;
80
+ display: flex;
81
+ flex-direction: column;
82
+ align-items: center;
83
+ text-align: center;
84
+ }
85
+
86
+ .greeting-container {
87
+ background-color: white;
88
+ border-radius: 20px;
89
+ padding: 3rem 2rem;
90
+ box-shadow: var(--shadow);
91
+ margin-bottom: 2rem;
92
+ width: 100%;
93
+ transform: translateY(0);
94
+ opacity: 0;
95
+ animation: fadeInUp 0.8s ease forwards;
96
+ }
97
+
98
+ .greeting-text {
99
+ font-size: 3rem;
100
+ font-weight: 700;
101
+ margin-bottom: 1rem;
102
+ background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
103
+ -webkit-background-clip: text;
104
+ background-clip: text;
105
+ color: transparent;
106
+ text-shadow: 0 2px 10px rgba(108, 92, 231, 0.2);
107
+ }
108
+
109
+ .sub-text {
110
+ font-size: 1.2rem;
111
+ color: var(--dark-color);
112
+ margin-bottom: 2rem;
113
+ }
114
+
115
+ .korean-flag {
116
+ width: 100px;
117
+ height: 60px;
118
+ background: linear-gradient(to right, white 50%, #cd2e3a 50%);
119
+ position: relative;
120
+ margin: 1rem auto;
121
+ border-radius: 5px;
122
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
123
+ }
124
+
125
+ .korean-flag::before {
126
+ content: "";
127
+ position: absolute;
128
+ top: 50%;
129
+ left: 50%;
130
+ transform: translate(-50%, -50%);
131
+ width: 30px;
132
+ height: 30px;
133
+ background: radial-gradient(circle, #002b8f 30%, #cd2e3a 30%, #cd2e3a 40%, white 40%);
134
+ border-radius: 50%;
135
+ }
136
+
137
+ .features {
138
+ display: flex;
139
+ flex-wrap: wrap;
140
+ justify-content: center;
141
+ gap: 1.5rem;
142
+ width: 100%;
143
+ margin-top: 2rem;
144
+ }
145
+
146
+ .feature-card {
147
+ background-color: white;
148
+ border-radius: 15px;
149
+ padding: 1.5rem;
150
+ width: 200px;
151
+ box-shadow: var(--shadow);
152
+ transition: var(--transition);
153
+ opacity: 0;
154
+ transform: translateY(20px);
155
+ animation: fadeInUp 0.8s ease forwards;
156
+ }
157
+
158
+ .feature-card:nth-child(1) { animation-delay: 0.2s; }
159
+ .feature-card:nth-child(2) { animation-delay: 0.4s; }
160
+ .feature-card:nth-child(3) { animation-delay: 0.6s; }
161
+
162
+ .feature-card:hover {
163
+ transform: translateY(-5px);
164
+ box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
165
+ }
166
+
167
+ .feature-icon {
168
+ font-size: 2.5rem;
169
+ color: var(--primary-color);
170
+ margin-bottom: 1rem;
171
+ }
172
+
173
+ .feature-title {
174
+ font-size: 1.1rem;
175
+ font-weight: 600;
176
+ margin-bottom: 0.5rem;
177
+ color: var(--dark-color);
178
+ }
179
+
180
+ .feature-desc {
181
+ font-size: 0.9rem;
182
+ color: #636e72;
183
+ }
184
+
185
+ .time-greeting {
186
+ margin-top: 2rem;
187
+ font-size: 1.5rem;
188
+ font-weight: 600;
189
+ color: var(--primary-color);
190
+ padding: 1rem 2rem;
191
+ background-color: rgba(108, 92, 231, 0.1);
192
+ border-radius: 10px;
193
+ animation: pulse 2s infinite;
194
+ }
195
+
196
+ footer {
197
+ width: 100%;
198
+ padding: 1.5rem;
199
+ text-align: center;
200
+ background-color: rgba(255, 255, 255, 0.9);
201
+ backdrop-filter: blur(10px);
202
+ box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.05);
203
+ }
204
+
205
+ .social-links {
206
+ display: flex;
207
+ justify-content: center;
208
+ gap: 1.5rem;
209
+ margin-bottom: 1rem;
210
+ }
211
+
212
+ .social-link {
213
+ color: var(--dark-color);
214
+ font-size: 1.5rem;
215
+ transition: var(--transition);
216
+ }
217
+
218
+ .social-link:hover {
219
+ color: var(--primary-color);
220
+ transform: translateY(-3px);
221
+ }
222
+
223
+ .copyright {
224
+ color: #636e72;
225
+ font-size: 0.9rem;
226
+ }
227
+
228
+ @keyframes fadeInUp {
229
+ to {
230
+ opacity: 1;
231
+ transform: translateY(0);
232
+ }
233
+ }
234
+
235
+ @keyframes pulse {
236
+ 0%, 100% {
237
+ opacity: 1;
238
+ }
239
+ 50% {
240
+ opacity: 0.8;
241
+ }
242
+ }
243
+
244
+ @media (max-width: 768px) {
245
+ .greeting-text {
246
+ font-size: 2.5rem;
247
+ }
248
+
249
+ .features {
250
+ flex-direction: column;
251
+ align-items: center;
252
+ }
253
+
254
+ .feature-card {
255
+ width: 100%;
256
+ max-width: 300px;
257
+ }
258
+ }
259
+
260
+ @media (max-width: 480px) {
261
+ .greeting-text {
262
+ font-size: 2rem;
263
+ }
264
+
265
+ header {
266
+ flex-direction: column;
267
+ gap: 1rem;
268
+ }
269
+ }
270
+ </style>
271
+ </head>
272
+ <body>
273
+ <header>
274
+ <a href="#" class="logo">
275
+ <i class="fas fa-hand-paper"></i>
276
+ <span>ν•œκ΅­μ–΄ 인사</span>
277
+ </a>
278
+ <a href="https://huggingface.co/spaces/akhaliq/anycoder" class="anycoder-link" target="_blank">
279
+ <i class="fas fa-code"></i> Built with anycoder
280
+ </a>
281
+ </header>
282
+
283
+ <main>
284
+ <div class="greeting-container">
285
+ <h1 class="greeting-text">μ•ˆλ…•ν•˜μ„Έμš”!</h1>
286
+ <p class="sub-text">ν™˜μ˜ν•©λ‹ˆλ‹€! ν•œκ΅­μ–΄ 인사 앱에 μ˜€μ‹  것을 ν™˜μ˜ν•©λ‹ˆλ‹€.</p>
287
+
288
+ <div class="korean-flag"></div>
289
+
290
+ <div class="time-greeting" id="timeGreeting">
291
+ <!-- Will be updated by JavaScript -->
292
+ </div>
293
+ </div>
294
+
295
+ <div class="features">
296
+ <div class="feature-card">
297
+ <div class="feature-icon">
298
+ <i class="fas fa-language"></i>
299
+ </div>
300
+ <h3 class="feature-title">λ‹€κ΅­μ–΄ 지원</h3>
301
+ <p class="feature-desc">μ—¬λŸ¬ μ–Έμ–΄λ₯Ό μ§€μ›ν•˜λŠ” 인사 λ©”μ‹œμ§€λ₯Ό μ œκ³΅ν•©λ‹ˆλ‹€.</p>
302
+ </div>
303
+
304
+ <div class="feature-card">
305
+ <div class="feature-icon">
306
+ <i class="fas fa-clock"></i>
307
+ </div>
308
+ <h3 class="feature-title">μ‹œκ°„ 기반 인사</h3>
309
+ <p class="feature-desc">μ‹œκ°„μ— 따라 λ‹€λ₯Έ 인사λ₯Ό ν‘œμ‹œν•©λ‹ˆλ‹€.</p>
310
+ </div>
311
+
312
+ <div class="feature-card">
313
+ <div class="feature-icon">
314
+ <i class="fas fa-mobile-alt"></i>
315
+ </div>
316
+ <h3 class="feature-title">λ°˜μ‘ν˜• λ””μžμΈ</h3>
317
+ <p class="feature-desc">λͺ¨λ“  κΈ°κΈ°μ—μ„œ μ™„λ²½ν•˜κ²Œ μž‘λ™ν•©λ‹ˆλ‹€.</p>
318
+ </div>
319
+ </div>
320
+ </main>
321
+
322
+ <footer>
323
+ <div class="social-links">
324
+ <a href="#" class="social-link"><i class="fab fa-facebook"></i></a>
325
+ <a href="#" class="social-link"><i class="fab fa-twitter"></i></a>
326
+ <a href="#" class="social-link"><i class="fab fa-instagram"></i></a>
327
+ <a href="#" class="social-link"><i class="fab fa-github"></i></a>
328
+ </div>
329
+ <p class="copyright">Β© 2023 ν•œκ΅­μ–΄ 인사 μ•±. λͺ¨λ“  ꢌ리 보유.</p>
330
+ </footer>
331
+
332
+ <script>
333
+ // Update time-based greeting
334
+ function updateTimeGreeting() {
335
+ const now = new Date();
336
+ const hour = now.getHours();
337
+ let greeting;
338
+
339
+ if (hour < 12) {
340
+ greeting = "쒋은 μ•„μΉ¨μž…λ‹ˆλ‹€! 🌞";
341
+ } else if (hour < 18) {
342
+ greeting = "쒋은 μ˜€ν›„μž…λ‹ˆλ‹€! β˜€οΈ";
343
+ } else {
344
+ greeting = "쒋은 μ €λ…μž…λ‹ˆλ‹€! πŸŒ™";
345
+ }
346
+
347
+ document.getElementById('timeGreeting').textContent = greeting;
348
+ }
349
+
350
+ // Update greeting immediately and then every minute
351
+ updateTimeGreeting();
352
+ setInterval(updateTimeGreeting, 60000);
353
+
354
+ // Add some interactive animations
355
+ document.querySelectorAll('.feature-card').forEach(card => {
356
+ card.addEventListener('mouseenter', () => {
357
+ card.style.transform = 'translateY(-5px) scale(1.02)';
358
+ });
359
+
360
+ card.addEventListener('mouseleave', () => {
361
+ card.style.transform = 'translateY(0) scale(1)';
362
+ });
363
+ });
364
+
365
+ // Add confetti animation on click
366
+ document.querySelector('.greeting-container').addEventListener('click', () => {
367
+ createConfetti();
368
+ });
369
+
370
+ function createConfetti() {
371
+ const colors = ['#6c5ce7', '#a29bfe', '#fd79a8', '#fdcb6e', '#00b894'];
372
+ const confettiCount = 50;
373
+
374
+ for (let i = 0; i < confettiCount; i++) {
375
+ const confetti = document.createElement('div');
376
+ confetti.style.position = 'absolute';
377
+ confetti.style.width = '10px';
378
+ confetti.style.height = '10px';
379
+ confetti.style.backgroundColor = colors[Math.floor(Math.random() * colors.length)];
380
+ confetti.style.borderRadius = '50%';
381
+ confetti.style.left = Math.random() * 100 + '%';
382
+ confetti.style.top = '0';
383
+ confetti.style.zIndex = '1000';
384
+ confetti.style.animation = 'fall 3s linear forwards';
385
+
386
+ document.body.appendChild(confetti);
387
+
388
+ setTimeout(() => {
389
+ confetti.remove();
390
+ }, 3000);
391
+ }
392
+ }
393
+
394
+ // Add fall animation for confetti
395
+ const style = document.createElement('style');
396
+ style.textContent = `
397
+ @keyframes fall {
398
+ to {
399
+ transform: translateY(100vh) rotate(${Math.random() * 360}deg);
400
+ opacity: 0;
401
+ }
402
+ }
403
+ `;
404
+ document.head.appendChild(style);
405
+ </script>
406
+ </body>
407
+ </html>