Add 2 files
Browse files- README.md +6 -4
- index.html +347 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: red
|
| 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: d
|
| 3 |
+
emoji: 🐳
|
| 4 |
colorFrom: red
|
| 5 |
+
colorTo: yellow
|
| 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,347 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>Modern Testimonial with Continuous Lighting Effects</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 |
+
.testimonial-card {
|
| 11 |
+
position: relative;
|
| 12 |
+
overflow: hidden;
|
| 13 |
+
transition: all 0.3s ease;
|
| 14 |
+
isolation: isolate;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
.light-effect {
|
| 18 |
+
position: absolute;
|
| 19 |
+
border-radius: 50%;
|
| 20 |
+
filter: blur(60px);
|
| 21 |
+
opacity: 0;
|
| 22 |
+
z-index: -1;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
.light-1 {
|
| 26 |
+
width: 250px;
|
| 27 |
+
height: 250px;
|
| 28 |
+
top: -50px;
|
| 29 |
+
left: -50px;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.light-2 {
|
| 33 |
+
width: 200px;
|
| 34 |
+
height: 200px;
|
| 35 |
+
bottom: -30px;
|
| 36 |
+
right: -30px;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
.light-3 {
|
| 40 |
+
width: 180px;
|
| 41 |
+
height: 180px;
|
| 42 |
+
top: 50%;
|
| 43 |
+
left: 70%;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.light-4 {
|
| 47 |
+
width: 220px;
|
| 48 |
+
height: 220px;
|
| 49 |
+
bottom: 20%;
|
| 50 |
+
left: 10%;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
@keyframes float-1 {
|
| 54 |
+
0% {
|
| 55 |
+
transform: translate(0, 0);
|
| 56 |
+
opacity: 0.6;
|
| 57 |
+
}
|
| 58 |
+
25% {
|
| 59 |
+
transform: translate(20px, 20px);
|
| 60 |
+
opacity: 0.8;
|
| 61 |
+
}
|
| 62 |
+
50% {
|
| 63 |
+
transform: translate(0, 40px);
|
| 64 |
+
opacity: 1;
|
| 65 |
+
}
|
| 66 |
+
75% {
|
| 67 |
+
transform: translate(-20px, 20px);
|
| 68 |
+
opacity: 0.8;
|
| 69 |
+
}
|
| 70 |
+
100% {
|
| 71 |
+
transform: translate(0, 0);
|
| 72 |
+
opacity: 0.6;
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
@keyframes float-2 {
|
| 77 |
+
0% {
|
| 78 |
+
transform: translate(0, 0) rotate(0deg);
|
| 79 |
+
opacity: 0.6;
|
| 80 |
+
}
|
| 81 |
+
25% {
|
| 82 |
+
transform: translate(-30px, 10px) rotate(10deg);
|
| 83 |
+
opacity: 0.8;
|
| 84 |
+
}
|
| 85 |
+
50% {
|
| 86 |
+
transform: translate(-20px, 30px) rotate(20deg);
|
| 87 |
+
opacity: 1;
|
| 88 |
+
}
|
| 89 |
+
75% {
|
| 90 |
+
transform: translate(10px, 20px) rotate(10deg);
|
| 91 |
+
opacity: 0.8;
|
| 92 |
+
}
|
| 93 |
+
100% {
|
| 94 |
+
transform: translate(0, 0) rotate(0deg);
|
| 95 |
+
opacity: 0.6;
|
| 96 |
+
}
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
@keyframes float-3 {
|
| 100 |
+
0% {
|
| 101 |
+
transform: translate(0, 0) scale(1);
|
| 102 |
+
opacity: 0.6;
|
| 103 |
+
}
|
| 104 |
+
25% {
|
| 105 |
+
transform: translate(15px, -15px) scale(1.1);
|
| 106 |
+
opacity: 0.8;
|
| 107 |
+
}
|
| 108 |
+
50% {
|
| 109 |
+
transform: translate(30px, 0) scale(1.2);
|
| 110 |
+
opacity: 1;
|
| 111 |
+
}
|
| 112 |
+
75% {
|
| 113 |
+
transform: translate(15px, 15px) scale(1.1);
|
| 114 |
+
opacity: 0.8;
|
| 115 |
+
}
|
| 116 |
+
100% {
|
| 117 |
+
transform: translate(0, 0) scale(1);
|
| 118 |
+
opacity: 0.6;
|
| 119 |
+
}
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
@keyframes float-4 {
|
| 123 |
+
0% {
|
| 124 |
+
transform: translate(0, 0) skew(0deg);
|
| 125 |
+
opacity: 0.6;
|
| 126 |
+
}
|
| 127 |
+
25% {
|
| 128 |
+
transform: translate(-10px, 25px) skew(5deg);
|
| 129 |
+
opacity: 0.8;
|
| 130 |
+
}
|
| 131 |
+
50% {
|
| 132 |
+
transform: translate(0, 50px) skew(0deg);
|
| 133 |
+
opacity: 1;
|
| 134 |
+
}
|
| 135 |
+
75% {
|
| 136 |
+
transform: translate(10px, 25px) skew(-5deg);
|
| 137 |
+
opacity: 0.8;
|
| 138 |
+
}
|
| 139 |
+
100% {
|
| 140 |
+
transform: translate(0, 0) skew(0deg);
|
| 141 |
+
opacity: 0.6;
|
| 142 |
+
}
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
.quote-icon {
|
| 146 |
+
position: absolute;
|
| 147 |
+
top: 20px;
|
| 148 |
+
right: 20px;
|
| 149 |
+
opacity: 0.1;
|
| 150 |
+
font-size: 60px;
|
| 151 |
+
color: #6366f1;
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
@keyframes avatar-float {
|
| 155 |
+
0%, 100% {
|
| 156 |
+
transform: translateY(0);
|
| 157 |
+
}
|
| 158 |
+
50% {
|
| 159 |
+
transform: translateY(-10px);
|
| 160 |
+
}
|
| 161 |
+
}
|
| 162 |
+
|
| 163 |
+
.avatar {
|
| 164 |
+
animation: avatar-float 4s ease-in-out infinite;
|
| 165 |
+
box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
.content-wrapper {
|
| 169 |
+
position: relative;
|
| 170 |
+
z-index: 10;
|
| 171 |
+
backdrop-filter: blur(10px);
|
| 172 |
+
background: rgba(31, 41, 55, 0.7);
|
| 173 |
+
border-radius: 0.75rem;
|
| 174 |
+
padding: 2rem;
|
| 175 |
+
}
|
| 176 |
+
|
| 177 |
+
.stars {
|
| 178 |
+
position: relative;
|
| 179 |
+
display: inline-block;
|
| 180 |
+
}
|
| 181 |
+
|
| 182 |
+
.stars::after {
|
| 183 |
+
content: '';
|
| 184 |
+
position: absolute;
|
| 185 |
+
top: -5px;
|
| 186 |
+
left: -5px;
|
| 187 |
+
right: -5px;
|
| 188 |
+
bottom: -5px;
|
| 189 |
+
background: rgba(255, 255, 255, 0.1);
|
| 190 |
+
border-radius: 9999px;
|
| 191 |
+
z-index: -1;
|
| 192 |
+
filter: blur(5px);
|
| 193 |
+
}
|
| 194 |
+
</style>
|
| 195 |
+
</head>
|
| 196 |
+
<body class="bg-gray-900 min-h-screen flex items-center justify-center p-4">
|
| 197 |
+
<div class="testimonial-card max-w-md w-full rounded-xl shadow-2xl relative">
|
| 198 |
+
<!-- Colored light effects -->
|
| 199 |
+
<div class="light-effect light-1"></div>
|
| 200 |
+
<div class="light-effect light-2"></div>
|
| 201 |
+
<div class="light-effect light-3"></div>
|
| 202 |
+
<div class="light-effect light-4"></div>
|
| 203 |
+
|
| 204 |
+
<div class="content-wrapper">
|
| 205 |
+
<i class="fas fa-quote-right quote-icon"></i>
|
| 206 |
+
|
| 207 |
+
<div class="flex flex-col items-center mb-6">
|
| 208 |
+
<div class="avatar w-20 h-20 rounded-full overflow-hidden border-4 border-indigo-500/20 mb-4">
|
| 209 |
+
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-full h-full object-cover">
|
| 210 |
+
</div>
|
| 211 |
+
<div class="text-center">
|
| 212 |
+
<h3 class="text-xl font-bold text-white">Sarah Johnson</h3>
|
| 213 |
+
<p class="text-indigo-300 text-sm">Marketing Director</p>
|
| 214 |
+
</div>
|
| 215 |
+
</div>
|
| 216 |
+
|
| 217 |
+
<div class="relative">
|
| 218 |
+
<p class="text-gray-200 mb-6 text-center italic">
|
| 219 |
+
"This service completely transformed our workflow. The team was professional, responsive, and delivered beyond our expectations. Our productivity increased by 40% in just two weeks!"
|
| 220 |
+
</p>
|
| 221 |
+
|
| 222 |
+
<div class="stars flex justify-center space-x-1">
|
| 223 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 224 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 225 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 226 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 227 |
+
<i class="fas fa-star text-yellow-400"></i>
|
| 228 |
+
</div>
|
| 229 |
+
</div>
|
| 230 |
+
</div>
|
| 231 |
+
</div>
|
| 232 |
+
|
| 233 |
+
<script>
|
| 234 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 235 |
+
const lightEffects = [
|
| 236 |
+
document.querySelector('.light-1'),
|
| 237 |
+
document.querySelector('.light-2'),
|
| 238 |
+
document.querySelector('.light-3'),
|
| 239 |
+
document.querySelector('.light-4')
|
| 240 |
+
];
|
| 241 |
+
|
| 242 |
+
const colorPalettes = [
|
| 243 |
+
['#6366f1', '#ec4899', '#10b981', '#f59e0b'], // Purple, Pink, Green, Amber
|
| 244 |
+
['#3b82f6', '#8b5cf6', '#84cc16', '#f97316'], // Blue, Violet, Lime, Orange
|
| 245 |
+
['#ef4444', '#14b8a6', '#a855f7', '#eab308'], // Red, Teal, Purple, Yellow
|
| 246 |
+
['#06b6d4', '#d946ef', '#f43f5e', '#22c55e'] // Cyan, Fuchsia, Rose, Green
|
| 247 |
+
];
|
| 248 |
+
|
| 249 |
+
// Apply different animations to each light
|
| 250 |
+
lightEffects[0].style.animation = 'float-1 12s infinite ease-in-out';
|
| 251 |
+
lightEffects[1].style.animation = 'float-2 15s infinite ease-in-out';
|
| 252 |
+
lightEffects[2].style.animation = 'float-3 10s infinite ease-in-out';
|
| 253 |
+
lightEffects[3].style.animation = 'float-4 18s infinite ease-in-out';
|
| 254 |
+
|
| 255 |
+
// Function to cycle through color palettes
|
| 256 |
+
function cycleColors() {
|
| 257 |
+
const paletteIndex = Math.floor(Math.random() * colorPalettes.length);
|
| 258 |
+
const colors = colorPalettes[paletteIndex];
|
| 259 |
+
|
| 260 |
+
lightEffects.forEach((light, index) => {
|
| 261 |
+
light.style.background = modifyColor(colors[index], 0.5);
|
| 262 |
+
|
| 263 |
+
// Create smooth transition for color change
|
| 264 |
+
light.style.transition = 'background 8s ease-in-out';
|
| 265 |
+
|
| 266 |
+
// Remove transition after it's done
|
| 267 |
+
setTimeout(() => {
|
| 268 |
+
light.style.transition = '';
|
| 269 |
+
}, 8000);
|
| 270 |
+
});
|
| 271 |
+
|
| 272 |
+
// Change quote icon color to match first light
|
| 273 |
+
document.querySelector('.quote-icon').style.color = colors[0];
|
| 274 |
+
|
| 275 |
+
return colors;
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
+
// Helper function to modify color opacity
|
| 279 |
+
function modifyColor(hex, opacity) {
|
| 280 |
+
const r = parseInt(hex.slice(1, 3), 16);
|
| 281 |
+
const g = parseInt(hex.slice(3, 5), 16);
|
| 282 |
+
const b = parseInt(hex.slice(5, 7), 16);
|
| 283 |
+
|
| 284 |
+
return `rgba(${r}, ${g}, ${b}, ${opacity})`;
|
| 285 |
+
}
|
| 286 |
+
|
| 287 |
+
// Initialize colors and start cycling
|
| 288 |
+
cycleColors();
|
| 289 |
+
setInterval(cycleColors, 8000);
|
| 290 |
+
|
| 291 |
+
// Change colors faster on hover for more interactivity
|
| 292 |
+
const card = document.querySelector('.testimonial-card');
|
| 293 |
+
card.addEventListener('mouseenter', () => {
|
| 294 |
+
const interval = setInterval(cycleColors, 2000);
|
| 295 |
+
card.addEventListener('mouseleave', () => {
|
| 296 |
+
clearInterval(interval);
|
| 297 |
+
setTimeout(cycleColors, 2000);
|
| 298 |
+
});
|
| 299 |
+
});
|
| 300 |
+
|
| 301 |
+
// Testimonial rotation (optional)
|
| 302 |
+
const testimonials = [
|
| 303 |
+
{
|
| 304 |
+
name: "Sarah Johnson",
|
| 305 |
+
role: "Marketing Director",
|
| 306 |
+
quote: "This service completely transformed our workflow. The team was professional, responsive, and delivered beyond our expectations. Our productivity increased by 40% in just two weeks!",
|
| 307 |
+
image: "https://randomuser.me/api/portraits/women/44.jpg"
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
name: "Michael Chen",
|
| 311 |
+
role: "CTO, TechStart",
|
| 312 |
+
quote: "The implementation was seamless and the support team was incredibly helpful. We've seen a 30% reduction in operational costs since adopting this solution.",
|
| 313 |
+
image: "https://randomuser.me/api/portraits/men/32.jpg"
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
name: "Emma Rodriguez",
|
| 317 |
+
role: "Product Manager",
|
| 318 |
+
quote: "I was skeptical at first, but the results speak for themselves. Our customer satisfaction scores have never been higher!",
|
| 319 |
+
image: "https://randomuser.me/api/portraits/women/65.jpg"
|
| 320 |
+
}
|
| 321 |
+
];
|
| 322 |
+
|
| 323 |
+
let currentTestimonial = 0;
|
| 324 |
+
|
| 325 |
+
function rotateTestimonial() {
|
| 326 |
+
currentTestimonial = (currentTestimonial + 1) % testimonials.length;
|
| 327 |
+
const testimonial = testimonials[currentTestimonial];
|
| 328 |
+
|
| 329 |
+
// Update content
|
| 330 |
+
card.querySelector('h3').textContent = testimonial.name;
|
| 331 |
+
card.querySelector('p.text-indigo-300').textContent = testimonial.role;
|
| 332 |
+
card.querySelector('p.text-gray-200').textContent = `"${testimonial.quote}"`;
|
| 333 |
+
card.querySelector('.avatar img').src = testimonial.image;
|
| 334 |
+
|
| 335 |
+
// Add animation class
|
| 336 |
+
card.querySelector('.content-wrapper').classList.add('opacity-0', 'scale-95');
|
| 337 |
+
setTimeout(() => {
|
| 338 |
+
card.querySelector('.content-wrapper').classList.remove('opacity-0', 'scale-95');
|
| 339 |
+
}, 500);
|
| 340 |
+
}
|
| 341 |
+
|
| 342 |
+
// Uncomment to enable auto-rotation of testimonials
|
| 343 |
+
// setInterval(rotateTestimonial, 5000);
|
| 344 |
+
});
|
| 345 |
+
</script>
|
| 346 |
+
<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=zaid3sa/d" style="color: #fff;text-decoration: underline;" target="_blank" >🧬 Remix</a></p></body>
|
| 347 |
+
</html>
|