maralvic commited on
Commit
095a368
·
verified ·
1 Parent(s): 0a9b60e

Alterar a imagem da Photo Frame para: https://huggingface.co/spaces/maralvic/pics/resolve/main/Imagem%20do%20WhatsApp%20de%202025-06-12%20%C3%A0(s)%2017.05.24_34828e3c.jpg - Initial Deployment

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +244 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Sga
3
- emoji: 📉
4
- colorFrom: red
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: sga
3
+ emoji: 🐳
4
+ colorFrom: green
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,244 @@
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="pt-br">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Para Minha Supergirl - Alessandra</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link href="https://fonts.googleapis.com/css2?family=Playball&family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <style>
11
+ .heartbeat {
12
+ animation: heartbeat 1.5s ease-in-out infinite both;
13
+ }
14
+ @keyframes heartbeat {
15
+ 0% { transform: scale(1); }
16
+ 14% { transform: scale(1.1); }
17
+ 28% { transform: scale(1); }
18
+ 42% { transform: scale(1.1); }
19
+ 70% { transform: scale(1); }
20
+ }
21
+ .text-shadow {
22
+ text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
23
+ }
24
+ .letter {
25
+ transition: all 0.3s ease;
26
+ }
27
+ .letter:hover {
28
+ transform: scale(1.2);
29
+ color: #f43f5e;
30
+ }
31
+ .cursive {
32
+ font-family: 'Playball', cursive;
33
+ }
34
+ body {
35
+ font-family: 'Poppins', sans-serif;
36
+ }
37
+ .love-word {
38
+ background: linear-gradient(45deg, #ec4899, #f43f5e);
39
+ -webkit-background-clip: text;
40
+ background-clip: text;
41
+ color: transparent;
42
+ display: inline-block;
43
+ }
44
+ .heart-shape {
45
+ width: 300px;
46
+ height: 300px;
47
+ position: relative;
48
+ transform: rotate(-45deg);
49
+ }
50
+ </style>
51
+ </head>
52
+ <body class="min-h-screen" style="background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%); background-size: cover; background-position: center; background-attachment: fixed;">
53
+ <div class="container mx-auto px-4 py-8 max-w-4xl backdrop-blur-sm bg-white/70 rounded-lg my-8">
54
+ <!-- Header with Hearts -->
55
+ <div class="text-center mb-8">
56
+ <div class="flex justify-center space-x-6 mb-4">
57
+ <i data-feather="heart" class="w-12 h-12 text-red-500 heartbeat"></i>
58
+ <i data-feather="heart" class="w-16 h-16 text-pink-500 heartbeat" style="animation-delay: 0.2s;"></i>
59
+ <i data-feather="heart" class="w-12 h-12 text-red-500 heartbeat" style="animation-delay: 0.4s;"></i>
60
+ </div>
61
+ <h1 class="text-4xl md:text-5xl font-bold cursive love-word text-shadow">Para Minha Supergirl</h1>
62
+ <p class="text-xl text-gray-600 cursive">Alessandra ❤</p>
63
+ </div>
64
+
65
+ <!-- Photo Frame -->
66
+ <div class="flex justify-center mb-12">
67
+ <div class="relative group">
68
+ <div class="absolute -inset-2 bg-gradient-to-r from-pink-500 to-red-500 rounded-lg blur opacity-75 group-hover:opacity-100 transition duration-300"></div>
69
+ <div class="relative bg-white rounded-lg overflow-hidden shadow-xl w-64 h-64 flex items-center justify-center">
70
+ <div id="couplePhoto" class="w-full h-full bg-center bg-cover" style="background-image: url('https://huggingface.co/spaces/maralvic/pics/resolve/main/Imagem%20do%20WhatsApp%20de%202025-06-12%20%C3%A0(s)%2017.05.24_34828e3c.jpg')"></div>
71
+ </div>
72
+ <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/60 to-transparent p-4">
73
+ </div>
74
+ </div>
75
+ </div>
76
+
77
+ <!-- Anagram Letters -->
78
+ <div class="bg-white rounded-xl shadow-lg p-6 mb-8">
79
+ <h2 class="text-2xl font-bold text-center mb-6 text-red-600 cursive">Deixa eu dizer o quanto eu te amo:</h2>
80
+ <div id="anagramLetters" class="flex flex-wrap justify-center gap-2 mb-6">
81
+ <!-- Letters will be added here by JavaScript -->
82
+ </div>
83
+ <button id="revealBtn" class="w-full bg-gradient-to-r from-pink-500 to-red-500 text-white py-3 px-6 rounded-lg font-bold transition hover:from-pink-600 hover:to-red-600 focus:outline-none focus:ring-2 focus:ring-pink-400 focus:ring-opacity-50">
84
+ Revelar Mensagem
85
+ </button>
86
+ </div>
87
+
88
+ <!-- Hidden Message -->
89
+ <div id="hiddenMessage" class="hidden bg-white rounded-xl shadow-lg p-6 mb-8">
90
+ <div class="space-y-6">
91
+ <p class="text-lg text-gray-800 leading-relaxed"><span class="font-bold text-pink-600">S</span>ou grato por insistir em nós e acreditar na nossa união,</p>
92
+ <p class="text-lg text-gray-800 leading-relaxed"><span class="font-bold text-pink-600">U</span>m agradecimento especial por estar perto de mim, mesmo nos momentos em que eu mesmo não estava,</p>
93
+ <p class="text-lg text-gray-800 leading-relaxed"><span class="font-bold text-pink-600">P</span>or suportar minhas crises e iluminar o meu caminho com sua luz,</p>
94
+ <p class="text-lg text-gray-800 leading-relaxed"><span class="font-bold text-pink-600">E</span>u sou feliz por você ter aparecido na minha vida quando menos esperava,</p>
95
+ <p class="text-lg text-gray-800 leading-relaxed"><span class="font-bold text-pink-600">R</span>econheço o quanto você derrubou obstáculos e chegou onde está,</p>
96
+ <p class="text-lg text-gray-800 leading-relaxed"><span class="font-bold text-pink-600">G</span>rato por mostrar que tem atitude e, mesmo na tempestade, acreditou que um sol te esperava,</p>
97
+ <p class="text-lg text-gray-800 leading-relaxed"><span class="font-bold text-pink-600">I</span>ncrível como você faz eu sentir de novo o que eu já não me importava mais... você me faz tão bem,</p>
98
+ <p class="text-lg text-gray-800 leading-relaxed"><span class="font-bold text-pink-600">R</span>ealmente te amo cada dia mais, desde o primeiro beijo na melhor viagem das nossas vidas,</p>
99
+ <p class="text-lg text-gray-800 leading-relaxed"><span class="font-bold text-pink-600">L</span>embre-se sempre: você é minha supergirl, minha força, meu amor, minha alegria!</p>
100
+ </div>
101
+ <div class="mt-8 text-center">
102
+ <div class="inline-block border-t-2 border-pink-200 pt-4">
103
+ <p class="text-xl cursive text-pink-600">Com todo meu amor,</p>
104
+ <p class="text-2xl font-bold cursive text-red-600">Marcelo ❤</p>
105
+ </div>
106
+ </div>
107
+ </div>
108
+
109
+ <!-- Interactive Hearts -->
110
+ <div class="text-center mt-12 relative h-32">
111
+ <button id="heartButton" class="bg-red-500 text-white p-4 rounded-full shadow-lg hover:bg-red-600 transition duration-300 focus:outline-none focus:ring-2 focus:ring-red-400 focus:ring-opacity-50">
112
+ <i data-feather="heart" class="w-10 h-10"></i>
113
+ <span class="sr-only">Enviar Coração</span>
114
+ </button>
115
+ <p class="text-gray-600 mt-2">Depois de ler, toque para receber muito mais amor!</p>
116
+ <div id="heartsContainer" class="absolute inset-0 pointer-events-none overflow-hidden"></div>
117
+ </div>
118
+ </div>
119
+
120
+ <script>
121
+ document.addEventListener('DOMContentLoaded', function() {
122
+ feather.replace();
123
+
124
+ // Anagram letters
125
+ const message = "GRATO POR VOCÊ - MINHA SUPER GIRL ALESSANDRA ❤";
126
+ const letters = message.split('');
127
+ const anagramLetters = document.getElementById('anagramLetters');
128
+ const shuffledLetters = [...letters].sort(() => Math.random() - 0.5);
129
+
130
+ shuffledLetters.forEach((letter, index) => {
131
+ const letterElement = document.createElement('span');
132
+ letterElement.textContent = letter;
133
+ letterElement.className = 'text-3xl letter cursor-pointer';
134
+ letterElement.style.transitionDelay = `${index * 0.02}s`;
135
+ anagramLetters.appendChild(letterElement);
136
+ });
137
+
138
+ // Reveal message
139
+ const revealBtn = document.getElementById('revealBtn');
140
+ const hiddenMessage = document.getElementById('hiddenMessage');
141
+
142
+ revealBtn.addEventListener('click', function() {
143
+ hiddenMessage.classList.remove('hidden');
144
+ revealBtn.classList.add('hidden');
145
+
146
+ // Animate the letters
147
+ const letters = document.querySelectorAll('.letter');
148
+ letters.forEach((letter, index) => {
149
+ setTimeout(() => {
150
+ letter.style.transform = 'translateY(-20px)';
151
+ letter.style.opacity = '0';
152
+ }, index * 20);
153
+ });
154
+
155
+ setTimeout(() => {
156
+ anagramLetters.classList.add('hidden');
157
+ }, letters.length * 20 + 200);
158
+ });
159
+
160
+ // Floating hearts effect
161
+ const heartButton = document.getElementById('heartButton');
162
+ const heartsContainer = document.getElementById('heartsContainer');
163
+
164
+ let isHeartsActive = false;
165
+ let heartInterval;
166
+
167
+ heartButton.addEventListener('click', function() {
168
+ // Create explosion effect
169
+ for (let i = 0; i < 50; i++) {
170
+ createHeart(true);
171
+ }
172
+
173
+ // Show circular photo popup with text
174
+ const heartFrame = document.createElement('div');
175
+ heartFrame.className = 'fixed inset-0 flex items-center justify-center z-50 bg-black bg-opacity-75';
176
+ heartFrame.innerHTML = `
177
+ <div class="relative flex items-center justify-center" style="width: 80%; max-width: 600px;">
178
+ <div class="relative w-full aspect-square rounded-full overflow-hidden shadow-2xl border-8 border-pink-200">
179
+ <img src="https://huggingface.co/spaces/maralvic/pics/resolve/main/Imagem%20do%20WhatsApp%20de%202025-06-12%20%C3%A0(s)%2018.05.06_52cb0651.jpg"
180
+ alt="Special Photo"
181
+ class="w-full h-full object-cover">
182
+ <div class="absolute inset-0 bg-black/30 flex items-center justify-center flex-col">
183
+ <div class="text-center px-8">
184
+ <h2 class="text-4xl md:text-5xl font-bold cursive text-white drop-shadow-lg mb-4">
185
+ O quanto eu te amo...
186
+ </h2>
187
+ <p class="text-xl text-white/90 cursive">... é pouco pelo que eu ainda vou te amar ❤</p>
188
+ </div>
189
+ </div>
190
+ </div>
191
+ <button class="absolute top-4 right-4 bg-white rounded-full p-2 shadow-md hover:bg-gray-100 transition">
192
+ <i data-feather="x" class="w-6 h-6 text-pink-600"></i>
193
+ </button>
194
+ </div>
195
+ `;
196
+ document.body.appendChild(heartFrame);
197
+ feather.replace();
198
+
199
+ // Close button functionality
200
+ heartFrame.querySelector('button').addEventListener('click', () => {
201
+ heartFrame.remove();
202
+ });
203
+ });
204
+
205
+ function createHeart(explosion = false) {
206
+ const heart = document.createElement('div');
207
+ const heartColors = ['text-red-500', 'text-pink-500', 'text-rose-500', 'text-fuchsia-500'];
208
+ const randomColor = heartColors[Math.floor(Math.random() * heartColors.length)];
209
+ heart.innerHTML = `<i data-feather="heart" class="w-8 h-8 ${randomColor}"></i>`;
210
+ feather.replace();
211
+
212
+ const size = Math.random() * 40 + 20;
213
+ const startX = Math.random() * window.innerWidth;
214
+ const startY = window.innerHeight + 50;
215
+ const endY = -150;
216
+ const animationDuration = Math.random() * 8 + 3;
217
+ const opacity = Math.random() * 0.7 + 0.3;
218
+
219
+ heart.style.position = 'absolute';
220
+ heart.style.left = startX + 'px';
221
+ heart.style.top = startY + 'px';
222
+ heart.style.width = size + 'px';
223
+ heart.style.height = size + 'px';
224
+ heart.style.opacity = opacity;
225
+ heart.style.transform = `translateY(0) scale(${Math.random() * 0.5 + 0.5}) rotate(${Math.random() * 360}deg)`;
226
+ heart.style.transition = `all ${animationDuration}s linear`;
227
+ heart.style.pointerEvents = 'none';
228
+
229
+ heartsContainer.appendChild(heart);
230
+
231
+ setTimeout(() => {
232
+ heart.style.transform = `translateY(${endY}px) scale(${Math.random() * 0.5 + 0.5}) rotate(${Math.random() * 360}deg)`;
233
+ }, 10);
234
+
235
+ // Remove heart after animation completes
236
+ setTimeout(() => {
237
+ heart.remove();
238
+ }, animationDuration * 1000);
239
+ }
240
+
241
+ });
242
+ </script>
243
+ <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=maralvic/sga" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
244
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Alterar a imagem da Photo Frame para: https://huggingface.co/spaces/maralvic/pics/resolve/main/Imagem%20do%20WhatsApp%20de%202025-06-12%20%C3%A0(s)%2017.05.24_34828e3c.jpg