File size: 36,103 Bytes
7a2bed3 179280c 7a2bed3 179280c 1588c58 179280c 7a2bed3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 |
<!DOCTYPE html>
<html lang="fr" class="scroll-smooth">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Portfolio d'art et d'illustrations modernes - Décoration intérieure avec des œuvres uniques - Artiste spécialisé en illustrations minimalistes">
<meta name="keywords" content="art, décoration, illustration, portfolio artistique, œuvres d'art, design intérieur">
<title>E-mage | Portfolio d'Art et Illustrations</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
olive: '#6B8E23',
lightolive: '#8FBC8F',
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
},
}
}
}
</script>
<style>
#admin-panel {
transition: opacity 0.3s ease;
}
#admin-panel:not(.hidden) {
opacity: 1;
}
.gallery-item {
transition: all 0.3s ease;
}
.gallery-item:hover {
transform: scale(1.03);
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.language-selector {
appearance: none;
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B8E23' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: right 0.5rem center;
background-size: 1em;
}
.mobile-menu {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-out;
}
.mobile-menu.open {
max-height: 500px;
}
.logo-container img {
transition: transform 0.3s ease;
}
.logo-container:hover img {
transform: scale(1.05);
}
</style>
</head>
<body class="font-sans bg-white text-gray-800 antialiased">
<!-- Header -->
<header class="sticky top-0 z-50 bg-white shadow-sm">
<div class="container mx-auto px-4 py-4 flex justify-between items-center">
<a href="#home" class="logo-container">
<img src="chemin/vers/votre/logo.png" alt="E-mage Logo" class="h-10">
</a>
<!-- Desktop Navigation -->
<nav class="hidden md:flex space-x-8">
<a href="#home" class="hover:text-olive transition">Accueil</a>
<a href="#portfolio" class="hover:text-olive transition">Portfolio</a>
<a href="#about" class="hover:text-olive transition">À propos</a>
<a href="#contact" class="hover:text-olive transition">Contact</a>
<select class="language-selector bg-transparent border-none text-sm focus:ring-0 focus:outline-none text-olive">
<option value="fr">FR</option>
<option value="en">EN</option>
<option value="fi">FI</option>
</select>
</nav>
<!-- Mobile Menu Button -->
<button id="mobile-menu-button" class="md:hidden text-olive focus:outline-none">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
</svg>
</button>
</div>
<!-- Mobile Navigation -->
<div id="mobile-menu" class="mobile-menu md:hidden bg-white">
<div class="container mx-auto px-4 py-2 flex flex-col space-y-4">
<a href="#home" class="py-2 hover:text-olive transition">Accueil</a>
<a href="#portfolio" class="py-2 hover:text-olive transition">Portfolio</a>
<a href="#about" class="py-2 hover:text-olive transition">À propos</a>
<a href="#contact" class="py-2 hover:text-olive transition">Contact</a>
<div class="flex space-x-4 py-2">
<span class="text-sm text-gray-500">Langue:</span>
<a href="#" class="text-sm text-olive">FR</a>
<a href="#" class="text-sm">EN</a>
<a href="#" class="text-sm">FI</a>
</div>
</div>
</div>
</header>
<!-- Hero Section -->
<section id="home" class="relative bg-gradient-to-b from-lightolive to-white">
<div class="container mx-auto px-4 py-20 md:py-32 flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0">
<h1 class="text-4xl md:text-5xl font-bold text-gray-800 mb-6">Art & Illustrations <span class="text-olive">Uniques</span></h1>
<p class="text-lg text-gray-600 mb-8">Découvrez des œuvres d'art originales et des illustrations qui transforment vos espaces en lieux d'inspiration.</p>
<div class="flex space-x-4">
<a href="#portfolio" class="bg-olive text-white px-6 py-3 rounded-lg hover:bg-opacity-90 transition">Voir le portfolio</a>
<a href="#contact" class="border border-olive text-olive px-6 py-3 rounded-lg hover:bg-olive hover:text-white transition">Contactez-moi</a>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<img src="https://www.e-mage.fi/wp-content/uploads/2023/05/emage-illustration-1.png" alt="Illustration artistique" class="rounded-lg shadow-xl max-w-full h-auto md:max-w-md">
</div>
</div>
</section>
<!-- Portfolio Section -->
<section id="portfolio" class="py-20 bg-white">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-800 mb-4">Portfolio d'<span class="text-olive">Illustrations</span></h2>
<p class="text-gray-600 max-w-2xl mx-auto">Explorez une collection d'œuvres d'art et d'illustrations qui allient esthétique moderne et sensibilité artistique.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Portfolio Item 1 -->
<div class="gallery-item bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
<img src="https://www.e-mage.fi/wp-content/uploads/2023/05/emage-illustration-2.png" alt="Illustration minimaliste" class="w-full h-64 object-cover">
<div class="p-6">
<h3 class="text-xl font-semibold mb-2">Harmonie Naturelle</h3>
<p class="text-gray-600 mb-4">Illustration minimaliste inspirée par les formes organiques.</p>
<a href="#" class="text-olive font-medium hover:underline">Voir en détail</a>
</div>
</div>
<!-- Portfolio Item 2 -->
<div class="gallery-item bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
<img src="https://www.e-mage.fi/wp-content/uploads/2023/05/emage-illustration-3.png" alt="Décoration murale" class="w-full h-64 object-cover">
<div class="p-6">
<h3 class="text-xl font-semibold mb-2">Équilibre Urbain</h3>
<p class="text-gray-600 mb-4">Série limitée pour décoration murale contemporaine.</p>
<a href="#" class="text-olive font-medium hover:underline">Voir en détail</a>
</div>
</div>
<!-- Portfolio Item 3 -->
<div class="gallery-item bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
<img src="https://www.e-mage.fi/wp-content/uploads/2023/05/emage-illustration-4.png" alt="Art abstrait" class="w-full h-64 object-cover">
<div class="p-6">
<h3 class="text-xl font-semibold mb-2">Rythmes Abstraits</h3>
<p class="text-gray-600 mb-4">Exploration de formes géométriques et de couleurs.</p>
<a href="#" class="text-olive font-medium hover:underline">Voir en détail</a>
</div>
</div>
<!-- Portfolio Item 4 -->
<div class="gallery-item bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
<img src="https://www.e-mage.fi/wp-content/uploads/2023/05/emage-illustration-5.png" alt="Illustration botanique" class="w-full h-64 object-cover">
<div class="p-6">
<h3 class="text-xl font-semibold mb-2">Flore Imaginaire</h3>
<p class="text-gray-600 mb-4">Interprétation moderne de motifs botaniques.</p>
<a href="#" class="text-olive font-medium hover:underline">Voir en détail</a>
</div>
</div>
<!-- Portfolio Item 5 -->
<div class="gallery-item bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
<img src="https://www.e-mage.fi/wp-content/uploads/2023/05/emage-illustration-6.png" alt="Design graphique" class="w-full h-64 object-cover">
<div class="p-6">
<h3 class="text-xl font-semibold mb-2">Synthèse Graphique</h3>
<p class="text-gray-600 mb-4">Expérimentations avec des éléments graphiques purs.</p>
<a href="#" class="text-olive font-medium hover:underline">Voir en détail</a>
</div>
</div>
<!-- Portfolio Item 6 -->
<div class="gallery-item bg-white rounded-lg overflow-hidden shadow-md hover:shadow-lg transition">
<img src="https://www.e-mage.fi/wp-content/uploads/2023/05/emage-illustration-7.png" alt="Illustration conceptuelle" class="w-full h-64 object-cover">
<div class="p-6">
<h3 class="text-xl font-semibold mb-2">Concept Minimal</h3>
<p class="text-gray-600 mb-4">Illustration conceptuelle avec un style épuré.</p>
<a href="#" class="text-olive font-medium hover:underline">Voir en détail</a>
</div>
</div>
</div>
<div class="text-center mt-12">
<a href="#" class="inline-block border border-olive text-olive px-6 py-3 rounded-lg hover:bg-olive hover:text-white transition">
Voir plus d'œuvres
</a>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="py-20 bg-gray-50">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-10 md:mb-0 md:pr-10">
<img src="https://www.e-mage.fi/wp-content/uploads/2023/05/emage-about.png" alt="À propos de l'artiste" class="rounded-lg shadow-lg max-w-full h-auto">
</div>
<div class="md:w-1/2">
<h2 class="text-3xl font-bold text-gray-800 mb-6">À propos de <span class="text-olive">l'artiste</span></h2>
<p class="text-gray-600 mb-6">Je suis un artiste et illustrateur passionné par la création d'œuvres qui évoquent émotion et harmonie. Mon travail s'inspire des formes naturelles, de l'architecture moderne et des mouvements artistiques minimalistes.</p>
<p class="text-gray-600 mb-6">Avec plus de 10 ans d'expérience dans le domaine de l'illustration et du design, j'ai développé un style unique qui allie précision technique et sensibilité artistique.</p>
<p class="text-gray-600 mb-8">Chaque pièce est créée avec soin et attention aux détails, visant à apporter beauté et inspiration dans les espaces de vie et de travail.</p>
<div class="flex space-x-4">
<a href="#" class="flex items-center text-gray-600 hover:text-olive transition">
<svg class="w-5 h-5 mr-2" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 2C6.477 2 2 6.477 2 12c0 4.42 2.865 8.167 6.839 9.49.5.09.682-.217.682-.482 0-.237-.008-.866-.013-1.7-2.782.603-3.369-1.34-3.369-1.34-.454-1.156-1.11-1.462-1.11-1.462-.908-.62.069-.608.069-.608 1.003.07 1.531 1.03 1.531 1.03.892 1.529 2.341 1.087 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.11-4.555-4.943 0-1.091.39-1.984 1.029-2.683-.103-.253-.446-1.27.098-2.647 0 0 .84-.268 2.75 1.025A9.578 9.578 0 0112 6.836c.85.004 1.705.115 2.504.337 1.909-1.293 2.747-1.025 2.747-1.025.546 1.377.203 2.394.1 2.647.64.699 1.028 1.592 1.028 2.683 0 3.842-2.339 4.687-4.566 4.935.359.309.678.919.678 1.852 0 1.336-.012 2.415-.012 2.743 0 .267.18.578.688.48C19.138 20.163 22 16.418 22 12c0-5.523-4.477-10-10-10z"></path>
</svg>
Voir mon processus
</a>
</div>
</div>
</div>
</div>
</section>
<!-- Testimonials Section -->
<section class="py-16 bg-olive text-white">
<div class="container mx-auto px-4">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold mb-4">Ce qu'ils en disent</h2>
<p class="max-w-2xl mx-auto opacity-90">Découvrez les retours de clients et collectionneurs qui ont acquis mes œuvres.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<!-- Testimonial 1 -->
<div class="bg-white bg-opacity-10 p-8 rounded-lg">
<div class="flex items-center mb-4">
<div class="text-2xl text-lightolive mr-2">“</div>
<p class="italic">L'illustration que j'ai acquise apporte une touche d'élégance et de modernité à mon salon. La qualité est exceptionnelle.</p>
</div>
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-white bg-opacity-20 mr-3"></div>
<div>
<h4 class="font-medium">Sophie L.</h4>
<p class="text-sm opacity-80">Collectionneuse d'art</p>
</div>
</div>
</div>
<!-- Testimonial 2 -->
<div class="bg-white bg-opacity-10 p-8 rounded-lg">
<div class="flex items-center mb-4">
<div class="text-2xl text-lightolive mr-2">“</div>
<p class="italic">Nous avons commandé une œuvre sur mesure pour notre entreprise et le résultat a dépassé nos attentes. Professionnalisme remarquable.</p>
</div>
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-white bg-opacity-20 mr-3"></div>
<div>
<h4 class="font-medium">Marc D.</h4>
<p class="text-sm opacity-80">Directeur créatif</p>
</div>
</div>
</div>
<!-- Testimonial 3 -->
<div class="bg-white bg-opacity-10 p-8 rounded-lg">
<div class="flex items-center mb-4">
<div class="text-2xl text-lightolive mr-2">“</div>
<p class="italic">Le style unique de cet artiste apporte une atmosphère particulière à notre espace d'exposition. Les visiteurs adorent.</p>
</div>
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-white bg-opacity-20 mr-3"></div>
<div>
<h4 class="font-medium">Emma K.</h4>
<p class="text-sm opacity-80">Galerie d'art</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="py-20 bg-white">
<div class="container mx-auto px-4">
<div class="max-w-4xl mx-auto">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-800 mb-4">Contactez-<span class="text-olive">moi</span></h2>
<p class="text-gray-600">Pour des commandes spéciales, collaborations ou simplement pour en savoir plus sur mon travail.</p>
</div>
<form class="grid grid-cols-1 md:grid-cols-2 gap-8">
<div>
<label for="name" class="block text-gray-700 mb-2">Nom complet</label>
<input type="text" id="name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-olive focus:border-olive outline-none transition">
</div>
<div>
<label for="email" class="block text-gray-700 mb-2">Email</label>
<input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-olive focus:border-olive outline-none transition">
</div>
<div>
<label for="subject" class="block text-gray-700 mb-2">Sujet</label>
<select id="subject" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-olive focus:border-olive outline-none transition">
<option value="">Sélectionnez un sujet</option>
<option value="commission">Commande spéciale</option>
<option value="collaboration">Collaboration</option>
<option value="exhibition">Exposition</option>
<option value="other">Autre</option>
</select>
</div>
<div>
<label for="phone" class="block text-gray-700 mb-2">Téléphone (optionnel)</label>
<input type="tel" id="phone" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-olive focus:border-olive outline-none transition">
</div>
<div class="md:col-span-2">
<label for="message" class="block text-gray-700 mb-2">Message</label>
<textarea id="message" rows="5" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-olive focus:border-olive outline-none transition"></textarea>
</div>
<div class="md:col-span-2 flex justify-center">
<button type="submit" class="bg-olive text-white px-8 py-3 rounded-lg hover:bg-opacity-90 transition">Envoyer le message</button>
</div>
</form>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-800 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-xl font-bold text-olive mb-4">E-MAGE</h3>
<p class="text-gray-400">Portfolio d'art et d'illustrations contemporaines. Créations uniques pour décoration intérieure et collections.</p>
</div>
<div>
<h4 class="font-semibold mb-4">Navigation</h4>
<ul class="space-y-2">
<li><a href="#home" class="text-gray-400 hover:text-olive transition">Accueil</a></li>
<li><a href="#portfolio" class="text-gray-400 hover:text-olive transition">Portfolio</a></li>
<li><a href="#about" class="text-gray-400 hover:text-olive transition">À propos</a></li>
<li><a href="#contact" class="text-gray-400 hover:text-olive transition">Contact</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Informations</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-olive transition">Conditions générales</a></li>
<li><a href="#" class="text-gray-400 hover:text-olive transition">Politique de confidentialité</a></li>
<li><a href="#" class="text-gray-400 hover:text-olive transition">FAQ</a></li>
<li><a href="#" class="text-gray-400 hover:text-olive transition">Livraison & retours</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Réseaux sociaux</h4>
<div class="flex space-x-4">
<a href="#" class="w-10 h-10 rounded-full bg-gray-700 flex items-center justify-center hover:bg-olive transition">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
<path d="M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z"></path>
</svg>
</a>
<a href="#" class="w-10 h-10 rounded-full bg-gray-700 flex items-center justify-center hover:bg-olive transition">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"></path>
</svg>
</a>
</div>
<div class="mt-6">
<h4 class="font-semibold mb-2">Langues</h4>
<div class="flex space-x-2">
<a href="#" class="text-sm bg-gray-700 px-3 py-1 rounded hover:bg-olive transition">FR</a>
<a href="#" class="text-sm bg-gray-700 px-3 py-1 rounded hover:bg-olive transition">EN</a>
<a href="#" class="text-sm bg-gray-700 px-3 py-1 rounded hover:bg-olive transition">FI</a>
</div>
</div>
</div>
</div>
<div class="border-t border-gray-700 mt-12 pt-8 text-center text-gray-400">
<p>© 2023 E-MAGE. Tous droits réservés.</p>
</div>
</div>
</footer>
<!-- Admin Floating Button -->
<div id="admin-button" class="fixed bottom-8 right-8 z-50">
<button class="bg-gray-800 text-white w-12 h-12 rounded-full shadow-lg hover:bg-olive transition flex items-center justify-center">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z" />
</svg>
</button>
</div>
<!-- Admin Panel (hidden by default) -->
<div id="admin-panel" class="fixed inset-0 bg-black bg-opacity-50 z-50 hidden">
<div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 bg-white rounded-lg shadow-xl w-full max-w-2xl max-h-[90vh] overflow-y-auto">
<div class="p-6">
<div class="flex justify-between items-center mb-6">
<h3 class="text-xl font-bold text-gray-800">Tableau de bord d'administration</h3>
<button id="close-admin" class="text-gray-500 hover:text-gray-700">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
</svg>
</button>
</div>
<div class="space-y-6">
<div>
<h4 class="font-medium mb-3">Modifier le contenu</h4>
<div class="space-y-4">
<div>
<label class="block text-sm text-gray-600 mb-1">Titre principal</label>
<input type="text" id="edit-main-title" class="w-full px-3 py-2 border rounded">
</div>
<div>
<label class="block text-sm text-gray-600 mb-1">Sous-titre</label>
<input type="text" id="edit-main-subtitle" class="w-full px-3 py-2 border rounded">
</div>
</div>
</div>
<div>
<h4 class="font-medium mb-3">Galerie</h4>
<div class="space-y-4" id="gallery-editor">
<!-- Gallery items will be added here dynamically -->
</div>
<button id="add-gallery-item" class="mt-3 text-sm text-olive hover:underline">+ Ajouter un élément</button>
</div>
<div class="pt-4 border-t">
<button id="save-changes" class="bg-olive text-white px-4 py-2 rounded hover:bg-opacity-90">Enregistrer les modifications</button>
</div>
</div>
</div>
</div>
</div>
<script>
// Admin panel toggle
document.getElementById('admin-button').addEventListener('click', function() {
document.getElementById('admin-panel').classList.remove('hidden');
loadCurrentContent();
});
document.getElementById('close-admin').addEventListener('click', function() {
document.getElementById('admin-panel').classList.add('hidden');
});
// Load current content into form
function loadCurrentContent() {
// Main title and subtitle
const mainTitle = document.querySelector('#home h1').textContent;
const mainSubtitle = document.querySelector('#home p').textContent;
document.getElementById('edit-main-title').value = mainTitle;
document.getElementById('edit-main-subtitle').value = mainSubtitle;
// Gallery items
const galleryItems = document.querySelectorAll('#portfolio .gallery-item');
const galleryEditor = document.getElementById('gallery-editor');
galleryEditor.innerHTML = '';
galleryItems.forEach((item, index) => {
const title = item.querySelector('h3').textContent;
const description = item.querySelector('p').textContent;
galleryEditor.innerHTML += `
<div class="border p-4 rounded" data-index="${index}">
<div class="flex justify-between mb-2">
<h5 class="font-medium">Élément ${index + 1}</h5>
<button class="text-red-500 text-sm delete-item">Supprimer</button>
</div>
<div class="space-y-2">
<div>
<label class="block text-xs text-gray-500 mb-1">Titre</label>
<input type="text" value="${title}" class="w-full px-2 py-1 border rounded gallery-title">
</div>
<div>
<label class="block text-xs text-gray-500 mb-1">Description</label>
<input type="text" value="${description}" class="w-full px-2 py-1 border rounded gallery-desc">
</div>
</div>
</div>
`;
});
}
// Save changes
document.getElementById('save-changes').addEventListener('click', function() {
// Update main title and subtitle
const newTitle = document.getElementById('edit-main-title').value;
const newSubtitle = document.getElementById('edit-main-subtitle').value;
document.querySelector('#home h1').textContent = newTitle;
document.querySelector('#home p').textContent = newSubtitle;
// Update gallery items
document.querySelectorAll('#gallery-editor [data-index]').forEach(editorItem => {
const index = editorItem.getAttribute('data-index');
const galleryItem = document.querySelectorAll('#portfolio .gallery-item')[index];
if (galleryItem) {
const newTitle = editorItem.querySelector('.gallery-title').value;
const newDesc = editorItem.querySelector('.gallery-desc').value;
galleryItem.querySelector('h3').textContent = newTitle;
galleryItem.querySelector('p').textContent = newDesc;
}
});
// Close panel
document.getElementById('admin-panel').classList.add('hidden');
alert('Modifications enregistrées!');
});
// Add new gallery item
document.getElementById('add-gallery-item').addEventListener('click', function() {
const galleryEditor = document.getElementById('gallery-editor');
const newIndex = galleryEditor.children.length;
galleryEditor.innerHTML += `
<div class="border p-4 rounded" data-index="${newIndex}">
<div class="flex justify-between mb-2">
<h5 class="font-medium">Nouvel élément</h5>
<button class="text-red-500 text-sm delete-item">Supprimer</button>
</div>
<div class="space-y-2">
<div>
<label class="block text-xs text-gray-500 mb-1">Titre</label>
<input type="text" value="Nouveau titre" class="w-full px-2 py-1 border rounded gallery-title">
</div>
<div>
<label class="block text-xs text-gray-500 mb-1">Description</label>
<input type="text" value="Nouvelle description" class="w-full px-2 py-1 border rounded gallery-desc">
</div>
</div>
</div>
`;
});
// Delete gallery item
document.addEventListener('click', function(e) {
if (e.target.classList.contains('delete-item')) {
if (confirm('Supprimer cet élément?')) {
e.target.closest('[data-index]').remove();
}
}
});
// Mobile menu toggle
document.getElementById('mobile-menu-button').addEventListener('click', function() {
const menu = document.getElementById('mobile-menu');
menu.classList.toggle('open');
});
// Language selector
document.querySelector('.language-selector').addEventListener('change', function() {
// In a real implementation, this would redirect to the selected language version
console.log('Language changed to:', this.value);
});
// Smooth scrolling for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const targetId = this.getAttribute('href');
if (targetId === '#') return;
const targetElement = document.querySelector(targetId);
if (targetElement) {
targetElement.scrollIntoView({
behavior: 'smooth'
});
// Close mobile menu if open
const mobileMenu = document.getElementById('mobile-menu');
if (mobileMenu.classList.contains('open')) {
mobileMenu.classList.remove('open');
}
}
});
});
// Form submission
const contactForm = document.querySelector('form');
if (contactForm) {
contactForm.addEventListener('submit', function(e) {
e.preventDefault();
alert('Merci pour votre message! Je vous répondrai dès que possible.');
this.reset();
});
}
</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=driir/eric" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |