Update index.html
Browse files- index.html +57 -65
index.html
CHANGED
|
@@ -23,7 +23,17 @@
|
|
| 23 |
color: white;
|
| 24 |
-webkit-tap-highlight-color: transparent;
|
| 25 |
overflow-x: hidden;
|
|
|
|
|
|
|
| 26 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
::-webkit-scrollbar {
|
| 28 |
width: 6px;
|
| 29 |
}
|
|
@@ -217,24 +227,24 @@
|
|
| 217 |
// 2. Header
|
| 218 |
const Header = () => {
|
| 219 |
return (
|
| 220 |
-
<header className="relative z-20 flex
|
| 221 |
-
|
| 222 |
-
initial={{ y: -20, opacity: 0 }}
|
| 223 |
-
animate={{ y: 0, opacity: 1 }}
|
| 224 |
-
transition={{ duration: 0.6, ease: "easeOut" }}
|
| 225 |
-
className="flex flex-col items-center gap-4"
|
| 226 |
-
>
|
| 227 |
<div className="relative group cursor-pointer">
|
| 228 |
-
<div className="w-
|
| 229 |
-
<span className="text-
|
| 230 |
</div>
|
| 231 |
-
<span className="absolute -top-
|
| 232 |
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-cyan-400 opacity-75"></span>
|
| 233 |
-
<span className="relative inline-flex rounded-full h-
|
| 234 |
</span>
|
| 235 |
</div>
|
| 236 |
-
<h1 className="text-
|
| 237 |
-
</
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 238 |
</header>
|
| 239 |
);
|
| 240 |
};
|
|
@@ -242,29 +252,18 @@
|
|
| 242 |
// 3. Hero
|
| 243 |
const Hero = () => {
|
| 244 |
return (
|
| 245 |
-
<div className="px-6
|
| 246 |
<motion.div
|
| 247 |
-
initial={{ opacity: 0, y:
|
| 248 |
animate={{ opacity: 1, y: 0 }}
|
| 249 |
-
transition={{ duration: 0.
|
| 250 |
>
|
| 251 |
-
<h2 className="text-
|
| 252 |
-
|
| 253 |
-
<span className="relative inline-block px-2">
|
| 254 |
-
<span className="absolute inset-0 bg-indigo-500/10 blur-xl rounded-full transform rotate-3"></span>
|
| 255 |
-
<span
|
| 256 |
-
className="relative text-transparent bg-clip-text bg-gradient-to-r from-indigo-300 via-purple-300 to-cyan-300 animate-gradient-x"
|
| 257 |
-
style={{ backgroundSize: '200% auto' }}
|
| 258 |
-
>
|
| 259 |
-
با هوش مصنوعی
|
| 260 |
-
</span>
|
| 261 |
-
</span>
|
| 262 |
-
<br/>
|
| 263 |
-
<span className="text-white">متحول کنید</span>
|
| 264 |
</h2>
|
| 265 |
|
| 266 |
-
<p className="text-slate-400 text-
|
| 267 |
-
ت
|
| 268 |
</p>
|
| 269 |
</motion.div>
|
| 270 |
</div>
|
|
@@ -283,17 +282,16 @@
|
|
| 283 |
className="relative group cursor-pointer"
|
| 284 |
>
|
| 285 |
<div className={`absolute -inset-[1px] rounded-[24px] bg-gradient-to-b ${item.colorFrom} ${item.colorTo} opacity-0 group-hover:opacity-40 blur-md transition duration-500`}></div>
|
| 286 |
-
<div className="relative h-full flex flex-col justify-between bg-[#131722]/80 backdrop-blur-xl border border-white/5 p-
|
| 287 |
<div className="absolute inset-0 z-0 translate-x-[-100%] group-hover:translate-x-[100%] transition-transform duration-1000 bg-gradient-to-r from-transparent via-white/5 to-transparent skew-x-12"></div>
|
| 288 |
-
<div className="flex justify-between items-start mb-
|
| 289 |
-
<div className={`relative p-3
|
| 290 |
<motion.div
|
| 291 |
animate={{ rotate: [0, 5, -5, 0] }}
|
| 292 |
transition={{ duration: 4, repeat: Infinity, ease: "easeInOut", delay: index * 0.5 }}
|
| 293 |
>
|
| 294 |
-
<item.icon className="text-white w-
|
| 295 |
</motion.div>
|
| 296 |
-
<div className="absolute inset-0 rounded-2xl bg-white/30 blur opacity-40"></div>
|
| 297 |
</div>
|
| 298 |
{(item.isNew || item.isHot) && (
|
| 299 |
<motion.div
|
|
@@ -303,20 +301,17 @@
|
|
| 303 |
className="flex flex-col items-end gap-1"
|
| 304 |
>
|
| 305 |
{item.isNew && (
|
| 306 |
-
<span className="px-2
|
| 307 |
)}
|
| 308 |
{item.isHot && (
|
| 309 |
-
<span className="px-2
|
| 310 |
)}
|
| 311 |
</motion.div>
|
| 312 |
)}
|
| 313 |
</div>
|
| 314 |
<div className="relative z-10">
|
| 315 |
-
<h3 className="text-[
|
| 316 |
-
<p className="text-[
|
| 317 |
-
</div>
|
| 318 |
-
<div className="absolute bottom-4 left-4 w-8 h-8 rounded-full bg-white/5 border border-white/5 flex items-center justify-center opacity-0 translate-y-4 group-hover:opacity-100 group-hover:translate-y-0 transition-all duration-300 shadow-lg">
|
| 319 |
-
<ArrowLeft size={14} className="text-white" />
|
| 320 |
</div>
|
| 321 |
</div>
|
| 322 |
</motion.div>
|
|
@@ -334,35 +329,31 @@
|
|
| 334 |
className="relative w-full cursor-pointer group"
|
| 335 |
>
|
| 336 |
<div className="absolute -inset-[2px] bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 rounded-[26px] opacity-70 blur-sm group-hover:opacity-100 group-hover:blur-md transition duration-500 animate-pulse"></div>
|
| 337 |
-
<div className="relative overflow-hidden p-
|
| 338 |
<div className="absolute inset-0 opacity-20">
|
| 339 |
<div className="absolute top-0 right-0 w-64 h-64 bg-indigo-600 rounded-full blur-[80px] animate-pulse"></div>
|
| 340 |
<div className="absolute bottom-0 left-0 w-64 h-64 bg-purple-600 rounded-full blur-[80px] animate-pulse" style={{ animationDelay: '1s' }}></div>
|
| 341 |
</div>
|
| 342 |
-
<div className="relative z-10 flex
|
| 343 |
-
<div className="flex items-center gap-
|
| 344 |
<div className="relative">
|
| 345 |
-
<div className={`w-
|
| 346 |
<motion.div animate={{ rotate: [0, 10, -10, 0] }} transition={{ duration: 5, repeat: Infinity, ease: "easeInOut" }}>
|
| 347 |
-
<item.icon className="text-white w-
|
| 348 |
</motion.div>
|
| 349 |
</div>
|
| 350 |
-
<div className="absolute -top-2 -right-2 bg-white text-indigo-700 text-[
|
| 351 |
</div>
|
| 352 |
<div>
|
| 353 |
<div className="flex items-center gap-2 mb-1">
|
| 354 |
-
<h3 className="text-
|
| 355 |
-
<
|
| 356 |
-
<Sparkles className="w-5 h-5 text-yellow-400 fill-yellow-400" />
|
| 357 |
-
</motion.div>
|
| 358 |
</div>
|
| 359 |
-
<p className="text-
|
| 360 |
</div>
|
| 361 |
</div>
|
| 362 |
-
<div className="
|
| 363 |
-
<
|
| 364 |
-
<ArrowLeft className="w-5 h-5" strokeWidth={3} />
|
| 365 |
-
</div>
|
| 366 |
</div>
|
| 367 |
</div>
|
| 368 |
</div>
|
|
@@ -380,7 +371,7 @@
|
|
| 380 |
return () => clearInterval(timer);
|
| 381 |
}, []);
|
| 382 |
return (
|
| 383 |
-
<div className="relative w-full aspect-[2/1] rounded-[24px] overflow-hidden shadow-2xl ring-1 ring-white/10 mb-
|
| 384 |
<AnimatePresence mode='popLayout'>
|
| 385 |
<motion.img
|
| 386 |
key={currentIndex}
|
|
@@ -396,7 +387,7 @@
|
|
| 396 |
<div className="absolute inset-0 bg-gradient-to-t from-[#0B0F19]/80 via-transparent to-transparent opacity-80"></div>
|
| 397 |
<div className="absolute bottom-3 left-1/2 -translate-x-1/2 flex gap-1.5 z-10">
|
| 398 |
{IMAGES.map((_, index) => (
|
| 399 |
-
<div key={index} className={`h-1.5 rounded-full transition-all duration-300 ${index === currentIndex ? 'w-
|
| 400 |
))}
|
| 401 |
</div>
|
| 402 |
</div>
|
|
@@ -437,6 +428,7 @@
|
|
| 437 |
exit={{ opacity: 0, y: "100%" }}
|
| 438 |
transition={{ type: "spring", damping: 25, stiffness: 200 }}
|
| 439 |
className="fixed inset-0 z-50 bg-[#0f172a] flex flex-col"
|
|
|
|
| 440 |
>
|
| 441 |
<BackgroundEffects />
|
| 442 |
|
|
@@ -506,14 +498,14 @@
|
|
| 506 |
<main className="relative z-10 pt-2">
|
| 507 |
<Header />
|
| 508 |
|
| 509 |
-
<div className="px-6 mb-
|
| 510 |
<ImageSlider />
|
| 511 |
</div>
|
| 512 |
|
| 513 |
<Hero />
|
| 514 |
|
| 515 |
-
<div className="px-6 mt-
|
| 516 |
-
<div className="grid grid-cols-2 gap-
|
| 517 |
{FEATURES.map((item, index) => (
|
| 518 |
<FeatureCard
|
| 519 |
key={item.id}
|
|
@@ -524,13 +516,13 @@
|
|
| 524 |
))}
|
| 525 |
</div>
|
| 526 |
|
| 527 |
-
<div className="mt-
|
| 528 |
<SpecialCard item={SPECIAL_FEATURE} />
|
| 529 |
</div>
|
| 530 |
|
| 531 |
<div className="text-center mt-8 opacity-40">
|
| 532 |
<p className="text-[10px] text-slate-300 font-light tracking-widest">
|
| 533 |
-
POWERED BY
|
| 534 |
</p>
|
| 535 |
</div>
|
| 536 |
</div>
|
|
|
|
| 23 |
color: white;
|
| 24 |
-webkit-tap-highlight-color: transparent;
|
| 25 |
overflow-x: hidden;
|
| 26 |
+
margin: 0;
|
| 27 |
+
padding: 0;
|
| 28 |
}
|
| 29 |
+
/* WordPress Compatibility Fixes */
|
| 30 |
+
#root {
|
| 31 |
+
min-height: 100vh;
|
| 32 |
+
width: 100%;
|
| 33 |
+
position: relative;
|
| 34 |
+
z-index: 10;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
::-webkit-scrollbar {
|
| 38 |
width: 6px;
|
| 39 |
}
|
|
|
|
| 227 |
// 2. Header
|
| 228 |
const Header = () => {
|
| 229 |
return (
|
| 230 |
+
<header className="relative z-20 flex items-center justify-between px-6 pt-6 pb-2">
|
| 231 |
+
<div className="flex items-center gap-3">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 232 |
<div className="relative group cursor-pointer">
|
| 233 |
+
<div className="w-10 h-10 rounded-xl bg-gradient-to-br from-violet-600 to-indigo-600 flex items-center justify-center shadow-lg shadow-indigo-500/30 ring-2 ring-white/5">
|
| 234 |
+
<span className="text-xl font-black text-white pb-1">آ</span>
|
| 235 |
</div>
|
| 236 |
+
<span className="absolute -top-0.5 -right-0.5 flex h-2.5 w-2.5">
|
| 237 |
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-cyan-400 opacity-75"></span>
|
| 238 |
+
<span className="relative inline-flex rounded-full h-2.5 w-2.5 bg-cyan-500 border-2 border-[#0B0F19]"></span>
|
| 239 |
</span>
|
| 240 |
</div>
|
| 241 |
+
<h1 className="text-lg font-bold text-slate-200 tracking-wide opacity-90">{APP_NAME}</h1>
|
| 242 |
+
</div>
|
| 243 |
+
<div className="flex gap-2">
|
| 244 |
+
<button className="p-2 rounded-full bg-white/5 text-white/70 hover:bg-white/10 transition-colors">
|
| 245 |
+
<Bell size={20} />
|
| 246 |
+
</button>
|
| 247 |
+
</div>
|
| 248 |
</header>
|
| 249 |
);
|
| 250 |
};
|
|
|
|
| 252 |
// 3. Hero
|
| 253 |
const Hero = () => {
|
| 254 |
return (
|
| 255 |
+
<div className="px-6 py-4 mb-2 relative z-10 text-center">
|
| 256 |
<motion.div
|
| 257 |
+
initial={{ opacity: 0, y: 10 }}
|
| 258 |
animate={{ opacity: 1, y: 0 }}
|
| 259 |
+
transition={{ duration: 0.6, ease: "easeOut", delay: 0.2 }}
|
| 260 |
>
|
| 261 |
+
<h2 className="text-2xl font-black text-white mb-2 leading-tight">
|
| 262 |
+
جعبه ابزار <span className="text-transparent bg-clip-text bg-gradient-to-r from-indigo-300 to-cyan-300">هوش مصنوعی</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 263 |
</h2>
|
| 264 |
|
| 265 |
+
<p className="text-slate-400 text-xs leading-5 font-light opacity-80">
|
| 266 |
+
بهترین ابزارها برای ویرایش و تولید صدا
|
| 267 |
</p>
|
| 268 |
</motion.div>
|
| 269 |
</div>
|
|
|
|
| 282 |
className="relative group cursor-pointer"
|
| 283 |
>
|
| 284 |
<div className={`absolute -inset-[1px] rounded-[24px] bg-gradient-to-b ${item.colorFrom} ${item.colorTo} opacity-0 group-hover:opacity-40 blur-md transition duration-500`}></div>
|
| 285 |
+
<div className="relative h-full flex flex-col justify-between bg-[#131722]/80 backdrop-blur-xl border border-white/5 p-4 rounded-[24px] shadow-xl overflow-hidden hover:border-white/15 transition-all duration-300">
|
| 286 |
<div className="absolute inset-0 z-0 translate-x-[-100%] group-hover:translate-x-[100%] transition-transform duration-1000 bg-gradient-to-r from-transparent via-white/5 to-transparent skew-x-12"></div>
|
| 287 |
+
<div className="flex justify-between items-start mb-4 relative z-10">
|
| 288 |
+
<div className={`relative p-3 rounded-2xl bg-gradient-to-br ${item.colorFrom} ${item.colorTo} shadow-lg ring-1 ring-white/20 group-hover:scale-105 transition-transform duration-300`}>
|
| 289 |
<motion.div
|
| 290 |
animate={{ rotate: [0, 5, -5, 0] }}
|
| 291 |
transition={{ duration: 4, repeat: Infinity, ease: "easeInOut", delay: index * 0.5 }}
|
| 292 |
>
|
| 293 |
+
<item.icon className="text-white w-5 h-5 relative z-10" strokeWidth={2} />
|
| 294 |
</motion.div>
|
|
|
|
| 295 |
</div>
|
| 296 |
{(item.isNew || item.isHot) && (
|
| 297 |
<motion.div
|
|
|
|
| 301 |
className="flex flex-col items-end gap-1"
|
| 302 |
>
|
| 303 |
{item.isNew && (
|
| 304 |
+
<span className="px-2 py-0.5 text-[8px] font-bold bg-gradient-to-r from-amber-400 to-orange-500 text-white rounded-full shadow-lg shadow-amber-500/20">جدید</span>
|
| 305 |
)}
|
| 306 |
{item.isHot && (
|
| 307 |
+
<span className="px-2 py-0.5 text-[8px] font-bold bg-gradient-to-r from-rose-500 to-pink-600 text-white rounded-full shadow-lg shadow-rose-500/20">داغ</span>
|
| 308 |
)}
|
| 309 |
</motion.div>
|
| 310 |
)}
|
| 311 |
</div>
|
| 312 |
<div className="relative z-10">
|
| 313 |
+
<h3 className="text-[15px] font-bold text-white mb-1 tracking-tight group-hover:text-transparent group-hover:bg-clip-text group-hover:bg-gradient-to-r group-hover:from-white group-hover:to-slate-300 transition-colors">{item.title}</h3>
|
| 314 |
+
<p className="text-[10px] text-slate-400 font-medium leading-relaxed opacity-80 group-hover:opacity-100 transition-opacity">{item.subtitle}</p>
|
|
|
|
|
|
|
|
|
|
| 315 |
</div>
|
| 316 |
</div>
|
| 317 |
</motion.div>
|
|
|
|
| 329 |
className="relative w-full cursor-pointer group"
|
| 330 |
>
|
| 331 |
<div className="absolute -inset-[2px] bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500 rounded-[26px] opacity-70 blur-sm group-hover:opacity-100 group-hover:blur-md transition duration-500 animate-pulse"></div>
|
| 332 |
+
<div className="relative overflow-hidden p-5 bg-[#0f1219] rounded-[24px] border border-white/10">
|
| 333 |
<div className="absolute inset-0 opacity-20">
|
| 334 |
<div className="absolute top-0 right-0 w-64 h-64 bg-indigo-600 rounded-full blur-[80px] animate-pulse"></div>
|
| 335 |
<div className="absolute bottom-0 left-0 w-64 h-64 bg-purple-600 rounded-full blur-[80px] animate-pulse" style={{ animationDelay: '1s' }}></div>
|
| 336 |
</div>
|
| 337 |
+
<div className="relative z-10 flex items-center justify-between gap-4">
|
| 338 |
+
<div className="flex items-center gap-4">
|
| 339 |
<div className="relative">
|
| 340 |
+
<div className={`w-14 h-14 rounded-2xl bg-gradient-to-br ${item.colorFrom} ${item.colorTo} flex items-center justify-center shadow-lg shadow-indigo-500/30 ring-4 ring-indigo-500/10 group-hover:scale-105 transition-transform duration-300`}>
|
| 341 |
<motion.div animate={{ rotate: [0, 10, -10, 0] }} transition={{ duration: 5, repeat: Infinity, ease: "easeInOut" }}>
|
| 342 |
+
<item.icon className="text-white w-7 h-7" strokeWidth={2.5} />
|
| 343 |
</motion.div>
|
| 344 |
</div>
|
| 345 |
+
<div className="absolute -top-2 -right-2 bg-white text-indigo-700 text-[9px] font-black px-1.5 py-0.5 rounded-full shadow-md border-2 border-[#0f1219]">Ai</div>
|
| 346 |
</div>
|
| 347 |
<div>
|
| 348 |
<div className="flex items-center gap-2 mb-1">
|
| 349 |
+
<h3 className="text-lg font-black text-white">{item.title}</h3>
|
| 350 |
+
<Sparkles className="w-4 h-4 text-yellow-400 fill-yellow-400" />
|
|
|
|
|
|
|
| 351 |
</div>
|
| 352 |
+
<p className="text-xs text-slate-300 font-medium opacity-90 max-w-[150px] leading-relaxed">{item.subtitle}</p>
|
| 353 |
</div>
|
| 354 |
</div>
|
| 355 |
+
<div className="w-10 h-10 rounded-full bg-white/10 hover:bg-white text-white hover:text-indigo-900 flex items-center justify-center border border-white/10 transition-all duration-300">
|
| 356 |
+
<ArrowLeft className="w-4 h-4" strokeWidth={3} />
|
|
|
|
|
|
|
| 357 |
</div>
|
| 358 |
</div>
|
| 359 |
</div>
|
|
|
|
| 371 |
return () => clearInterval(timer);
|
| 372 |
}, []);
|
| 373 |
return (
|
| 374 |
+
<div className="relative w-full aspect-[2.4/1] rounded-[24px] overflow-hidden shadow-2xl ring-1 ring-white/10 mb-4 group z-20">
|
| 375 |
<AnimatePresence mode='popLayout'>
|
| 376 |
<motion.img
|
| 377 |
key={currentIndex}
|
|
|
|
| 387 |
<div className="absolute inset-0 bg-gradient-to-t from-[#0B0F19]/80 via-transparent to-transparent opacity-80"></div>
|
| 388 |
<div className="absolute bottom-3 left-1/2 -translate-x-1/2 flex gap-1.5 z-10">
|
| 389 |
{IMAGES.map((_, index) => (
|
| 390 |
+
<div key={index} className={`h-1.5 rounded-full transition-all duration-300 ${index === currentIndex ? 'w-5 bg-white' : 'w-1.5 bg-white/40'}`} />
|
| 391 |
))}
|
| 392 |
</div>
|
| 393 |
</div>
|
|
|
|
| 428 |
exit={{ opacity: 0, y: "100%" }}
|
| 429 |
transition={{ type: "spring", damping: 25, stiffness: 200 }}
|
| 430 |
className="fixed inset-0 z-50 bg-[#0f172a] flex flex-col"
|
| 431 |
+
style={{ position: 'fixed', top: 0, left: 0, right: 0, bottom: 0 }}
|
| 432 |
>
|
| 433 |
<BackgroundEffects />
|
| 434 |
|
|
|
|
| 498 |
<main className="relative z-10 pt-2">
|
| 499 |
<Header />
|
| 500 |
|
| 501 |
+
<div className="px-6 mb-2">
|
| 502 |
<ImageSlider />
|
| 503 |
</div>
|
| 504 |
|
| 505 |
<Hero />
|
| 506 |
|
| 507 |
+
<div className="px-6 mt-2">
|
| 508 |
+
<div className="grid grid-cols-2 gap-4">
|
| 509 |
{FEATURES.map((item, index) => (
|
| 510 |
<FeatureCard
|
| 511 |
key={item.id}
|
|
|
|
| 516 |
))}
|
| 517 |
</div>
|
| 518 |
|
| 519 |
+
<div className="mt-6 mb-4">
|
| 520 |
<SpecialCard item={SPECIAL_FEATURE} />
|
| 521 |
</div>
|
| 522 |
|
| 523 |
<div className="text-center mt-8 opacity-40">
|
| 524 |
<p className="text-[10px] text-slate-300 font-light tracking-widest">
|
| 525 |
+
POWERED BY AVA HOOSH • VER 2.0
|
| 526 |
</p>
|
| 527 |
</div>
|
| 528 |
</div>
|