dmae commited on
Commit
673c4ce
Β·
verified Β·
1 Parent(s): 6328aca

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +6 -4
  2. index.html +290 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Wedding
3
- emoji: πŸŒ–
4
  colorFrom: purple
5
- colorTo: yellow
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: wedding
3
+ emoji: 🐳
4
  colorFrom: purple
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,290 @@
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>유근빈 ❀ μ „μ°¬μš° κ²°ν˜Όμ‹ 청첩μž₯</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=Nanum+Myeongjo:wght@400;700;800&family=Noto+Serif+KR:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Noto Serif KR', serif;
14
+ background-color: #faf6f2;
15
+ color: #5a4a3f;
16
+ overflow-x: hidden;
17
+ }
18
+
19
+ .title-font {
20
+ font-family: 'Nanum Myeongjo', serif;
21
+ }
22
+
23
+ .heart-animation {
24
+ animation: heartbeat 1.5s ease-in-out infinite;
25
+ }
26
+
27
+ @keyframes heartbeat {
28
+ 0% { transform: scale(1); }
29
+ 25% { transform: scale(1.1); }
30
+ 50% { transform: scale(1); }
31
+ 75% { transform: scale(1.1); }
32
+ 100% { transform: scale(1); }
33
+ }
34
+
35
+ .floating {
36
+ animation: floating 3s ease-in-out infinite;
37
+ }
38
+
39
+ @keyframes floating {
40
+ 0% { transform: translateY(0px); }
41
+ 50% { transform: translateY(-15px); }
42
+ 100% { transform: translateY(0px); }
43
+ }
44
+
45
+ .petal {
46
+ position: absolute;
47
+ background-size: contain;
48
+ background-repeat: no-repeat;
49
+ opacity: 0.7;
50
+ animation: falling linear infinite;
51
+ z-index: 0;
52
+ }
53
+
54
+ @keyframes falling {
55
+ 0% {
56
+ transform: translate(0, -10vh) rotate(0deg);
57
+ opacity: 0;
58
+ }
59
+ 10% {
60
+ opacity: 1;
61
+ }
62
+ 90% {
63
+ opacity: 1;
64
+ }
65
+ 100% {
66
+ transform: translate(calc(var(--random-x) * 1vw), 100vh) rotate(360deg);
67
+ opacity: 0;
68
+ }
69
+ }
70
+
71
+ .envelope {
72
+ position: relative;
73
+ background: #f8e8e0;
74
+ border-radius: 8px;
75
+ box-shadow: 0 10px 30px rgba(0,0,0,0.1);
76
+ transition: all 0.3s ease;
77
+ }
78
+
79
+ .envelope:before {
80
+ content: '';
81
+ position: absolute;
82
+ top: 0;
83
+ right: 0;
84
+ border-width: 0 40px 40px 0;
85
+ border-style: solid;
86
+ border-color: #e8d5cc transparent;
87
+ border-radius: 0 8px 0 0;
88
+ }
89
+
90
+ .envelope:hover {
91
+ transform: translateY(-5px);
92
+ box-shadow: 0 15px 35px rgba(0,0,0,0.15);
93
+ }
94
+
95
+ .gold-text {
96
+ background: linear-gradient(to right, #d4af37, #f9d423, #d4af37);
97
+ -webkit-background-clip: text;
98
+ background-clip: text;
99
+ color: transparent;
100
+ }
101
+ </style>
102
+ </head>
103
+ <body class="relative overflow-x-hidden">
104
+ <!-- νŽ˜νƒˆ μ• λ‹ˆλ©”μ΄μ…˜ -->
105
+ <div id="petals-container"></div>
106
+
107
+ <!-- 메인 μ»¨ν…Œμ΄λ„ˆ -->
108
+ <div class="max-w-md mx-auto px-4 py-8 relative z-10">
109
+ <!-- 헀더 -->
110
+ <div class="text-center mb-12">
111
+ <div class="text-sm gold-text font-medium mb-2">WEDDING INVITATION</div>
112
+ <h1 class="title-font text-4xl font-bold mb-4 text-rose-800">유근빈 & μ „μ°¬μš°</h1>
113
+ <div class="flex justify-center items-center">
114
+ <div class="w-16 h-px bg-rose-300"></div>
115
+ <div class="mx-4 text-rose-500 heart-animation"><i class="fas fa-heart"></i></div>
116
+ <div class="w-16 h-px bg-rose-300"></div>
117
+ </div>
118
+ <p class="mt-4 text-sm">2025λ…„ 4μ›” 16일 μ˜€ν›„ 1μ‹œ 30λΆ„</p>
119
+ <p class="text-sm">κ·Έλžœλ“œ 힐튼 ν˜Έν…” 3μΈ΅ ν¬λ¦¬μŠ€νƒˆ λ³Όλ£Έ</p>
120
+ </div>
121
+
122
+ <!-- 메인 이미지 -->
123
+ <div class="relative mb-12 rounded-xl overflow-hidden shadow-lg">
124
+ <div class="absolute inset-0 bg-gradient-to-t from-black/50 to-transparent z-10"></div>
125
+ <img src="https://images.unsplash.com/photo-1519225421980-715cb0215aed?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="μ»€ν”Œ 사진" class="w-full h-80 object-cover">
126
+ <div class="absolute bottom-0 left-0 right-0 p-6 z-20 text-white text-center">
127
+ <p class="text-sm mb-1">μ„œλ‘œλ₯Ό λ§Œλ‚œ μ§€ 1,825일째</p>
128
+ <h2 class="title-font text-2xl font-bold">우리의 μ‚¬λž‘μ΄ κ½ƒν”ΌλŠ” λ‚ </h2>
129
+ </div>
130
+ </div>
131
+
132
+ <!-- 인사말 -->
133
+ <div class="envelope p-8 mb-12">
134
+ <h3 class="title-font text-xl font-bold mb-6 text-center text-rose-700">μ΄ˆλŒ€μ˜ 말씀</h3>
135
+ <div class="text-sm leading-relaxed text-center">
136
+ <p class="mb-4">μ‚¬λž‘ν•˜λŠ” κ°€μ‘±κ³Ό 친ꡬ μ—¬λŸ¬λΆ„</p>
137
+ <p class="mb-4">저희 두 μ‚¬λžŒμ΄ μ„œλ‘œμ˜ λ§ˆμŒμ„ ν™•μΈν•˜κ³ <br>ν•¨κ»˜ 인생을 κ±Έμ–΄κ°€κΈ°λ‘œ κ²°μ‹¬ν–ˆμŠ΅λ‹ˆλ‹€.</p>
138
+ <p class="mb-4">였랜 μ‹œκ°„ 저희λ₯Ό μ•„κ»΄μ£Όμ‹œκ³  μ‚¬λž‘ν•΄μ£Όμ‹  μ—¬λŸ¬λΆ„κ»˜<br>이 μ†Œμ€‘ν•œ 자리λ₯Ό ν•¨κ»˜ ν•˜μ‹œμ–΄<br>μ €ν¬μ˜ μƒˆλ‘œμš΄ μΆœλ°œμ„ 좕볡해 μ£Όμ‹œλ©΄ κ°μ‚¬ν•˜κ² μŠ΅λ‹ˆλ‹€.</p>
139
+ <p>유근빈 Β· μ „μ°¬μš° λ“œλ¦Ό</p>
140
+ </div>
141
+ </div>
142
+
143
+ <!-- κ²°ν˜Όμ‹ 정보 -->
144
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-12">
145
+ <div class="envelope p-6 text-center">
146
+ <div class="text-rose-600 mb-3"><i class="fas fa-calendar-alt text-2xl"></i></div>
147
+ <h4 class="title-font font-bold mb-2">λ‚ μ§œμ™€ μ‹œκ°„</h4>
148
+ <p class="text-sm">2025λ…„ 4μ›” 16일</p>
149
+ <p class="text-sm">μ˜€ν›„ 1μ‹œ 30λΆ„</p>
150
+ </div>
151
+
152
+ <div class="envelope p-6 text-center">
153
+ <div class="text-rose-600 mb-3"><i class="fas fa-map-marker-alt text-2xl"></i></div>
154
+ <h4 class="title-font font-bold mb-2">μž₯μ†Œ</h4>
155
+ <p class="text-sm">κ·Έλžœλ“œ 힐튼 ν˜Έν…”</p>
156
+ <p class="text-sm">3μΈ΅ ν¬λ¦¬μŠ€νƒˆ λ³Όλ£Έ</p>
157
+ <button onclick="openMap()" class="mt-2 text-xs text-rose-500 underline">지도 보기</button>
158
+ </div>
159
+ </div>
160
+
161
+ <!-- 가러리 -->
162
+ <div class="mb-12">
163
+ <h3 class="title-font text-xl font-bold mb-6 text-center text-rose-700">우리의 μΆ”μ–΅</h3>
164
+ <div class="grid grid-cols-3 gap-2">
165
+ <div class="rounded-lg overflow-hidden h-24 bg-rose-100 flex items-center justify-center">
166
+ <i class="fas fa-image text-rose-300 text-xl"></i>
167
+ </div>
168
+ <div class="rounded-lg overflow-hidden h-24 bg-amber-100 flex items-center justify-center">
169
+ <i class="fas fa-image text-amber-300 text-xl"></i>
170
+ </div>
171
+ <div class="rounded-lg overflow-hidden h-24 bg-sky-100 flex items-center justify-center">
172
+ <i class="fas fa-image text-sky-300 text-xl"></i>
173
+ </div>
174
+ <div class="rounded-lg overflow-hidden h-24 bg-emerald-100 flex items-center justify-center">
175
+ <i class="fas fa-image text-emerald-300 text-xl"></i>
176
+ </div>
177
+ <div class="rounded-lg overflow-hidden h-24 bg-violet-100 flex items-center justify-center">
178
+ <i class="fas fa-image text-violet-300 text-xl"></i>
179
+ </div>
180
+ <div class="rounded-lg overflow-hidden h-24 bg-pink-100 flex items-center justify-center">
181
+ <i class="fas fa-image text-pink-300 text-xl"></i>
182
+ </div>
183
+ </div>
184
+ </div>
185
+
186
+ <!-- 참석 μ˜μ‚¬ -->
187
+ <div class="envelope p-8 mb-12">
188
+ <h3 class="title-font text-xl font-bold mb-6 text-center text-rose-700">참석 μ˜μ‚¬ 전달</h3>
189
+ <div class="flex justify-center space-x-4">
190
+ <button onclick="rsvp(true)" class="px-6 py-2 bg-rose-600 text-white rounded-full text-sm hover:bg-rose-700 transition">μ°Έμ„ν•©λ‹ˆλ‹€</button>
191
+ <button onclick="rsvp(false)" class="px-6 py-2 bg-gray-300 text-gray-700 rounded-full text-sm hover:bg-gray-400 transition">λΆˆμ°Έν•©λ‹ˆλ‹€</button>
192
+ </div>
193
+ </div>
194
+
195
+ <!-- μΆ•ν•˜ λ©”μ‹œμ§€ -->
196
+ <div class="envelope p-8 mb-12">
197
+ <h3 class="title-font text-xl font-bold mb-6 text-center text-rose-700">μΆ•ν•˜ λ©”μ‹œμ§€</h3>
198
+ <textarea class="w-full p-3 border border-rose-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-rose-300 mb-4" rows="3" placeholder="μ‹ λž‘ μ‹ λΆ€μ—κ²Œ μΆ•ν•˜μ˜ 말을 λ‚¨κ²¨μ£Όμ„Έμš”"></textarea>
199
+ <button class="w-full py-2 bg-rose-600 text-white rounded-lg text-sm hover:bg-rose-700 transition">λ©”μ‹œμ§€ 보내기</button>
200
+ </div>
201
+
202
+ <!-- 마무리 -->
203
+ <div class="text-center mb-12">
204
+ <div class="floating inline-block mb-6">
205
+ <img src="https://cdn-icons-png.flaticon.com/512/7437/7437891.png" alt="웨딩 벨" class="w-16 h-16">
206
+ </div>
207
+ <h3 class="title-font text-2xl font-bold mb-4 gold-text">ν•¨κ»˜ν•΄ μ£Όμ…”μ„œ κ°μ‚¬ν•©λ‹ˆλ‹€</h3>
208
+ <p class="text-sm">μ—¬λŸ¬λΆ„μ˜ λ”°λœ»ν•œ 좕볡이<br>μ €ν¬μ˜ μ•žλ‚ μ„ λ”μš± λΉ›λ‚˜κ²Œ ν•  κ²ƒμž…λ‹ˆλ‹€.</p>
209
+ </div>
210
+ </div>
211
+
212
+ <!-- ν”Œλ‘œνŒ… λ²„νŠΌ -->
213
+ <div class="fixed bottom-6 right-6 z-20">
214
+ <button onclick="playMusic()" class="w-12 h-12 rounded-full bg-rose-600 text-white shadow-lg flex items-center justify-center hover:bg-rose-700 transition">
215
+ <i id="music-icon" class="fas fa-music"></i>
216
+ </button>
217
+ </div>
218
+
219
+ <script>
220
+ // νŽ˜νƒˆ μ• λ‹ˆλ©”μ΄μ…˜ 생성
221
+ function createPetals() {
222
+ const container = document.getElementById('petals-container');
223
+ const petalCount = 15;
224
+
225
+ for (let i = 0; i < petalCount; i++) {
226
+ const petal = document.createElement('div');
227
+ petal.className = 'petal';
228
+
229
+ // λžœλ€ν•œ νŽ˜νƒˆ 이미지 선택 (μ‹€μ œ κ΅¬ν˜„μ—μ„œλŠ” 이미지 URL둜 λ³€κ²½)
230
+ const petalTypes = ['🌸', '🌹', '🌺', '🌻', '🌼', '🏡️'];
231
+ const randomPetal = petalTypes[Math.floor(Math.random() * petalTypes.length)];
232
+ petal.textContent = randomPetal;
233
+
234
+ // 랜덀 μœ„μΉ˜ 및 μ• λ‹ˆλ©”μ΄μ…˜ μ„€μ •
235
+ const size = Math.random() * 20 + 10;
236
+ petal.style.fontSize = `${size}px`;
237
+ petal.style.left = `${Math.random() * 100}vw`;
238
+ petal.style.top = `-${size}px`;
239
+ petal.style.setProperty('--random-x', Math.random() * 20 - 10);
240
+ petal.style.animationDuration = `${Math.random() * 5 + 5}s`;
241
+ petal.style.animationDelay = `${Math.random() * 5}s`;
242
+
243
+ container.appendChild(petal);
244
+ }
245
+ }
246
+
247
+ // 지도 μ—΄κΈ°
248
+ function openMap() {
249
+ alert("지도 앱이 μ—΄λ¦½λ‹ˆλ‹€. κ·Έλžœλ“œ 힐튼 ν˜Έν…” μœ„μΉ˜λ₯Ό ν‘œμ‹œν•©λ‹ˆλ‹€.");
250
+ // μ‹€μ œ κ΅¬ν˜„μ—μ„œλŠ” window.location.href = "지도링크"; 둜 λ³€κ²½
251
+ }
252
+
253
+ // 참석 μ˜μ‚¬ 처리
254
+ function rsvp(attending) {
255
+ if (attending) {
256
+ alert("참석 μ˜μ‚¬λ₯Ό μ•Œλ €μ£Όμ…”μ„œ κ°μ‚¬ν•©λ‹ˆλ‹€! 기쁜 마음으둜 κΈ°λ‹€λ¦¬κ² μŠ΅λ‹ˆλ‹€.");
257
+ } else {
258
+ alert("μ•„μ‰½μ§€λ§Œ λ‹€μŒμ— κΌ­ 롐 수 있기λ₯Ό λ°”λžλ‹ˆλ‹€. κ°μ‚¬ν•©λ‹ˆλ‹€.");
259
+ }
260
+ }
261
+
262
+ // μŒμ•… μž¬μƒ
263
+ let isPlaying = false;
264
+ function playMusic() {
265
+ isPlaying = !isPlaying;
266
+ const icon = document.getElementById('music-icon');
267
+
268
+ if (isPlaying) {
269
+ icon.classList.remove('fa-music');
270
+ icon.classList.add('fa-pause');
271
+ alert("웨딩 μŒμ•…μ΄ μž¬μƒλ©λ‹ˆλ‹€. (μ‹€μ œ κ΅¬ν˜„μ—μ„œλŠ” μ˜€λ””μ˜€ μž¬μƒ μ½”λ“œλ‘œ λ³€κ²½)");
272
+ } else {
273
+ icon.classList.remove('fa-pause');
274
+ icon.classList.add('fa-music');
275
+ alert("μŒμ•…μ΄ μ •μ§€λ˜μ—ˆμŠ΅λ‹ˆλ‹€.");
276
+ }
277
+ }
278
+
279
+ // νŽ˜μ΄μ§€ λ‘œλ“œ μ‹œ νŽ˜νƒˆ 생성
280
+ window.onload = function() {
281
+ createPetals();
282
+
283
+ // 3초 후에 μžλ™μœΌλ‘œ νŽ˜νƒˆ μΆ”κ°€ 생성
284
+ setTimeout(() => {
285
+ createPetals();
286
+ }, 3000);
287
+ };
288
+ </script>
289
+ <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=dmae/wedding" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
290
+ </html>