Spaces:
Running
Running
Add 3 files
Browse filesFiles changed (3)
- README.md+7-5
- index.html+696-19
- prompts.txtAdded
123452345678910111012---title: Bbbbbbbbbbbbemoji: ⚡colorFrom: purplecolorTo: redtitle: bbbbbbbbbbbbemoji: 🐳colorFrom: graycolorTo: graysdk: staticpinned: falsetags: - deepsite---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-referenceCheck out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference12345678910111213141516171819123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696<!doctype html><html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width" /> <title>My static Space</title> <link rel="stylesheet" href="style.css" /> </head> <body> <div class="card"> <h1>Welcome to your static Space!</h1> <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p> <p> Also don't forget to check the <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>. </p> </div> </body></html><!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>FORMA | Performance Apparel</title> <script src="https://cdn.tailwindcss.com"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <style> @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade { animation: fadeIn 1s ease-out forwards; }
.animate-slide-up { animation: slideUp 0.8s ease-out forwards; }
.scroll-effect { opacity: 0; transition: all 0.6s ease-out; }
.scroll-effect.slide-up { transform: translateY(50px); }
.scroll-effect.animate { opacity: 1; transform: translateY(0); }
.nav-link { position: relative; }
.nav-link::after { content: ''; position: absolute; width: 0; height: 1px; bottom: 0; left: 0; background-color: black; transition: width 0.3s ease; }
.nav-link:hover::after { width: 100%; }
.product-card:hover { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); transform: translateY(-5px); }
.category-btn { position: relative; overflow: hidden; }
.category-btn::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: black; transition: width 0.3s ease; }
.category-btn.active::after, .category-btn:hover::after { width: 100%; }
.color-option { width: 24px; height: 24px; border-radius: 50%; cursor: pointer; transition: transform 0.2s ease; }
.color-option:hover { transform: scale(1.1); }
.size-option { display: inline-block; width: 40px; height: 40px; border: 1px solid #e5e7eb; text-align: center; line-height: 38px; cursor: pointer; transition: all 0.2s ease; }
.size-option:hover, .size-option.active { border-color: black; background-color: black; color: white; }
.full-details-btn { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(20px); opacity: 0; transition: all 0.3s ease; white-space: nowrap; }
.product-card:hover .full-details-btn { transform: translateX(-50%) translateY(0); opacity: 1; }
/* Hide scrollbar but keep functionality */ .hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
/* Mobile menu */ .mobile-menu { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.mobile-menu.active { max-height: 1000px; }
/* Banner Section */ .apparel-banner { background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2)), url('https://images.unsplash.com/photo-1479064555552-3ef4979f8908?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80'); background-size: cover; background-position: center; min-height: 400px; }
/* Mobile size adjustments */ @media (max-width: 640px) { .size-option { width: 35px; height: 35px; line-height: 33px; font-size: 14px; }
select { font-size: 14px; padding: 4px; }
.product-card img { height: 200px; } /* 2x2 grid on mobile */ .apparel-grid-mobile { grid-template-columns: repeat(2, 1fr); } /* More compact styling for mobile cards */ .product-card-mobile { padding: 12px; } .product-title-mobile { font-size: 14px; margin-bottom: 4px; } .product-price-mobile { font-size: 14px; } .product-desc-mobile { font-size: 12px; margin-bottom: 8px; } .full-details-btn-mobile { font-size: 11px; padding: 6px 10px; bottom: 15px; } .apparel-banner { min-height: 300px; } }
/* Larger screens */ @media (min-width: 641px) { .product-card img { height: 320px; } } </style></head><body class="bg-white text-black font-sans antialiased"> <!-- Navbar --> <nav class="bg-white fixed w-full z-50 border-b border-gray-100"> <div class="container mx-auto px-4 sm:px-6 py-4"> <div class="flex justify-between items-center"> <a href="#" class="text-2xl font-bold tracking-tighter">FORMA</a> <!-- Desktop Navigation --> <div class="hidden md:flex space-x-8"> <a href="#" class="nav-link">Footwear</a> <a href="#" class="nav-link font-medium">Apparel</a> <a href="#" class="nav-link">Technology</a> <a href="#" class="nav-link">Journal</a> <a href="#" class="nav-link">About</a> </div> <div class="flex items-center space-x-4 sm:space-x-6"> <a href="#" class="hover:text-gray-600 text-lg"><i class="fas fa-search"></i></a> <a href="#" class="hover:text-gray-600 text-lg"><i class="fas fa-user"></i></a> <button id="openCart" class="hover:text-gray-600 relative text-lg"> <i class="fas fa-shopping-bag"></i> <span id="cartCount" class="absolute -top-2 -right-2 bg-black text-white text-xs rounded-full w-5 h-5 flex items-center justify-center hidden">0</span> </button> <button id="mobileMenuButton" class="md:hidden text-lg"> <i class="fas fa-bars"></i> </button> </div> </div>
<!-- Mobile Menu --> <div id="mobileMenu" class="mobile-menu md:hidden"> <div class="pt-4 pb-2 space-y-2"> <a href="#" class="block py-2 text-lg hover:bg-gray-50 px-2">Footwear</a> <a href="#" class="block py-2 text-lg hover:bg-gray-50 px-2 font-medium">Apparel</a> <a href="#" class="block py-2 text-lg hover:bg-gray-50 px-2">Technology</a> <a href="#" class="block py-2 text-lg hover:bg-gray-50 px-2">Journal</a> <a href="#" class="block py-2 text-lg hover:bg-gray-50 px-2">About</a> </div> </div> </div> </nav>
<!-- Apparel Banner --> <section class="pt-32 pb-16 md:pt-40 md:pb-24 apparel-banner text-white flex items-center relative overflow-hidden"> <div class="container mx-auto px-4 sm:px-6 relative z-10 animate-fade"> <div class="max-w-2xl"> <h1 class="text-3xl sm:text-4xl md:text-5xl font-bold mb-4 leading-tight">ENGINEERED FOR MOVEMENT</h1> <p class="text-base sm:text-lg md:text-xl text-gray-200 mb-8">Technical apparel designed to optimize your performance in any conditions.</p> <button class="bg-white text-black px-8 py-3 font-medium hover:bg-gray-100 transition">SHOP NOW</button> </div> </div> </section>
<!-- Apparel Categories --> <section class="py-10 sm:py-14 bg-white"> <div class="container mx-auto px-4 sm:px-6"> <div class="grid grid-cols-2 sm:grid-cols-4 gap-4 sm:gap-8 animate-slide-up"> <a href="#" class="group"> <div class="aspect-square overflow-hidden mb-3"> <img src="https://images.unsplash.com/photo-1551232864-3f0890e580d9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80" alt="Shirts" class="w-full h-full object-cover transition duration-500 group-hover:scale-105"> </div> <h3 class="text-center font-medium group-hover:underline">SHIRTS</h3> </a> <a href="#" class="group"> <div class="aspect-square overflow-hidden mb-3"> <img src="https://images.unsplash.com/photo-1527719327859-c6ce80353573?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1084&q=80" alt="Pants" class="w-full h-full object-cover transition duration-500 group-hover:scale-105"> </div> <h3 class="text-center font-medium group-hover:underline">PANTS</h3> </a> <a href="#" class="group"> <div class="aspect-square overflow-hidden mb-3"> <img src="https://images.unsplash.com/photo-1620799140305-6ee5a6f28321?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1072&q=80" alt="Outerwear" class="w-full h-full object-cover transition duration-500 group-hover:scale-105"> </div> <h3 class="text-center font-medium group-hover:underline">OUTERWEAR</h3> </a> <a href="#" class="group"> <div class="aspect-square overflow-hidden mb-3"> <img src="https://images.unsplash.com/photo-1479064555552-3ef4979f8908?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80" alt="Accessories" class="w-full h-full object-cover transition duration-500 group-hover:scale-105"> </div> <h3 class="text-center font-medium group-hover:underline">ACCESSORIES</h3> </a> </div> </div> </section>
<!-- Category Navigation --> <section class="py-4 sm:py-6 bg-white border-b border-gray-100 sticky top-16 z-30"> <div class="container mx-auto px-4 sm:px-6"> <div class="flex overflow-x-auto space-x-6 sm:space-x-8 hide-scrollbar animate-slide-up"> <button class="category-btn active px-1 py-3 whitespace-nowrap font-medium">All Apparel</button> <button class="category-btn px-1 py-3 whitespace-nowrap">Tops</button> <button class="category-btn px-1 py-3 whitespace-nowrap">Bottoms</button> <button class="category-btn px-1 py-3 whitespace-nowrap">Outerwear</button> <button class="category-btn px-1 py-3 whitespace-nowrap">Collections</button> </div> </div> </section>
<!-- Apparel Grid --> <section class="py-12 sm:py-16 bg-white"> <div class="container mx-auto px-4 sm:px-6"> <div class="flex flex-col md:flex-row justify-between items-center mb-8 sm:mb-10 animate-slide-up"> <div class="mb-4 md:mb-0"> <h2 class="text-xl sm:text-2xl font-bold">PERFORMANCE APPAREL</h2> <p class="text-gray-600 text-sm sm:text-base">36 products</p> </div> <div class="flex items-center"> <span class="mr-2 text-gray-600 text-sm sm:text-base">Sort by:</span> <select class="border-0 bg-transparent focus:ring-0 focus:border-black text-sm sm:text-base" id="apparelSortDropdown"> <option>Featured</option> <option>Newest</option> <option>Price: Low to High</option> <option>Price: High to Low</option> <option>Most Popular</option> </select> </div> </div> <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4 sm:gap-6 md:gap-8 apparel-grid-mobile"> <!-- Product Card 1 --> <div class="product-card bg-white overflow-hidden relative transition duration-300 scroll-effect slide-up"> <div class="mb-4 overflow-hidden relative"> <img src="https://images.unsplash.com/photo-1529374255404-311a2a4f1fd9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1096&q=80" alt="Performance Tee" class="w-full object-cover transition duration-500 hover:scale-105"> <span class="absolute top-4 left-4 bg-black text-white text-xs px-3 py-1">BEST SELLER</span> <button class="full-details-btn full-details-btn-mobile bg-black text-white px-3 sm:px-4 md:px-6 py-1.5 sm:py-2 text-xs">VIEW DETAILS</button> </div> <div class="p-2 sm:p-3 md:p-4 product-card-mobile"> <div class="flex justify-between items-start mb-1 sm:mb-2"> <h3 class="font-bold text-sm sm:text-base product-title-mobile">PERFORMANCE TEE</h3> <p class="font-bold text-sm sm:text-base product-price-mobile">$58</p> </div> <p class="text-gray-600 text-xs sm:text-sm mb-2 sm:mb-3 product-desc-mobile">Lightweight technical t-shirt</p> <div class="flex flex-wrap gap-2 mb-2 sm:mb-3"> <div class="size-option">XS</div> <div class="size-option">S</div> <div class="size-option active">M</div> <div class="size-option">L</div> <div class="size-option">XL</div> </div> <button class="w-full border border-black py-1.5 sm:py-2 text-xs sm:text-sm font-medium hover:bg-black hover:text-white transition add-to-cart-btn" data-name="Performance Tee" data-price="58">ADD TO CART</button> </div> </div> <!-- Product Card 2 --> <div class="product-card bg-white overflow-hidden relative transition duration-300 scroll-effect slide-up" style="transition-delay: 0.1s"> <div class="mb-4 overflow-hidden relative"> <img src="https://images.unsplash.com/photo-1551232864-3f0890e580d9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80" alt="Training Hoodie" class="w-full object-cover transition duration-500 hover:scale-105"> <button class="full-details-btn full-details-btn-mobile bg-black text-white px-3 sm:px-4 md:px-6 py-1.5 sm:py-2 text-xs">VIEW DETAILS</button> </div> <div class="p-2 sm:p-3 md:p-4 product-card-mobile"> <div class="flex justify-between items-start mb-1 sm:mb-2"> <h3 class="font-bold text-sm sm:text-base product-title-mobile">TRAINING HOODIE</h3> <p class="font-bold text-sm sm:text-base product-price-mobile">$129</p> </div> <p class="text-gray-600 text-xs sm:text-sm mb-2 sm:mb-3 product-desc-mobile">Stretch-woven training hoodie</p> <div class="flex flex-wrap gap-2 mb-2 sm:mb-3"> <div class="size-option">S</div> <div class="size-option active">M</div> <div class="size-option">L</div> <div class="size-option">XL</div> </div> <button class="w-full border border-black py-1.5 sm:py-2 text-xs sm:text-sm font-medium hover:bg-black hover:text-white transition add-to-cart-btn" data-name="Training Hoodie" data-price="129">ADD TO CART</button> </div> </div> <!-- Product Card 3 --> <div class="product-card bg-white overflow-hidden relative transition duration-300 scroll-effect slide-up" style="transition-delay: 0.2s"> <div class="mb-4 overflow-hidden relative"> <img src="https://images.unsplash.com/photo-1527719327859-c6ce80353573?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1084&q=80" alt="Utility Joggers" class="w-full object-cover transition duration-500 hover:scale-105"> <span class="absolute top-4 left-4 bg-black text-white text-xs px-3 py-1">NEW</span> <button class="full-details-btn full-details-btn-mobile bg-black text-white px-3 sm:px-4 md:px-6 py-1.5 sm:py-2 text-xs">VIEW DETAILS</button> </div> <div class="p-2 sm:p-3 md:p-4 product-card-mobile"> <div class="flex justify-between items-start mb-1 sm:mb-2"> <h3 class="font-bold text-sm sm:text-base product-title-mobile">UTILITY JOGGERS</h3> <p class="font-bold text-sm sm:text-base product-price-mobile">$149</p> </div> <p class="text-gray-600 text-xs sm:text-sm mb-2 sm:mb-3 product-desc-mobile">Water-resistant training pants</p> <div class="flex flex-wrap gap-2 mb-2 sm:mb-3"> <div class="size-option active">28</div> <div class="size-option">30</div> <div class="size-option">32</div> <div class="size-option">34</div> </div> <button class="w-full border border-black py-1.5 sm:py-2 text-xs sm:text-sm font-medium hover:bg-black hover:text-white transition add-to-cart-btn" data-name="Utility Joggers" data-price="149">ADD TO CART</button> </div> </div> <!-- Product Card 4 --> <div class="product-card bg-white overflow-hidden relative transition duration-300 scroll-effect slide-up" style="transition-delay: 0.3s"> <div class="mb-4 overflow-hidden relative"> <img src="https://images.unsplash.com/photo-1520975916090-3105956a1cfa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80" alt="Hybrid Shorts" class="w-full object-cover transition duration-500 hover:scale-105"> <button class="full-details-btn full-details-btn-mobile bg-black text-white px-3 sm:px-4 md:px-6 py-1.5 sm:py-2 text-xs">VIEW DETAILS</button> </div> <div class="p-2 sm:p-3 md:p-4 product-card-mobile"> <div class="flex justify-between items-start mb-1 sm:mb-2"> <h3 class="font-bold text-sm sm:text-base product-title-mobile">HYBRID SHORTS</h3> <div> <span class="font-bold text-red-600 text-sm sm:text-base product-price-mobile">$59</span> <span class="text-gray-400 text-xs sm:text-sm line-through ml-1">$79</span> </div> </div> <p class="text-gray-600 text-xs sm:text-sm mb-2 sm:mb-3 product-desc-mobile">Lightweight running shorts</p> <div class="flex flex-wrap gap-2 mb-2 sm:mb-3"> <div class="size-option active">S</div> <div class="size-option">M</div> <div class="size-option">L</div> </div> <button class="w-full border border-black py-1.5 sm:py-2 text-xs sm:text-sm font-medium hover:bg-black hover:text-white transition add-to-cart-btn" data-name="Hybrid Shorts" data-price="59">ADD TO CART</button> </div> </div> <!-- Product Card 5 --> <div class="product-card bg-white overflow-hidden relative transition duration-300 scroll-effect slide-up" style="transition-delay: 0.4s"> <div class="mb-4 overflow-hidden relative"> <img src="https://images.unsplash.com/photo-1591047139829-d91aecb6caea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=736&q=80" alt="Long Sleeve Tee" class="w-full object-cover transition duration-500 hover:scale-105"> <span class="absolute top-4 left-4 bg-green-600 text-white text-xs px-3 py-1">ECO</span> <button class="full-details-btn full-details-btn-mobile bg-black text-white px-3 sm:px-4 md:px-6 py-1.5 sm:py-2 text-xs">VIEW DETAILS</button> </div> <div class="p-2 sm:p-3 md:p-4 product-card-mobile"> <div class="flex justify-between items-start mb-1 sm:mb-2"> <h3 class="font-bold text-sm sm:text-base product-title-mobile">LONG SLEEVE TEE</h3> <p class="font-bold text-sm sm:text-base product-price-mobile">$68</p> </div> <p class="text-gray-600 text-xs sm:text-sm mb-2 sm:mb-3 product-desc-mobile">Organic cotton tee</p> <div class="flex flex-wrap gap-2 mb-2 sm:mb-3"> <div class="size-option">XS</div> <div class="size-option active">S</div> <div class="size-option">M</div> <div class="size-option">L</div> </div> <button class="w-full border border-black py-1.5 sm:py-2 text-xs sm:text-sm font-medium hover:bg-black hover:text-white transition add-to-cart-btn" data-name="Long Sleeve Tee" data-price="68">ADD TO CART</button> </div> </div> <!-- Product Card 6 --> <div class="product-card bg-white overflow-hidden relative transition duration-300 scroll-effect slide-up" style="transition-delay: 0.5s"> <div class="mb-4 overflow-hidden relative"> <img src="https://images.unsplash.com/photo-1620799140408-edc474273df4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1072&q=80" alt="Windbreaker Jacket" class="w-full object-cover transition duration-500 hover:scale-105"> <button class="full-details-btn full-details-btn-mobile bg-black text-white px-3 sm:px-4 md:px-6 py-1.5 sm:py-2 text-xs">VIEW DETAILS</button> </div> <div class="p-2 sm:p-3 md:p-4 product-card-mobile"> <div class="flex justify-between items-start mb-1 sm:mb-2"> <h3 class="font-bold text-sm sm:text-base product-title-mobile">WINDBREAKER JACKET</h3> <p class="font-bold text-sm sm:text-base product-price-mobile">$189</p> </div> <p class="text-gray-600 text-xs sm:text-sm mb-2 sm:mb-3 product-desc-mobile">Weather-resistant outerwear</p> <div class="flex flex-wrap gap-2 mb-2 sm:mb-3"> <div class="size-option">M</div> <div class="size-option active">L</div> <div class="size-option">XL</div> </div> <button class="w-full border border-black py-1.5 sm:py-2 text-xs sm:text-sm font-medium hover:bg-black hover:text-white transition add-to-cart-btn" data-name="Windbreaker Jacket" data-price="189">ADD TO CART</button> </div> </div> </div> <!-- Load More Button --> <div class="text-center mt-10"> <button class="border border-black px-12 py-3 font-medium hover:bg-black hover:text-white transition">LOAD MORE</button> </div> </div> </section>
<!-- Technology Feature --> <section class="py-16 bg-black text-white"> <div class="container mx-auto px-4 sm:px-6"> <div class="flex flex-col md:flex-row items-center"> <div class="md:w-1/2 mb-8 md:mb-0 md:pr-10 animate-slide-up"> <h2 class="text-2xl sm:text-3xl md:text-4xl font-bold mb-4">TECH-INFUSED FABRICS</h2> <p class="text-gray-300 mb-6">Our apparel incorporates proprietary fabric technology to enhance performance, durability and comfort during intense physical activity.</p> <div class="grid grid-cols-2 gap-4"> <div class="border-l-2 border-white pl-4 py-2"> <h4 class="font-bold mb-1">THERMOREGULATION</h4> <p class="text-xs text-gray-300">Maintains optimal body temperature</p> </div> <div class="border-l-2 border-white pl-4 py-2"> <h4 class="font-bold mb-1">MOISTURE-WICKING</h4> <p class="text-xs text-gray-300">Keeps you dry during exercise</p> </div> <div class="border-l-2 border-white pl-4 py-2"> <h4 class="font-bold mb-1">4-WAY STRETCH</h4> <p class="text-xs text-gray-300">Unrestricted range of motion</p> </div> <div class="border-l-2 border-white pl-4 py-2"> <h4 class="font-bold mb-1">ANTI-ODOR</h4> <p class="text-xs text-gray-300">Natural antimicrobial properties</p> </div> </div> </div> <div class="md:w-1/2 animate-fade"> <img src="https://images.unsplash.com/photo-1600185365483-26c7a03508f7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1035&q=80" alt="Fabric Technology" class="w-full h-auto object-cover rounded"> </div> </div> </div> </section>
<!-- Newsletter Section --> <section class="py-16 bg-gray-100"> <div class="container mx-auto px-4 sm:px-6 max-w-3xl text-center animate-fade"> <h3 class="text-2xl sm:text-3xl font-bold mb-4">STAY CONNECTED</h3> <p class="text-gray-600 mb-6">Get first access to new collections, exclusive offers, and athlete stories.</p> <form class="flex flex-col sm:flex-row gap-2 max-w-md mx-auto"> <input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 border border-gray-300 focus:outline-none focus:border-black"> <button type="submit" class="bg-black text-white px-6 py-3 font-medium hover:bg-gray-900 transition">SUBSCRIBE</button> </form> </div> </section>
<!-- Footer --> <footer class="bg-black text-white py-12"> <div class="container mx-auto px-4 sm:px-6"> <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> <div> <h4 class="text-lg font-bold mb-4">FORMA</h4> <p class="text-gray-400 mb-4">Performance apparel designed for athletes and creators.</p> <div class="flex space-x-4"> <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram"></i></a> <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter"></i></a> <a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-facebook-f"></i></a> </div> </div> <div> <h4 class="text-lg font-bold mb-4">SHOP</h4> <ul class="space-y-2"> <li><a href="#" class="text-gray-400 hover:text-white">Footwear</a></li> <li><a href="#" class="text-gray-400 hover:text-white">Tops</a></li> <li><a href="#" class="text-gray-400 hover:text-white">Bottoms</a></li> <li><a href="#" class="text-gray-400 hover:text-white">Outerwear</a></li> <li><a href="#" class="text-gray-400 hover:text-white">Accessories</a></li> </ul> </div> <div> <h4 class="text-lg font-bold mb-4">HELP</h4> <ul class="space-y-2"> <li><a href="#" class="text-gray-400 hover:text-white">Customer Service</a></li> <li><a href="#" class="text-gray-400 hover:text-white">Size Guide</a></li> <li><a href="#" class="text-gray-400 hover:text-white">Shipping & Returns</a></li> <li><a href="#" class="text-gray-400 hover:text-white">Order Tracking</a></li> <li><a href="#" class="text-gray-400 hover:text-white">Contact Us</a></li> </ul> </div> <div> <h4 class="text-lg font-bold mb-4">ABOUT</h4> <ul class="space-y-2"> <li><a href="#" class="text-gray-400 hover:text-white">Our Story</a></li> <li><a href="#" class="text-gray-400 hover:text-white">Sustainability</a></li> <li><a href="#" class="text-gray-400 hover:text-white">Technology</a></li> <li><a href="#" class="text-gray-400 hover:text-white">Careers</a></li> <li><a href="#" class="text-gray-400 hover:text-white">Blog</a></li> </ul> </div> </div> <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500 text-sm"> <p>© 2023 FORMA. All rights reserved.</p> </div> </div> </footer>
<script> // Mobile menu toggle const mobileMenuButton = document.getElementById('mobileMenuButton'); const mobileMenu = document.getElementById('mobileMenu');
mobileMenuButton.addEventListener('click', () => { mobileMenu.classList.toggle('active'); });
// Cart functionality const addToCartButtons = document.querySelectorAll('.add-to-cart-btn'); const cartCount = document.getElementById('cartCount'); let itemCount = 0;
addToCartButtons.forEach(button => { button.addEventListener('click', (e) => { const productName = e.target.dataset.name; const productPrice = e.target.dataset.price; itemCount++; cartCount.textContent = itemCount; cartCount.classList.remove('hidden'); // Optional: Show a small notification const notification = document.createElement('div'); notification.className = 'fixed bottom-4 right-4 bg-green-500 text-white px-4 py-2 rounded shadow-lg animate-slide-up'; notification.textContent = `${productName} added to cart ($${productPrice})`; document.body.appendChild(notification); setTimeout(() => { notification.remove(); }, 3000); }); });
// Sort dropdown functionality const sortDropdown = document.getElementById('apparelSortDropdown'); sortDropdown.addEventListener('change', (e) => { console.log('Sorting apparel by:', e.target.value); // In a real implementation, you would sort and re-render the product grid });
// Scroll animations function animateOnScroll() { const elements = document.querySelectorAll('.scroll-effect'); elements.forEach(element => { const elementTop = element.getBoundingClientRect().top; const windowHeight = window.innerHeight; if (elementTop < windowHeight - 100) { element.classList.add('animate'); } }); }
// Initialize scroll animation on load window.addEventListener('load', animateOnScroll); // And on scroll window.addEventListener('scroll', animateOnScroll);
// Category buttons active state const categoryButtons = document.querySelectorAll('.category-btn'); categoryButtons.forEach(button => { button.addEventListener('click', () => { categoryButtons.forEach(btn => btn.classList.remove('active')); button.classList.add('active'); // Filter products by category in a real implementation }); }); // Size selection const sizeOptions = document.querySelectorAll('.size-option'); sizeOptions.forEach(option => { option.addEventListener('click', (e) => { // Remove active class from all size options in the same product card const parentCard = e.target.closest('.product-card'); parentCard.querySelectorAll('.size-option').forEach(opt => { opt.classList.remove('active'); }); // Add active class to clicked size option e.target.classList.add('active'); }); }); </script><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=greatisiw92/bbbbbbbbbbbb" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body></html>README.md+7-5
index.html+696-19
prompts.txtAdded