Spaces:
Running

figurwar / index.html
ALONE30's picture
modifie le theme, je veux un site traitant de figurines a l echelle 1:72 - Initial Deployment
e497bae verified
Raw History Blame Contribute Delete
27.7 kB
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Figurines 1:72 | Collection Miniatures Historiques</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">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#1e3a8a',
secondary: '#1e40af',
accent: '#f59e0b',
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');
body {
font-family: 'Poppins', sans-serif;
background-color: #f8fafc;
}
h1, h2, h3, h4 {
font-family: 'Playfair Display', serif;
}
.product-card {
transition: all 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.availability-dot {
display: inline-block;
width: 10px;
height: 10px;
border-radius: 50%;
margin-right: 5px;
}
.in-stock {
background-color: #10b981;
}
.low-stock {
background-color: #f59e0b;
}
.out-of-stock {
background-color: #ef4444;
}
.sticky-header {
position: sticky;
top: 0;
z-index: 50;
transition: all 0.3s ease;
}
.sticky-header.scrolled {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
background-color: rgba(255, 255, 255, 0.95);
}
.hero-section {
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
background-size: cover;
background-position: center;
}
.category-btn {
transition: all 0.2s ease;
}
.category-btn:hover, .category-btn.active {
background-color: #a78bfa;
color: white;
}
.cart-badge {
position: absolute;
top: -8px;
right: -8px;
background-color: #ef4444;
color: white;
border-radius: 50%;
width: 20px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75rem;
}
</style>
</head>
<body>
<!-- Header avec navigation sticky -->
<header class="sticky-header bg-white py-4">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center">
<div class="flex items-center">
<div class="text-2xl font-bold text-primary mr-10">
<span class="text-accent">Figurines</span>1:72
</div>
<nav class="hidden md:flex space-x-8">
<a href="#" class="text-gray-700 hover:text-accent font-medium">Accueil</a>
<a href="#" class="text-gray-700 hover:text-accent font-medium">Nouveautés</a>
<a href="#" class="text-gray-700 hover:text-accent font-medium">Périodes Historiques</a>
<a href="#" class="text-gray-700 hover:text-accent font-medium">Peintures & Accessoires</a>
<a href="#" class="text-gray-700 hover:text-accent font-medium">Contact</a>
</nav>
</div>
<div class="flex items-center space-x-6">
<div class="relative">
<button class="text-gray-700 hover:text-accent">
<i class="fas fa-search text-xl"></i>
</button>
</div>
<div class="relative">
<button class="text-gray-700 hover:text-accent">
<i class="fas fa-user text-xl"></i>
</button>
</div>
<div class="relative">
<button class="text-gray-700 hover:text-accent">
<i class="fas fa-shopping-bag text-xl"></i>
<span class="cart-badge">3</span>
</button>
</div>
<button class="md:hidden text-gray-700">
<i class="fas fa-bars text-xl"></i>
</button>
</div>
</div>
</div>
</header>
<!-- Hero Section -->
<section class="hero-section text-white py-24">
<div class="container mx-auto px-4 text-center">
<h1 class="text-4xl md:text-6xl font-bold mb-6">Figurines Historiques 1:72</h1>
<p class="text-xl mb-10 max-w-2xl mx-auto">Découvrez notre vaste collection de figurines miniatures pour passionnés d'histoire et maquettistes</p>
<button class="bg-accent hover:bg-amber-700 text-white font-bold py-3 px-8 rounded-full transition duration-300">
Explorer le catalogue
</button>
</div>
</section>
<!-- Catégories -->
<section class="py-12 bg-gray-50">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12">Nos Catégories</h2>
<div class="flex flex-wrap justify-center gap-4">
<button class="category-btn active bg-white px-6 py-2 rounded-full border border-gray-200">Tous</button>
<button class="category-btn bg-white px-6 py-2 rounded-full border border-gray-200">Antiquité</button>
<button class="category-btn bg-white px-6 py-2 rounded-full border border-gray-200">Moyen-Âge</button>
<button class="category-btn bg-white px-6 py-2 rounded-full border border-gray-200">Napoléonien</button>
<button class="category-btn bg-white px-6 py-2 rounded-full border border-gray-200">Seconde Guerre</button>
<button class="category-btn bg-white px-6 py-2 rounded-full border border-gray-200">Moderne</button>
</div>
</div>
</section>
<!-- Grille de produits -->
<section class="py-16">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center mb-10">
<h2 class="text-3xl font-bold">Nos Figurines</h2>
<div class="flex items-center">
<span class="mr-3">Trier par :</span>
<select class="bg-white border border-gray-300 rounded px-4 py-2">
<option>Nouveautés</option>
<option>Prix croissant</option>
<option>Prix décroissant</option>
<option>Populaires</option>
</select>
</div>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-8">
<!-- Produit 1 -->
<div class="product-card bg-white rounded-lg overflow-hidden">
<div class="relative">
<img src="https://images.unsplash.com/photo-1523381210434-271e8be1f52b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="Robe d'été" class="w-full h-64 object-cover">
<div class="absolute top-4 right-4 bg-red-500 text-white text-xs font-bold px-2 py-1 rounded">
-20%
</div>
</div>
<div class="p-5">
<h3 class="font-bold text-lg mb-2">Robe Florale d'Été</h3>
<div class="flex items-center mb-3">
<span class="text-gray-500 line-through mr-2">89,99€</span>
<span class="text-lg font-bold text-accent">71,99€</span>
</div>
<div class="flex justify-between items-center mb-4">
<div>
<span class="availability-dot in-stock"></span>
<span class="text-sm text-gray-600">En stock (12)</span>
</div>
<div class="flex items-center">
<i class="fas fa-star text-yellow-400"></i>
<span class="text-sm ml-1">4.8</span>
</div>
</div>
<button class="w-full bg-gray-100 hover:bg-accent hover:text-white py-2 rounded transition duration-300">
<i class="fas fa-shopping-cart mr-2"></i>Ajouter au panier
</button>
</div>
</div>
<!-- Produit 2 -->
<div class="product-card bg-white rounded-lg overflow-hidden">
<div class="relative">
<img src="https://images.unsplash.com/photo-1541099649105-f69ad21f3246?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="Chaussures" class="w-full h-64 object-cover">
</div>
<div class="p-5">
<h3 class="font-bold text-lg mb-2">Sandales Élégantes</h3>
<div class="mb-3">
<span class="text-lg font-bold text-gray-800">64,99€</span>
</div>
<div class="flex justify-between items-center mb-4">
<div>
<span class="availability-dot low-stock"></span>
<span class="text-sm text-gray-600">Stock limité (3)</span>
</div>
<div class="flex items-center">
<i class="fas fa-star text-yellow-400"></i>
<span class="text-sm ml-1">4.5</span>
</div>
</div>
<button class="w-full bg-gray-100 hover:bg-accent hover:text-white py-2 rounded transition duration-300">
<i class="fas fa-shopping-cart mr-2"></i>Ajouter au panier
</button>
</div>
</div>
<!-- Produit 3 -->
<div class="product-card bg-white rounded-lg overflow-hidden">
<div class="relative">
<img src="https://images.unsplash.com/photo-1591047139829-d91aecb6caea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="Sac à main" class="w-full h-64 object-cover">
</div>
<div class="p-5">
<h3 class="font-bold text-lg mb-2">Sac à Main Cuir</h3>
<div class="mb-3">
<span class="text-lg font-bold text-gray-800">129,99€</span>
</div>
<div class="flex justify-between items-center mb-4">
<div>
<span class="availability-dot in-stock"></span>
<span class="text-sm text-gray-600">En stock (7)</span>
</div>
<div class="flex items-center">
<i class="fas fa-star text-yellow-400"></i>
<span class="text-sm ml-1">4.9</span>
</div>
</div>
<button class="w-full bg-gray-100 hover:bg-accent hover:text-white py-2 rounded transition duration-300">
<i class="fas fa-shopping-cart mr-2"></i>Ajouter au panier
</button>
</div>
</div>
<!-- Produit 4 -->
<div class="product-card bg-white rounded-lg overflow-hidden">
<div class="relative">
<img src="https://images.unsplash.com/photo-1534030347209-467a5b0ad3e6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="Montre" class="w-full h-64 object-cover">
</div>
<div class="p-5">
<h3 class="font-bold text-lg mb-2">Montre Élégante</h3>
<div class="mb-3">
<span class="text-lg font-bold text-gray-800">149,99€</span>
</div>
<div class="flex justify-between items-center mb-4">
<div>
<span class="availability-dot out-of-stock"></span>
<span class="text-sm text-gray-600">Rupture de stock</span>
</div>
<div class="flex items-center">
<i class="fas fa-star text-yellow-400"></i>
<span class="text-sm ml-1">4.7</span>
</div>
</div>
<button class="w-full bg-gray-200 text-gray-500 py-2 rounded cursor-not-allowed" disabled>
Indisponible
</button>
</div>
</div>
<!-- Produit 5 -->
<div class="product-card bg-white rounded-lg overflow-hidden">
<div class="relative">
<img src="https://images.unsplash.com/photo-1552374196-1ab2a1c593e8?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="Chemise" class="w-full h-64 object-cover">
</div>
<div class="p-5">
<h3 class="font-bold text-lg mb-2">Chemise Lin Homme</h3>
<div class="mb-3">
<span class="text-lg font-bold text-gray-800">59,99€</span>
</div>
<div class="flex justify-between items-center mb-4">
<div>
<span class="availability-dot in-stock"></span>
<span class="text-sm text-gray-600">En stock (15)</span>
</div>
<div class="flex items-center">
<i class="fas fa-star text-yellow-400"></i>
<span class="text-sm ml-1">4.6</span>
</div>
</div>
<button class="w-full bg-gray-100 hover:bg-accent hover:text-white py-2 rounded transition duration-300">
<i class="fas fa-shopping-cart mr-2"></i>Ajouter au panier
</button>
</div>
</div>
<!-- Produit 6 -->
<div class="product-card bg-white rounded-lg overflow-hidden">
<div class="relative">
<img src="https://images.unsplash.com/photo-1595341888016-a392ef81b7de?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="Lunettes" class="w-full h-64 object-cover">
</div>
<div class="p-5">
<h3 class="font-bold text-lg mb-2">Lunettes de Soleil</h3>
<div class="mb-3">
<span class="text-lg font-bold text-gray-800">79,99€</span>
</div>
<div class="flex justify-between items-center mb-4">
<div>
<span class="availability-dot in-stock"></span>
<span class="text-sm text-gray-600">En stock (9)</span>
</div>
<div class="flex items-center">
<i class="fas fa-star text-yellow-400"></i>
<span class="text-sm ml-1">4.8</span>
</div>
</div>
<button class="w-full bg-gray-100 hover:bg-accent hover:text-white py-2 rounded transition duration-300">
<i class="fas fa-shopping-cart mr-2"></i>Ajouter au panier
</button>
</div>
</div>
<!-- Produit 7 -->
<div class="product-card bg-white rounded-lg overflow-hidden">
<div class="relative">
<img src="https://images.unsplash.com/photo-1595959183082-7b570b7e08e2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="Chaussures homme" class="w-full h-64 object-cover">
</div>
<div class="p-5">
<h3 class="font-bold text-lg mb-2">Chaussures Cuir Homme</h3>
<div class="mb-3">
<span class="text-lg font-bold text-gray-800">99,99€</span>
</div>
<div class="flex justify-between items-center mb-4">
<div>
<span class="availability-dot low-stock"></span>
<span class="text-sm text-gray-600">Stock limité (2)</span>
</div>
<div class="flex items-center">
<i class="fas fa-star text-yellow-400"></i>
<span class="text-sm ml-1">4.4</span>
</div>
</div>
<button class="w-full bg-gray-100 hover:bg-accent hover:text-white py-2 rounded transition duration-300">
<i class="fas fa-shopping-cart mr-2"></i>Ajouter au panier
</button>
</div>
</div>
<!-- Produit 8 -->
<div class="product-card bg-white rounded-lg overflow-hidden">
<div class="relative">
<img src="https://images.unsplash.com/photo-1611312449408-fcece27cdbb7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="Collier" class="w-full h-64 object-cover">
</div>
<div class="p-5">
<h3 class="font-bold text-lg mb-2">Collier Argent</h3>
<div class="mb-3">
<span class="text-lg font-bold text-gray-800">45,99€</span>
</div>
<div class="flex justify-between items-center mb-4">
<div>
<span class="availability-dot in-stock"></span>
<span class="text-sm text-gray-600">En stock (18)</span>
</div>
<div class="flex items-center">
<i class="fas fa-star text-yellow-400"></i>
<span class="text-sm ml-1">4.9</span>
</div>
</div>
<button class="w-full bg-gray-100 hover:bg-accent hover:text-white py-2 rounded transition duration-300">
<i class="fas fa-shopping-cart mr-2"></i>Ajouter au panier
</button>
</div>
</div>
</div>
<div class="mt-12 text-center">
<button class="bg-white border border-accent text-accent hover:bg-accent hover:text-white font-bold py-3 px-8 rounded-full transition duration-300">
Voir plus de produits
</button>
</div>
</div>
</section>
<!-- Newsletter -->
<section class="py-16 bg-gray-50">
<div class="container mx-auto px-4 text-center">
<h2 class="text-3xl font-bold mb-4">Restez informé</h2>
<p class="text-gray-600 mb-8 max-w-2xl mx-auto">Inscrivez-vous à notre newsletter pour recevoir nos dernières collections, promotions exclusives et conseils de style.</p>
<div class="max-w-md mx-auto flex">
<input type="email" placeholder="Votre adresse email" class="flex-grow px-4 py-3 rounded-l-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-accent">
<button class="bg-accent hover:bg-purple-700 text-white font-bold py-3 px-6 rounded-r-lg transition duration-300">
S'inscrire
</button>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-primary text-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-2xl font-bold mb-4">
<span class="text-accent">Figurines</span>1:72
</h3>
<p class="text-gray-300 mb-4">Votre spécialiste en figurines historiques à l'échelle 1:72 pour collectionneurs et maquettistes.</p>
<div class="flex space-x-4">
<a href="#" class="text-gray-300 hover:text-white"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="text-gray-300 hover:text-white"><i class="fab fa-instagram"></i></a>
<a href="#" class="text-gray-300 hover:text-white"><i class="fab fa-pinterest-p"></i></a>
<a href="#" class="text-gray-300 hover:text-white"><i class="fab fa-twitter"></i></a>
</div>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Navigation</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-300 hover:text-white">Accueil</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">Nouveautés</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">Collections</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">À propos</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">Contact</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Informations</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-300 hover:text-white">Livraison</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">Retours</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">Conditions d'utilisation</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">Politique de confidentialité</a></li>
<li><a href="#" class="text-gray-300 hover:text-white">FAQ</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-bold mb-4">Contact</h4>
<ul class="space-y-2 text-gray-300">
<li class="flex items-start">
<i class="fas fa-map-marker-alt mt-1 mr-3"></i>
<span>123 Avenue de la Mode, 75001 Paris</span>
</li>
<li class="flex items-center">
<i class="fas fa-phone-alt mr-3"></i>
<span>+33 1 23 45 67 89</span>
</li>
<li class="flex items-center">
<i class="fas fa-envelope mr-3"></i>
<span>contact@elegancemode.fr</span>
</li>
</ul>
</div>
</div>
<div class="border-t border-gray-700 mt-12 pt-8 text-center text-gray-400">
<p>&copy; 2023 ÉléganceMode. Tous droits réservés.</p>
</div>
</div>
</footer>
<script>
// Sticky header effect
window.addEventListener('scroll', function() {
const header = document.querySelector('.sticky-header');
if (window.scrollY > 50) {
header.classList.add('scrolled');
} else {
header.classList.remove('scrolled');
}
});
// Category buttons interaction
const categoryButtons = document.querySelectorAll('.category-btn');
categoryButtons.forEach(button => {
button.addEventListener('click', function() {
categoryButtons.forEach(btn => btn.classList.remove('active'));
this.classList.add('active');
});
});
// Product card hover effect
const productCards = document.querySelectorAll('.product-card');
productCards.forEach(card => {
card.addEventListener('mouseenter', function() {
this.style.transform = 'translateY(-5px)';
});
card.addEventListener('mouseleave', function() {
this.style.transform = 'translateY(0)';
});
});
</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=ALONE30/figurwar" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>