Spaces:
Running
Running
preciso de um hero com o menu em vidro efeito grass - Initial Deployment
Browse files- README.md +7 -5
- index.html +240 -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: teste
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: green
|
| 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,240 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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TYPE 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>Glass Effect Hero</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 |
+
.glass-nav {
|
| 11 |
+
background: rgba(255, 255, 255, 0.15);
|
| 12 |
+
backdrop-filter: blur(10px);
|
| 13 |
+
-webkit-backdrop-filter: blur(10px);
|
| 14 |
+
border: 1px solid rgba(255, 255, 255, 0.18);
|
| 15 |
+
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.hero-gradient {
|
| 19 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
.glass-card {
|
| 23 |
+
background: rgba(255, 255, 255, 0.1);
|
| 24 |
+
backdrop-filter: blur(15px);
|
| 25 |
+
-webkit-backdrop-filter: blur(15px);
|
| 26 |
+
border-radius: 20px;
|
| 27 |
+
border: 1px solid rgba(255, 255, 255, 0.18);
|
| 28 |
+
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.text-glow {
|
| 32 |
+
text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.btn-glow {
|
| 36 |
+
box-shadow: 0 0 15px rgba(118, 75, 162, 0.7);
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
.btn-glow:hover {
|
| 40 |
+
box-shadow: 0 0 25px rgba(118, 75, 162, 0.9);
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
/* Animation for hero content */
|
| 44 |
+
@keyframes fadeInUp {
|
| 45 |
+
from {
|
| 46 |
+
opacity: 0;
|
| 47 |
+
transform: translateY(20px);
|
| 48 |
+
}
|
| 49 |
+
to {
|
| 50 |
+
opacity: 1;
|
| 51 |
+
transform: translateY(0);
|
| 52 |
+
}
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
.animate-fadeInUp {
|
| 56 |
+
animation: fadeInUp 0.8s ease-out forwards;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.delay-100 {
|
| 60 |
+
animation-delay: 0.1s;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.delay-200 {
|
| 64 |
+
animation-delay: 0.2s;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.delay-300 {
|
| 68 |
+
animation-delay: 0.3s;
|
| 69 |
+
}
|
| 70 |
+
</style>
|
| 71 |
+
</head>
|
| 72 |
+
<body class="font-sans antialiased text-white">
|
| 73 |
+
<!-- Navigation -->
|
| 74 |
+
<nav class="glass-nav fixed w-full z-50 py-4 px-6 md:px-12 transition-all duration-300">
|
| 75 |
+
<div class="max-w-7xl mx-auto flex justify-between items-center">
|
| 76 |
+
<div class="flex items-center">
|
| 77 |
+
<a href="#" class="text-2xl font-bold flex items-center">
|
| 78 |
+
<i class="fas fa-cube mr-2"></i>
|
| 79 |
+
<span>GlassUI</span>
|
| 80 |
+
</a>
|
| 81 |
+
</div>
|
| 82 |
+
|
| 83 |
+
<!-- Desktop Menu -->
|
| 84 |
+
<div class="hidden md:flex space-x-8">
|
| 85 |
+
<a href="#" class="hover:text-purple-200 transition-colors">Home</a>
|
| 86 |
+
<a href="#" class="hover:text-purple-200 transition-colors">Features</a>
|
| 87 |
+
<a href="#" class="hover:text-purple-200 transition-colors">Pricing</a>
|
| 88 |
+
<a href="#" class="hover:text-purple-200 transition-colors">About</a>
|
| 89 |
+
<a href="#" class="hover:text-purple-200 transition-colors">Contact</a>
|
| 90 |
+
</div>
|
| 91 |
+
|
| 92 |
+
<!-- Mobile Menu Button -->
|
| 93 |
+
<button id="mobile-menu-button" class="md:hidden focus:outline-none">
|
| 94 |
+
<i class="fas fa-bars text-xl"></i>
|
| 95 |
+
</button>
|
| 96 |
+
</div>
|
| 97 |
+
|
| 98 |
+
<!-- Mobile Menu -->
|
| 99 |
+
<div id="mobile-menu" class="md:hidden hidden mt-4 py-4 px-6 rounded-lg glass-nav">
|
| 100 |
+
<div class="flex flex-col space-y-4">
|
| 101 |
+
<a href="#" class="hover:text-purple-200 transition-colors">Home</a>
|
| 102 |
+
<a href="#" class="hover:text-purple-200 transition-colors">Features</a>
|
| 103 |
+
<a href="#" class="hover:text-purple-200 transition-colors">Pricing</a>
|
| 104 |
+
<a href="#" class="hover:text-purple-200 transition-colors">About</a>
|
| 105 |
+
<a href="#" class="hover:text-purple-200 transition-colors">Contact</a>
|
| 106 |
+
</div>
|
| 107 |
+
</div>
|
| 108 |
+
</nav>
|
| 109 |
+
|
| 110 |
+
<!-- Hero Section -->
|
| 111 |
+
<section class="hero-gradient min-h-screen flex items-center pt-20 pb-16 px-6 md:px-12">
|
| 112 |
+
<div class="max-w-7xl mx-auto grid md:grid-cols-2 gap-12 items-center">
|
| 113 |
+
<!-- Hero Content -->
|
| 114 |
+
<div class="space-y-8">
|
| 115 |
+
<h1 class="text-4xl md:text-6xl font-bold leading-tight text-glow animate-fadeInUp">
|
| 116 |
+
Modern <span class="text-purple-200">Glass UI</span> Design
|
| 117 |
+
</h1>
|
| 118 |
+
<p class="text-lg md:text-xl text-purple-100 opacity-90 animate-fadeInUp delay-100">
|
| 119 |
+
Create stunning interfaces with our glass effect components. Perfect for modern web applications that need a sleek, futuristic look.
|
| 120 |
+
</p>
|
| 121 |
+
<div class="flex flex-wrap gap-4 animate-fadeInUp delay-200">
|
| 122 |
+
<button class="bg-white text-purple-700 px-6 py-3 rounded-full font-semibold hover:bg-purple-100 transition-colors btn-glow">
|
| 123 |
+
Get Started
|
| 124 |
+
</button>
|
| 125 |
+
<button class="border-2 border-white px-6 py-3 rounded-full font-semibold hover:bg-white hover:text-purple-700 transition-colors">
|
| 126 |
+
Learn More
|
| 127 |
+
</button>
|
| 128 |
+
</div>
|
| 129 |
+
<div class="flex items-center space-x-6 animate-fadeInUp delay-300">
|
| 130 |
+
<div class="flex -space-x-2">
|
| 131 |
+
<img src="https://randomuser.me/api/portraits/women/12.jpg" class="w-10 h-10 rounded-full border-2 border-white" alt="User">
|
| 132 |
+
<img src="https://randomuser.me/api/portraits/men/32.jpg" class="w-10 h-10 rounded-full border-2 border-white" alt="User">
|
| 133 |
+
<img src="https://randomuser.me/api/portraits/women/44.jpg" class="w-10 h-10 rounded-full border-2 border-white" alt="User">
|
| 134 |
+
</div>
|
| 135 |
+
<div>
|
| 136 |
+
<p class="text-sm text-purple-100">Join <span class="font-bold">10,000+</span> happy users</p>
|
| 137 |
+
<div class="flex text-yellow-300 text-xs">
|
| 138 |
+
<i class="fas fa-star"></i>
|
| 139 |
+
<i class="fas fa-star"></i>
|
| 140 |
+
<i class="fas fa-star"></i>
|
| 141 |
+
<i class="fas fa-star"></i>
|
| 142 |
+
<i class="fas fa-star"></i>
|
| 143 |
+
<span class="text-purple-100 ml-1">(4.9/5.0)</span>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
|
| 149 |
+
<!-- Hero Card -->
|
| 150 |
+
<div class="glass-card p-6 md:p-8 animate-fadeInUp delay-100">
|
| 151 |
+
<div class="relative">
|
| 152 |
+
<div class="absolute -top-10 -left-10 w-20 h-20 bg-purple-400 rounded-full filter blur-xl opacity-30"></div>
|
| 153 |
+
<div class="absolute -bottom-10 -right-10 w-24 h-24 bg-pink-400 rounded-full filter blur-xl opacity-30"></div>
|
| 154 |
+
|
| 155 |
+
<div class="relative z-10">
|
| 156 |
+
<div class="flex justify-between items-center mb-6">
|
| 157 |
+
<h3 class="text-xl font-bold">Glass Dashboard</h3>
|
| 158 |
+
<i class="fas fa-ellipsis-h text-gray-300"></i>
|
| 159 |
+
</div>
|
| 160 |
+
|
| 161 |
+
<div class="grid grid-cols-3 gap-4 mb-8">
|
| 162 |
+
<div class="bg-white bg-opacity-10 p-3 rounded-lg text-center">
|
| 163 |
+
<p class="text-sm text-purple-100">Visitors</p>
|
| 164 |
+
<p class="text-2xl font-bold">1.2K</p>
|
| 165 |
+
</div>
|
| 166 |
+
<div class="bg-white bg-opacity-10 p-3 rounded-lg text-center">
|
| 167 |
+
<p class="text-sm text-purple-100">Revenue</p>
|
| 168 |
+
<p class="text-2xl font-bold">$8.5K</p>
|
| 169 |
+
</div>
|
| 170 |
+
<div class="bg-white bg-opacity-10 p-3 rounded-lg text-center">
|
| 171 |
+
<p class="text-sm text-purple-100">Orders</p>
|
| 172 |
+
<p class="text-2xl font-bold">324</p>
|
| 173 |
+
</div>
|
| 174 |
+
</div>
|
| 175 |
+
|
| 176 |
+
<div class="mb-6">
|
| 177 |
+
<div class="flex justify-between text-sm text-purple-100 mb-2">
|
| 178 |
+
<span>Weekly Target</span>
|
| 179 |
+
<span>75%</span>
|
| 180 |
+
</div>
|
| 181 |
+
<div class="w-full bg-white bg-opacity-20 rounded-full h-2">
|
| 182 |
+
<div class="bg-white h-2 rounded-full" style="width: 75%"></div>
|
| 183 |
+
</div>
|
| 184 |
+
</div>
|
| 185 |
+
|
| 186 |
+
<div class="flex justify-between items-center">
|
| 187 |
+
<button class="bg-white text-purple-700 px-4 py-2 rounded-lg text-sm font-medium">
|
| 188 |
+
View Details
|
| 189 |
+
</button>
|
| 190 |
+
<div class="text-xs text-purple-100">
|
| 191 |
+
Updated 2 mins ago
|
| 192 |
+
</div>
|
| 193 |
+
</div>
|
| 194 |
+
</div>
|
| 195 |
+
</div>
|
| 196 |
+
</div>
|
| 197 |
+
</div>
|
| 198 |
+
|
| 199 |
+
<!-- Floating elements -->
|
| 200 |
+
<div class="absolute top-1/4 left-10 w-16 h-16 bg-white rounded-full filter blur-xl opacity-10"></div>
|
| 201 |
+
<div class="absolute bottom-1/3 right-20 w-24 h-24 bg-purple-300 rounded-full filter blur-xl opacity-20"></div>
|
| 202 |
+
</section>
|
| 203 |
+
|
| 204 |
+
<script>
|
| 205 |
+
// Mobile menu toggle
|
| 206 |
+
const mobileMenuButton = document.getElementById('mobile-menu-button');
|
| 207 |
+
const mobileMenu = document.getElementById('mobile-menu');
|
| 208 |
+
|
| 209 |
+
mobileMenuButton.addEventListener('click', () => {
|
| 210 |
+
mobileMenu.classList.toggle('hidden');
|
| 211 |
+
});
|
| 212 |
+
|
| 213 |
+
// Scroll effect for navbar
|
| 214 |
+
window.addEventListener('scroll', () => {
|
| 215 |
+
const nav = document.querySelector('nav');
|
| 216 |
+
if (window.scrollY > 10) {
|
| 217 |
+
nav.classList.add('bg-opacity-80');
|
| 218 |
+
nav.classList.remove('bg-opacity-15');
|
| 219 |
+
} else {
|
| 220 |
+
nav.classList.remove('bg-opacity-80');
|
| 221 |
+
nav.classList.add('bg-opacity-15');
|
| 222 |
+
}
|
| 223 |
+
});
|
| 224 |
+
|
| 225 |
+
// Add animation classes on load
|
| 226 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 227 |
+
const elements = document.querySelectorAll('.animate-fadeInUp');
|
| 228 |
+
elements.forEach(el => {
|
| 229 |
+
el.style.opacity = '0';
|
| 230 |
+
});
|
| 231 |
+
|
| 232 |
+
setTimeout(() => {
|
| 233 |
+
elements.forEach(el => {
|
| 234 |
+
el.style.opacity = '1';
|
| 235 |
+
});
|
| 236 |
+
}, 100);
|
| 237 |
+
});
|
| 238 |
+
</script>
|
| 239 |
+
<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=EcosSystem/teste" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 240 |
+
</html>
|