Spaces:
Running
Running
Update index.html
Browse files- index.html +131 -62
index.html
CHANGED
|
@@ -3,25 +3,14 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>
|
| 7 |
-
<meta name="description" content="✓ Catalogue mis à jour ✓ Produits disponibles ✓ Livraison rapide.">
|
| 8 |
-
<meta name="robots" content="index, follow">
|
| 9 |
-
<meta name="keywords" content="catalogue, produits, services, e-commerce">
|
| 10 |
-
<meta property="og:type" content="website">
|
| 11 |
-
<meta property="og:title" content="Catalogue de Produits - Nom de votre entreprise">
|
| 12 |
-
<meta property="og:description" content="Découvrez nos derniers produits disponibles avec livraison rapide.">
|
| 13 |
-
<meta property="og:site_name" content="Nom de votre entreprise">
|
| 14 |
-
<link rel="canonical" href="https://votre-site-web.com/catalogue" />
|
| 15 |
-
<link href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" rel="stylesheet">
|
| 16 |
-
|
| 17 |
<style>
|
| 18 |
:root {
|
| 19 |
--primary-color: #2563eb;
|
| 20 |
-
--secondary-color: #
|
| 21 |
-
--
|
| 22 |
-
--background-color: #
|
| 23 |
-
--
|
| 24 |
-
--card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
| 25 |
}
|
| 26 |
|
| 27 |
* {
|
|
@@ -31,8 +20,8 @@
|
|
| 31 |
}
|
| 32 |
|
| 33 |
body {
|
| 34 |
-
font-family:
|
| 35 |
-
background
|
| 36 |
color: var(--text-color);
|
| 37 |
line-height: 1.6;
|
| 38 |
}
|
|
@@ -40,119 +29,199 @@
|
|
| 40 |
.container {
|
| 41 |
max-width: 1200px;
|
| 42 |
margin: 0 auto;
|
| 43 |
-
padding: 0
|
| 44 |
}
|
| 45 |
|
| 46 |
header {
|
| 47 |
-
background
|
| 48 |
-
|
| 49 |
padding: 2rem 0;
|
| 50 |
-
|
| 51 |
}
|
| 52 |
|
| 53 |
header h1 {
|
|
|
|
| 54 |
font-size: 2.5rem;
|
| 55 |
margin-bottom: 0.5rem;
|
| 56 |
-
font-weight: 700;
|
| 57 |
}
|
| 58 |
|
| 59 |
-
|
| 60 |
-
|
| 61 |
font-size: 1.1rem;
|
| 62 |
}
|
| 63 |
|
| 64 |
.products-grid {
|
| 65 |
display: grid;
|
| 66 |
-
grid-template-columns: repeat(auto-fit, minmax(
|
| 67 |
-
gap:
|
| 68 |
-
padding:
|
| 69 |
}
|
| 70 |
|
| 71 |
.product-card {
|
| 72 |
-
background:
|
| 73 |
-
border-radius:
|
|
|
|
| 74 |
overflow: hidden;
|
| 75 |
-
|
| 76 |
-
transition: transform 0.3s ease;
|
| 77 |
}
|
| 78 |
|
| 79 |
.product-card:hover {
|
| 80 |
-
transform: translateY(-
|
|
|
|
| 81 |
}
|
| 82 |
|
| 83 |
.product-image {
|
| 84 |
width: 100%;
|
| 85 |
-
height:
|
| 86 |
object-fit: cover;
|
| 87 |
}
|
| 88 |
|
| 89 |
.product-content {
|
| 90 |
-
padding: 1.
|
| 91 |
}
|
| 92 |
|
| 93 |
.product-title {
|
| 94 |
-
|
|
|
|
| 95 |
margin-bottom: 0.5rem;
|
| 96 |
-
color: var(--text-color);
|
| 97 |
}
|
| 98 |
|
| 99 |
.product-description {
|
| 100 |
-
color: #
|
| 101 |
-
margin-bottom:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 102 |
}
|
| 103 |
|
| 104 |
.product-price {
|
| 105 |
font-size: 1.25rem;
|
| 106 |
-
font-weight:
|
| 107 |
color: var(--primary-color);
|
| 108 |
-
margin:
|
| 109 |
}
|
| 110 |
|
| 111 |
footer {
|
| 112 |
-
background-color:
|
| 113 |
color: white;
|
| 114 |
-
|
| 115 |
-
|
| 116 |
}
|
| 117 |
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
font-size: 1.5rem;
|
| 121 |
-
margin-bottom: 1rem;
|
| 122 |
}
|
| 123 |
|
| 124 |
@media (max-width: 768px) {
|
| 125 |
.products-grid {
|
| 126 |
grid-template-columns: 1fr;
|
| 127 |
}
|
| 128 |
-
|
| 129 |
-
header h1 {
|
| 130 |
-
font-size: 2rem;
|
| 131 |
-
}
|
| 132 |
}
|
| 133 |
</style>
|
| 134 |
</head>
|
| 135 |
<body>
|
| 136 |
-
<header
|
| 137 |
<div class="container">
|
| 138 |
-
<h1>
|
| 139 |
-
<p
|
| 140 |
</div>
|
| 141 |
</header>
|
| 142 |
|
| 143 |
-
<main class="container
|
| 144 |
-
<div class="products-grid">
|
| 145 |
-
<!--
|
| 146 |
</div>
|
| 147 |
</main>
|
| 148 |
|
| 149 |
<footer>
|
| 150 |
<div class="container">
|
| 151 |
-
<
|
| 152 |
-
|
| 153 |
-
<p>Livraison rapide et produits de qualité.</p>
|
| 154 |
-
</div>
|
| 155 |
</div>
|
| 156 |
</footer>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 157 |
</body>
|
| 158 |
</html>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Tech Innovators - Catalogue de Produits Technologiques</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
<style>
|
| 8 |
:root {
|
| 9 |
--primary-color: #2563eb;
|
| 10 |
+
--secondary-color: #60a5fa;
|
| 11 |
+
--text-color: #333;
|
| 12 |
+
--background-color: #f4f4f5;
|
| 13 |
+
--card-background: #ffffff;
|
|
|
|
| 14 |
}
|
| 15 |
|
| 16 |
* {
|
|
|
|
| 20 |
}
|
| 21 |
|
| 22 |
body {
|
| 23 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
| 24 |
+
background: linear-gradient(135deg, var(--background-color) 0%, #e6e9f0 100%);
|
| 25 |
color: var(--text-color);
|
| 26 |
line-height: 1.6;
|
| 27 |
}
|
|
|
|
| 29 |
.container {
|
| 30 |
max-width: 1200px;
|
| 31 |
margin: 0 auto;
|
| 32 |
+
padding: 0 15px;
|
| 33 |
}
|
| 34 |
|
| 35 |
header {
|
| 36 |
+
background-color: var(--card-background);
|
| 37 |
+
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
| 38 |
padding: 2rem 0;
|
| 39 |
+
text-align: center;
|
| 40 |
}
|
| 41 |
|
| 42 |
header h1 {
|
| 43 |
+
color: var(--primary-color);
|
| 44 |
font-size: 2.5rem;
|
| 45 |
margin-bottom: 0.5rem;
|
|
|
|
| 46 |
}
|
| 47 |
|
| 48 |
+
header p {
|
| 49 |
+
color: #6b7280;
|
| 50 |
font-size: 1.1rem;
|
| 51 |
}
|
| 52 |
|
| 53 |
.products-grid {
|
| 54 |
display: grid;
|
| 55 |
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
| 56 |
+
gap: 1.5rem;
|
| 57 |
+
padding: 2rem 0;
|
| 58 |
}
|
| 59 |
|
| 60 |
.product-card {
|
| 61 |
+
background-color: var(--card-background);
|
| 62 |
+
border-radius: 12px;
|
| 63 |
+
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
|
| 64 |
overflow: hidden;
|
| 65 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
|
|
| 66 |
}
|
| 67 |
|
| 68 |
.product-card:hover {
|
| 69 |
+
transform: translateY(-10px);
|
| 70 |
+
box-shadow: 0 8px 25px rgba(0,0,0,0.15);
|
| 71 |
}
|
| 72 |
|
| 73 |
.product-image {
|
| 74 |
width: 100%;
|
| 75 |
+
height: 250px;
|
| 76 |
object-fit: cover;
|
| 77 |
}
|
| 78 |
|
| 79 |
.product-content {
|
| 80 |
+
padding: 1.25rem;
|
| 81 |
}
|
| 82 |
|
| 83 |
.product-title {
|
| 84 |
+
color: var(--primary-color);
|
| 85 |
+
font-size: 1.25rem;
|
| 86 |
margin-bottom: 0.5rem;
|
|
|
|
| 87 |
}
|
| 88 |
|
| 89 |
.product-description {
|
| 90 |
+
color: #6b7280;
|
| 91 |
+
margin-bottom: 0.75rem;
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
.product-status {
|
| 95 |
+
font-weight: bold;
|
| 96 |
+
margin-bottom: 0.5rem;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
.product-status.in-stock {
|
| 100 |
+
color: #10b981;
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
.product-promo {
|
| 104 |
+
background-color: #ef4444;
|
| 105 |
+
color: white;
|
| 106 |
+
display: inline-block;
|
| 107 |
+
padding: 0.25rem 0.5rem;
|
| 108 |
+
border-radius: 20px;
|
| 109 |
+
font-size: 0.8rem;
|
| 110 |
+
margin-bottom: 0.5rem;
|
| 111 |
}
|
| 112 |
|
| 113 |
.product-price {
|
| 114 |
font-size: 1.25rem;
|
| 115 |
+
font-weight: bold;
|
| 116 |
color: var(--primary-color);
|
| 117 |
+
margin-bottom: 0.5rem;
|
| 118 |
}
|
| 119 |
|
| 120 |
footer {
|
| 121 |
+
background-color: var(--primary-color);
|
| 122 |
color: white;
|
| 123 |
+
text-align: center;
|
| 124 |
+
padding: 2rem 0;
|
| 125 |
}
|
| 126 |
|
| 127 |
+
footer h2 {
|
| 128 |
+
margin-bottom: 0.75rem;
|
|
|
|
|
|
|
| 129 |
}
|
| 130 |
|
| 131 |
@media (max-width: 768px) {
|
| 132 |
.products-grid {
|
| 133 |
grid-template-columns: 1fr;
|
| 134 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
}
|
| 136 |
</style>
|
| 137 |
</head>
|
| 138 |
<body>
|
| 139 |
+
<header>
|
| 140 |
<div class="container">
|
| 141 |
+
<h1>Tech Innovators</h1>
|
| 142 |
+
<p>Produits technologiques et artisanaux de qualité</p>
|
| 143 |
</div>
|
| 144 |
</header>
|
| 145 |
|
| 146 |
+
<main class="container">
|
| 147 |
+
<div id="products-grid" class="products-grid">
|
| 148 |
+
<!-- Products will be dynamically added here -->
|
| 149 |
</div>
|
| 150 |
</main>
|
| 151 |
|
| 152 |
<footer>
|
| 153 |
<div class="container">
|
| 154 |
+
<h2>Tech Innovators</h2>
|
| 155 |
+
<p>Livraison rapide et produits de qualité. Contactez-nous au +226 56 88 88 79</p>
|
|
|
|
|
|
|
| 156 |
</div>
|
| 157 |
</footer>
|
| 158 |
+
|
| 159 |
+
<script>
|
| 160 |
+
const products = [
|
| 161 |
+
{
|
| 162 |
+
name: "Smartphone X",
|
| 163 |
+
description: "Un smartphone performant avec 128 Go de stockage.",
|
| 164 |
+
price: 250000,
|
| 165 |
+
currency: "FCFA",
|
| 166 |
+
image: "smartphone.jpg",
|
| 167 |
+
status: "En stock",
|
| 168 |
+
promoPercentage: null,
|
| 169 |
+
location: {
|
| 170 |
+
ville: "Ouagadougou",
|
| 171 |
+
quartier: "Nagrin"
|
| 172 |
+
},
|
| 173 |
+
contact: "+22656888878"
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
name: "Solution CRM",
|
| 177 |
+
description: "Logiciel de gestion de la relation client.",
|
| 178 |
+
price: 500000,
|
| 179 |
+
currency: "FCFA",
|
| 180 |
+
image: "crm_solution.jpg",
|
| 181 |
+
status: "Disponible sur commande",
|
| 182 |
+
promoPercentage: 10,
|
| 183 |
+
location: {
|
| 184 |
+
ville: "Ouagadougou",
|
| 185 |
+
quartier: "Zogona"
|
| 186 |
+
},
|
| 187 |
+
contact: "+22656888879"
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
name: "Panier artisanal",
|
| 191 |
+
description: "Panier en osier fait main, durable et élégant.",
|
| 192 |
+
price: 15000,
|
| 193 |
+
currency: "FCFA",
|
| 194 |
+
image: "panier.jpg",
|
| 195 |
+
status: "En stock",
|
| 196 |
+
promoPercentage: 5,
|
| 197 |
+
location: {
|
| 198 |
+
ville: "Bobo-Dioulasso",
|
| 199 |
+
quartier: "Koko"
|
| 200 |
+
},
|
| 201 |
+
contact: "+22656888787"
|
| 202 |
+
}
|
| 203 |
+
];
|
| 204 |
+
|
| 205 |
+
function renderProducts() {
|
| 206 |
+
const grid = document.getElementById('products-grid');
|
| 207 |
+
grid.innerHTML = products.map(product => `
|
| 208 |
+
<div class="product-card">
|
| 209 |
+
<img src="${product.image}" alt="${product.name}" class="product-image">
|
| 210 |
+
<div class="product-content">
|
| 211 |
+
<h2 class="product-title">${product.name}</h2>
|
| 212 |
+
<p class="product-description">${product.description}</p>
|
| 213 |
+
<p class="product-status ${product.status === 'En stock' ? 'in-stock' : ''}">${product.status}</p>
|
| 214 |
+
${product.promoPercentage ? `<div class="product-promo">-${product.promoPercentage}%</div>` : ''}
|
| 215 |
+
<p class="product-price">${product.price.toLocaleString()} ${product.currency}</p>
|
| 216 |
+
<small>${product.location.ville} - ${product.location.quartier}</small>
|
| 217 |
+
<br>
|
| 218 |
+
<small>Contact: ${product.contact}</small>
|
| 219 |
+
</div>
|
| 220 |
+
</div>
|
| 221 |
+
`).join('');
|
| 222 |
+
}
|
| 223 |
+
|
| 224 |
+
renderProducts();
|
| 225 |
+
</script>
|
| 226 |
</body>
|
| 227 |
</html>
|