Spaces:
Running
Running
Add 2 files
Browse files- README.md +7 -5
- index.html +185 -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: wsdomsaura-0
|
3 |
+
emoji: π³
|
4 |
+
colorFrom: gray
|
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,185 @@
|
|
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>Interactive Greeting</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 |
+
@keyframes float {
|
11 |
+
0%, 100% { transform: translateY(0); }
|
12 |
+
50% { transform: translateY(-20px); }
|
13 |
+
}
|
14 |
+
.floating {
|
15 |
+
animation: float 3s ease-in-out infinite;
|
16 |
+
}
|
17 |
+
.gradient-text {
|
18 |
+
background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899);
|
19 |
+
-webkit-background-clip: text;
|
20 |
+
background-clip: text;
|
21 |
+
color: transparent;
|
22 |
+
}
|
23 |
+
.pulse {
|
24 |
+
animation: pulse 2s infinite;
|
25 |
+
}
|
26 |
+
@keyframes pulse {
|
27 |
+
0% { transform: scale(1); }
|
28 |
+
50% { transform: scale(1.05); }
|
29 |
+
100% { transform: scale(1); }
|
30 |
+
}
|
31 |
+
</style>
|
32 |
+
</head>
|
33 |
+
<body class="bg-gradient-to-br from-blue-50 to-purple-50 min-h-screen flex flex-col items-center justify-center p-4">
|
34 |
+
<div class="max-w-2xl w-full bg-white rounded-2xl shadow-xl overflow-hidden transition-all duration-500 transform hover:scale-[1.02]">
|
35 |
+
<div class="bg-gradient-to-r from-blue-500 to-purple-600 p-6 text-white">
|
36 |
+
<div class="flex items-center space-x-4">
|
37 |
+
<div class="floating">
|
38 |
+
<div class="w-16 h-16 rounded-full bg-white/20 flex items-center justify-center">
|
39 |
+
<i class="fas fa-smile-beam text-3xl text-white"></i>
|
40 |
+
</div>
|
41 |
+
</div>
|
42 |
+
<div>
|
43 |
+
<h1 class="text-3xl font-bold">Hello There!</h1>
|
44 |
+
<p class="opacity-90">How are you today?</p>
|
45 |
+
</div>
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
|
49 |
+
<div class="p-8">
|
50 |
+
<div class="mb-8">
|
51 |
+
<p class="text-gray-700 mb-6 text-lg">
|
52 |
+
I'm doing <span class="gradient-text font-bold">wonderfully</span> today!
|
53 |
+
The sun is shining (at least in my digital world βοΈ) and I'm excited to create something amazing with you.
|
54 |
+
</p>
|
55 |
+
|
56 |
+
<div class="bg-blue-50 rounded-lg p-4 mb-6 border-l-4 border-blue-500">
|
57 |
+
<p class="text-blue-800">
|
58 |
+
<i class="fas fa-lightbulb text-blue-500 mr-2"></i>
|
59 |
+
Did you know? This greeting is powered by pure HTML, CSS, and JavaScript!
|
60 |
+
</p>
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
+
|
64 |
+
<div class="mb-8">
|
65 |
+
<h2 class="text-xl font-semibold text-gray-800 mb-4">How about you?</h2>
|
66 |
+
<div class="grid grid-cols-2 md:grid-cols-4 gap-3">
|
67 |
+
<button onclick="selectMood('happy')" class="mood-btn bg-green-100 hover:bg-green-200 border-green-300">
|
68 |
+
<i class="fas fa-laugh-beam text-green-500"></i> Happy
|
69 |
+
</button>
|
70 |
+
<button onclick="selectMood('good')" class="mood-btn bg-blue-100 hover:bg-blue-200 border-blue-300">
|
71 |
+
<i class="fas fa-smile text-blue-500"></i> Good
|
72 |
+
</button>
|
73 |
+
<button onclick="selectMood('okay')" class="mood-btn bg-yellow-100 hover:bg-yellow-200 border-yellow-300">
|
74 |
+
<i class="fas fa-meh text-yellow-500"></i> Okay
|
75 |
+
</button>
|
76 |
+
<button onclick="selectMood('sad')" class="mood-btn bg-purple-100 hover:bg-purple-200 border-purple-300">
|
77 |
+
<i class="fas fa-sad-tear text-purple-500"></i> Sad
|
78 |
+
</button>
|
79 |
+
</div>
|
80 |
+
</div>
|
81 |
+
|
82 |
+
<div id="response-area" class="hidden pulse bg-gradient-to-r from-blue-50 to-purple-50 rounded-lg p-4 border border-gray-200">
|
83 |
+
<div class="flex items-start">
|
84 |
+
<div class="mr-3 text-blue-500">
|
85 |
+
<i class="fas fa-comment-dots text-2xl"></i>
|
86 |
+
</div>
|
87 |
+
<div>
|
88 |
+
<p id="response-text" class="text-gray-700"></p>
|
89 |
+
</div>
|
90 |
+
</div>
|
91 |
+
</div>
|
92 |
+
|
93 |
+
<div class="mt-8 pt-6 border-t border-gray-200 flex justify-between items-center">
|
94 |
+
<div class="text-sm text-gray-500">
|
95 |
+
<i class="fas fa-clock mr-1"></i> <span id="current-time"></span>
|
96 |
+
</div>
|
97 |
+
<button onclick="showConfetti()" class="px-4 py-2 bg-gradient-to-r from-pink-500 to-orange-500 text-white rounded-full hover:shadow-lg transition-all flex items-center">
|
98 |
+
<i class="fas fa-sparkles mr-2"></i> Celebrate!
|
99 |
+
</button>
|
100 |
+
</div>
|
101 |
+
</div>
|
102 |
+
</div>
|
103 |
+
|
104 |
+
<div id="confetti-container" class="fixed inset-0 pointer-events-none overflow-hidden hidden"></div>
|
105 |
+
|
106 |
+
<script>
|
107 |
+
// Update current time
|
108 |
+
function updateTime() {
|
109 |
+
const now = new Date();
|
110 |
+
document.getElementById('current-time').textContent = now.toLocaleTimeString();
|
111 |
+
}
|
112 |
+
setInterval(updateTime, 1000);
|
113 |
+
updateTime();
|
114 |
+
|
115 |
+
// Mood selection
|
116 |
+
function selectMood(mood) {
|
117 |
+
const responseArea = document.getElementById('response-area');
|
118 |
+
const responseText = document.getElementById('response-text');
|
119 |
+
|
120 |
+
const responses = {
|
121 |
+
happy: "That's fantastic! π Your happiness is contagious. Let's make today even better!",
|
122 |
+
good: "Great to hear you're doing well! π Ready to create something amazing together?",
|
123 |
+
okay: "That's okay! Every day has its ups and downs. Let's make this one better together.",
|
124 |
+
sad: "I'm sorry to hear that. π Remember, even cloudy days make the sunshine brighter when it returns."
|
125 |
+
};
|
126 |
+
|
127 |
+
responseText.textContent = responses[mood];
|
128 |
+
responseArea.classList.remove('hidden');
|
129 |
+
|
130 |
+
// Add floating animation to response
|
131 |
+
responseArea.classList.add('animate__animated', 'animate__fadeInUp');
|
132 |
+
}
|
133 |
+
|
134 |
+
// Confetti effect
|
135 |
+
function showConfetti() {
|
136 |
+
const container = document.getElementById('confetti-container');
|
137 |
+
container.classList.remove('hidden');
|
138 |
+
|
139 |
+
// Create confetti elements
|
140 |
+
for (let i = 0; i < 100; i++) {
|
141 |
+
const confetti = document.createElement('div');
|
142 |
+
confetti.className = 'absolute w-2 h-2 rounded-full';
|
143 |
+
|
144 |
+
// Random colors
|
145 |
+
const colors = ['bg-red-500', 'bg-yellow-500', 'bg-green-500', 'bg-blue-500', 'bg-purple-500', 'bg-pink-500'];
|
146 |
+
const randomColor = colors[Math.floor(Math.random() * colors.length)];
|
147 |
+
confetti.classList.add(randomColor);
|
148 |
+
|
149 |
+
// Random position
|
150 |
+
confetti.style.left = Math.random() * 100 + 'vw';
|
151 |
+
confetti.style.top = '-10px';
|
152 |
+
|
153 |
+
// Random animation
|
154 |
+
const animationDuration = Math.random() * 3 + 2;
|
155 |
+
confetti.style.animation = `fall ${animationDuration}s linear forwards`;
|
156 |
+
|
157 |
+
container.appendChild(confetti);
|
158 |
+
|
159 |
+
// Remove confetti after animation
|
160 |
+
setTimeout(() => {
|
161 |
+
confetti.remove();
|
162 |
+
}, animationDuration * 1000);
|
163 |
+
}
|
164 |
+
|
165 |
+
// Hide container after animation
|
166 |
+
setTimeout(() => {
|
167 |
+
container.classList.add('hidden');
|
168 |
+
container.innerHTML = '';
|
169 |
+
}, 3000);
|
170 |
+
|
171 |
+
// Add CSS for falling animation
|
172 |
+
const style = document.createElement('style');
|
173 |
+
style.innerHTML = `
|
174 |
+
@keyframes fall {
|
175 |
+
to {
|
176 |
+
transform: translateY(100vh) rotate(360deg);
|
177 |
+
opacity: 0;
|
178 |
+
}
|
179 |
+
}
|
180 |
+
`;
|
181 |
+
document.head.appendChild(style);
|
182 |
+
}
|
183 |
+
</script>
|
184 |
+
<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=3rd3y3/wsdomsaura-0" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
185 |
+
</html>
|