Spaces:
Running
Running
صفحه ورود خیلی طولانیه
Browse filesو میخوام از یه لودینگ خفن تر استفاده منی
- index.html +37 -52
- style.css +78 -43
index.html
CHANGED
|
@@ -47,32 +47,25 @@
|
|
| 47 |
<div id="three-bg" class="fixed inset-0 -z-10 opacity-20"></div>
|
| 48 |
<!-- Loading Screen with Rocket Animation -->
|
| 49 |
<div id="loading-screen" class="fixed inset-0 bg-dark-900 flex flex-col items-center justify-center z-50">
|
| 50 |
-
<div class="
|
| 51 |
-
<div class="
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
</
|
| 58 |
-
<defs>
|
| 59 |
-
<linearGradient id="rocket-gradient" x1="0%" y1="0%" x2="100%" y2="100%">
|
| 60 |
-
<stop offset="0%" stop-color="#00D9FF" />
|
| 61 |
-
<stop offset="100%" stop-color="#8B5CF6" />
|
| 62 |
-
</linearGradient>
|
| 63 |
-
</defs>
|
| 64 |
-
</div>
|
| 65 |
-
<div class="flames absolute bottom-0 left-1/2 transform -translate-x-1/2">
|
| 66 |
-
<div class="flame"></div>
|
| 67 |
-
<div class="flame"></div>
|
| 68 |
-
<div class="flame"></div>
|
| 69 |
</div>
|
| 70 |
</div>
|
| 71 |
<div class="text-center">
|
| 72 |
-
<h1
|
| 73 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
</div>
|
| 75 |
-
|
| 76 |
<!-- Main Content -->
|
| 77 |
<main class="min-h-screen flex flex-col">
|
| 78 |
<!-- Header -->
|
|
@@ -273,39 +266,31 @@
|
|
| 273 |
const typingText = document.getElementById('typing-text');
|
| 274 |
const text = "Web Mania Studio";
|
| 275 |
let i = 0;
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
ease: "power2.out",
|
| 283 |
-
delay: 0.5
|
| 284 |
});
|
| 285 |
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
| 290 |
-
|
| 291 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 292 |
}
|
| 293 |
-
}
|
| 294 |
-
|
| 295 |
-
setTimeout(typeWriter, 1000);
|
| 296 |
-
|
| 297 |
-
// Hide loading screen
|
| 298 |
-
setTimeout(() => {
|
| 299 |
-
gsap.to("#loading-screen", {
|
| 300 |
-
opacity: 0,
|
| 301 |
-
duration: 0.8,
|
| 302 |
-
ease: "power2.inOut",
|
| 303 |
-
onComplete: () => {
|
| 304 |
-
document.getElementById('loading-screen').style.display = 'none';
|
| 305 |
-
}
|
| 306 |
-
});
|
| 307 |
-
}, 3000);
|
| 308 |
-
});
|
| 309 |
</script>
|
| 310 |
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 311 |
</body>
|
|
|
|
| 47 |
<div id="three-bg" class="fixed inset-0 -z-10 opacity-20"></div>
|
| 48 |
<!-- Loading Screen with Rocket Animation -->
|
| 49 |
<div id="loading-screen" class="fixed inset-0 bg-dark-900 flex flex-col items-center justify-center z-50">
|
| 50 |
+
<div class="cyber-loader relative w-48 h-48 mb-8">
|
| 51 |
+
<div class="cyber-circle"></div>
|
| 52 |
+
<div class="cyber-circle"></div>
|
| 53 |
+
<div class="cyber-circle"></div>
|
| 54 |
+
<div class="cyber-center">
|
| 55 |
+
<div class="cyber-dot"></div>
|
| 56 |
+
<div class="cyber-dot"></div>
|
| 57 |
+
<div class="cyber-dot"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
</div>
|
| 59 |
</div>
|
| 60 |
<div class="text-center">
|
| 61 |
+
<h1 class="text-3xl md:text-4xl font-bold mb-4 text-transparent bg-clip-text bg-gradient-to-r from-primary-500 to-secondary-500">
|
| 62 |
+
Web Mania Studio
|
| 63 |
+
</h1>
|
| 64 |
+
<div class="cyber-progress">
|
| 65 |
+
<div class="cyber-progress-bar"></div>
|
| 66 |
+
</div>
|
| 67 |
</div>
|
| 68 |
+
</div>
|
| 69 |
<!-- Main Content -->
|
| 70 |
<main class="min-h-screen flex flex-col">
|
| 71 |
<!-- Header -->
|
|
|
|
| 266 |
const typingText = document.getElementById('typing-text');
|
| 267 |
const text = "Web Mania Studio";
|
| 268 |
let i = 0;
|
| 269 |
+
// Cyber circles animation
|
| 270 |
+
gsap.to(".cyber-circle", {
|
| 271 |
+
rotation: 360,
|
| 272 |
+
duration: 2,
|
| 273 |
+
repeat: -1,
|
| 274 |
+
ease: "none"
|
|
|
|
|
|
|
| 275 |
});
|
| 276 |
|
| 277 |
+
gsap.to(".cyber-circle:nth-child(2)", {
|
| 278 |
+
rotation: -360,
|
| 279 |
+
duration: 3,
|
| 280 |
+
repeat: -1,
|
| 281 |
+
ease: "none"
|
| 282 |
+
});
|
| 283 |
+
// Hide loading screen after progress completes
|
| 284 |
+
gsap.to("#loading-screen", {
|
| 285 |
+
opacity: 0,
|
| 286 |
+
duration: 0.8,
|
| 287 |
+
delay: 3,
|
| 288 |
+
ease: "power2.inOut",
|
| 289 |
+
onComplete: () => {
|
| 290 |
+
document.getElementById('loading-screen').style.display = 'none';
|
| 291 |
}
|
| 292 |
+
});
|
| 293 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 294 |
</script>
|
| 295 |
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 296 |
</body>
|
style.css
CHANGED
|
@@ -18,73 +18,108 @@ body {
|
|
| 18 |
#three-bg canvas {
|
| 19 |
display: block;
|
| 20 |
}
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
.rocket-container {
|
| 24 |
perspective: 1000px;
|
| 25 |
}
|
| 26 |
|
| 27 |
-
.
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
}
|
| 31 |
|
| 32 |
-
.
|
| 33 |
width: 100%;
|
| 34 |
height: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
}
|
| 36 |
|
| 37 |
-
.
|
| 38 |
-
width:
|
| 39 |
-
height:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
}
|
| 41 |
|
| 42 |
-
.
|
| 43 |
position: absolute;
|
| 44 |
-
width:
|
| 45 |
-
height:
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
|
|
|
| 50 |
}
|
| 51 |
|
| 52 |
-
.
|
| 53 |
-
|
| 54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
}
|
| 56 |
|
| 57 |
-
.
|
| 58 |
-
|
| 59 |
-
height: 25px;
|
| 60 |
-
animation-delay: 0.2s;
|
| 61 |
}
|
| 62 |
|
| 63 |
-
.
|
| 64 |
-
|
| 65 |
-
animation-delay: 0.3s;
|
| 66 |
}
|
| 67 |
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
transform: translateY(0) rotate(0deg);
|
| 71 |
-
}
|
| 72 |
-
50% {
|
| 73 |
-
transform: translateY(-20px) rotate(5deg);
|
| 74 |
-
}
|
| 75 |
}
|
| 76 |
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
opacity: 1;
|
| 85 |
-
}
|
| 86 |
}
|
| 87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
/* Typing Animation */
|
| 89 |
#typing-text {
|
| 90 |
border-right: 2px solid #00D9FF;
|
|
|
|
| 18 |
#three-bg canvas {
|
| 19 |
display: block;
|
| 20 |
}
|
| 21 |
+
/* Cyberpunk Loading Animation */
|
| 22 |
+
.cyber-loader {
|
|
|
|
| 23 |
perspective: 1000px;
|
| 24 |
}
|
| 25 |
|
| 26 |
+
.cyber-circle {
|
| 27 |
+
position: absolute;
|
| 28 |
+
width: 100%;
|
| 29 |
+
height: 100%;
|
| 30 |
+
border: 3px solid transparent;
|
| 31 |
+
border-radius: 50%;
|
| 32 |
+
border-top-color: #00D9FF;
|
| 33 |
+
animation: spin 2s linear infinite;
|
| 34 |
}
|
| 35 |
|
| 36 |
+
.cyber-circle:nth-child(1) {
|
| 37 |
width: 100%;
|
| 38 |
height: 100%;
|
| 39 |
+
animation-delay: 0.1s;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.cyber-circle:nth-child(2) {
|
| 43 |
+
width: 70%;
|
| 44 |
+
height: 70%;
|
| 45 |
+
top: 15%;
|
| 46 |
+
left: 15%;
|
| 47 |
+
border-top-color: #8B5CF6;
|
| 48 |
+
animation-direction: reverse;
|
| 49 |
+
animation-delay: 0.2s;
|
| 50 |
}
|
| 51 |
|
| 52 |
+
.cyber-circle:nth-child(3) {
|
| 53 |
+
width: 40%;
|
| 54 |
+
height: 40%;
|
| 55 |
+
top: 30%;
|
| 56 |
+
left: 30%;
|
| 57 |
+
border-top-color: #00D9FF;
|
| 58 |
+
animation-delay: 0.3s;
|
| 59 |
}
|
| 60 |
|
| 61 |
+
.cyber-center {
|
| 62 |
position: absolute;
|
| 63 |
+
width: 20%;
|
| 64 |
+
height: 20%;
|
| 65 |
+
top: 40%;
|
| 66 |
+
left: 40%;
|
| 67 |
+
display: flex;
|
| 68 |
+
justify-content: center;
|
| 69 |
+
align-items: center;
|
| 70 |
}
|
| 71 |
|
| 72 |
+
.cyber-dot {
|
| 73 |
+
width: 6px;
|
| 74 |
+
height: 6px;
|
| 75 |
+
background: #00D9FF;
|
| 76 |
+
border-radius: 50%;
|
| 77 |
+
margin: 0 2px;
|
| 78 |
+
animation: pulse 1.5s ease-in-out infinite;
|
| 79 |
}
|
| 80 |
|
| 81 |
+
.cyber-dot:nth-child(1) {
|
| 82 |
+
animation-delay: 0s;
|
|
|
|
|
|
|
| 83 |
}
|
| 84 |
|
| 85 |
+
.cyber-dot:nth-child(2) {
|
| 86 |
+
animation-delay: 0.5s;
|
|
|
|
| 87 |
}
|
| 88 |
|
| 89 |
+
.cyber-dot:nth-child(3) {
|
| 90 |
+
animation-delay: 1s;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
}
|
| 92 |
|
| 93 |
+
.cyber-progress {
|
| 94 |
+
width: 200px;
|
| 95 |
+
height: 4px;
|
| 96 |
+
background: rgba(255, 255, 255, 0.1);
|
| 97 |
+
border-radius: 2px;
|
| 98 |
+
margin: 0 auto;
|
| 99 |
+
overflow: hidden;
|
|
|
|
|
|
|
| 100 |
}
|
| 101 |
|
| 102 |
+
.cyber-progress-bar {
|
| 103 |
+
height: 100%;
|
| 104 |
+
width: 0;
|
| 105 |
+
background: linear-gradient(90deg, #00D9FF, #8B5CF6);
|
| 106 |
+
animation: progress 3s ease-in-out forwards;
|
| 107 |
+
}
|
| 108 |
+
|
| 109 |
+
@keyframes spin {
|
| 110 |
+
0% { transform: rotate(0deg); }
|
| 111 |
+
100% { transform: rotate(360deg); }
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
@keyframes pulse {
|
| 115 |
+
0%, 100% { transform: scale(1); opacity: 1; }
|
| 116 |
+
50% { transform: scale(1.5); opacity: 0.7; }
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
@keyframes progress {
|
| 120 |
+
0% { width: 0; }
|
| 121 |
+
100% { width: 100%; }
|
| 122 |
+
}
|
| 123 |
/* Typing Animation */
|
| 124 |
#typing-text {
|
| 125 |
border-right: 2px solid #00D9FF;
|