Spaces:
Running
Running
File size: 10,288 Bytes
3ed01af | 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 | ```php
<?php
/**
* The Projects page template
*
* @package SOGEEC
* @since 1.0
*/
get_header();
?>
<main id="primary" class="site-main">
<!-- Projects Hero Section -->
<section class="bg-primary text-white py-24">
<div class="container mx-auto px-4 text-center">
<h1 class="text-4xl md:text-5xl font-bold mb-6">Nos Réalisations</h1>
<p class="text-xl max-w-3xl mx-auto">Découvrez nos projets phares qui transforment les infrastructures à travers l'Afrique</p>
</div>
</section>
<!-- Projects Filter -->
<section class="py-12 bg-gray-50">
<div class="container mx-auto px-4">
<div class="flex flex-wrap justify-center gap-4">
<button class="px-6 py-2 rounded-full bg-white text-primary font-medium shadow-md hover:bg-primary hover:text-white transition-all">Tous les projets</button>
<button class="px-6 py-2 rounded-full bg-white text-gray-600 font-medium hover:bg-primary hover:text-white transition-all">Hydroélectricité</button>
<button class="px-6 py-2 rounded-full bg-white text-gray-600 font-medium hover:bg-primary hover:text-white transition-all">Routes</button>
<button class="px-6 py-2 rounded-full bg-white text-gray-600 font-medium hover:bg-primary hover:text-white transition-all">Bâtiments</button>
<button class="px-6 py-2 rounded-full bg-white text-gray-600 font-medium hover:bg-primary hover:text-white transition-all">Infrastructure</button>
</div>
</div>
</section>
<!-- Projects Grid -->
<section class="py-16">
<div class="container mx-auto px-4">
<?php
$projects = [
[
'title' => 'Barrage Hydroélectrique de Sange',
'category' => 'Hydroélectricité',
'location' => 'Sud-Kivu, RDC',
'year' => '2023',
'image' => 'http://static.photos/energy/1024x576/7',
'description' => 'Projet de 150kW pour alimenter 6000 résidents avec une solution énergétique durable.'
],
[
'title' => 'Station de Carburant Jet-A de Goma',
'category' => 'Infrastructure',
'location' => 'Nord-Kivu, RDC',
'year' => '2022',
'image' => 'http://static.photos/aviation/1024x576/3',
'description' => 'Station de carburant aviation de 200 000 litres près de l\'aéroport international.'
],
[
'title' => 'Entrepôt Rapide de Kakamega',
'category' => 'Bâtiments',
'location' => 'Kakamega, Kenya',
'year' => '2021',
'image' => 'http://static.photos/warehouse/1024x576/8',
'description' => 'Entrepôt portable de 1 450m² construit en seulement 7 jours avec technologie modulaire.'
],
[
'title' => 'Route RN5 - Section Bukavu-Kavumu',
'category' => 'Routes',
'location' => 'Sud-Kivu, RDC',
'year' => '2023',
'image' => 'http://static.photos/road/1024x576/12',
'description' => '8km de route utilisant la technologie AsphalTech pour une durabilité accrue.'
],
[
'title' => 'Centre de Santé de Bunia',
'category' => 'Bâtiments',
'location' => 'Ituri, RDC',
'year' => '2022',
'image' => 'http://static.photos/medical/1024x576/5',
'description' => 'Structure médicale moderne de 800m² avec équipements de pointe.'
],
[
'title' => 'Pont sur la rivière Luhoho',
'category' => 'Infrastructure',
'location' => 'Nord-Kivu, RDC',
'year' => '2021',
'image' => 'http://static.photos/bridge/1024x576/9',
'description' => 'Pont de 42m permettant de relier deux communes isolées pendant la saison des pluies.'
]
];
foreach (array_chunk($projects, 2) as $project_row) : ?>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8 mb-16">
<?php foreach ($project_row as $project) : ?>
<div class="project-card bg-white rounded-xl overflow-hidden shadow-xl transition-all duration-500 hover:-translate-y-2">
<div class="relative">
<img src="<?php echo $project['image']; ?>" alt="<?php echo $project['title']; ?>" class="w-full h-64 object-cover">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-6">
<span class="inline-block px-3 py-1 bg-white text-primary text-sm font-medium rounded-full mb-2"><?php echo $project['category']; ?></span>
<h3 class="text-2xl font-bold text-white"><?php echo $project['title']; ?></h3>
</div>
</div>
<div class="p-8">
<div class="flex justify-between items-center mb-4">
<div class="flex items-center text-gray-500">
<i data-feather="map-pin" class="w-4 h-4 mr-2"></i>
<span><?php echo $project['location']; ?></span>
</div>
<div class="text-gray-500"><?php echo $project['year']; ?></div>
</div>
<p class="text-gray-600 mb-6"><?php echo $project['description']; ?></p>
<div class="flex justify-between items-center">
<div class="flex space-x-2">
<span class="px-3 py-1 bg-primary bg-opacity-10 text-primary text-sm rounded-full">150kW</span>
<span class="px-3 py-1 bg-primary bg-opacity-10 text-primary text-sm rounded-full">6 mois</span>
</div>
<a href="#" class="text-secondary font-medium flex items-center hover:text-yellow-600">
Détails <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
</div>
<?php endforeach; ?>
</div>
<?php endforeach; ?>
</div>
</section>
<!-- Project Stats -->
<section class="py-16 bg-primary text-white">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 text-center">
<div>
<div class="text-5xl font-bold mb-4">25+</div>
<h3 class="text-xl font-medium">Projets Réalisés</h3>
</div>
<div>
<div class="text-5xl font-bold mb-4">5+</div>
<h3 class="text-xl font-medium">Pays Desservis</h3>
</div>
<div>
<div class="text-5xl font-bold mb-4">100%</div>
<h3 class="text-xl font-medium">Satisfaction Client</h3>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12 text-primary">Témoignages Clients</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<?php
$testimonials = [
[
'name' => 'Dr. Jacques Mumbere',
'role' => 'Ministère des Infrastructures, RDC',
'content' => 'SOGEEC a livré notre projet de barrage dans les délais et avec une qualité exceptionnelle. Leur expertise en énergie hydroélectrique est remarquable.',
'image' => 'http://static.photos/people/200x200/1'
],
[
'name' => 'Mme. Amina Kiprop',
'role' => 'Directrice, Kakamega Logistics',
'content' => 'L\'entrepôt construit par SOGEEC a révolutionné nos opérations. En seulement 7 jours, nous avions une solution fonctionnelle et durable.',
'image' => 'http://static.photos/people/200x200/2'
]
];
foreach ($testimonials as $testimonial) : ?>
<div class="bg-gray-50 p-8 rounded-xl">
<div class="flex items-center mb-6">
<img src="<?php echo $testimonial['image']; ?>" alt="<?php echo $testimonial['name']; ?>" class="w-12 h-12 rounded-full mr-4">
<div>
<h4 class="font-bold"><?php echo $testimonial['name']; ?></h4>
<p class="text-gray-600 text-sm"><?php echo $testimonial['role']; ?></p>
</div>
</div>
<p class="text-gray-700 italic">"<?php echo $testimonial['content']; ?>"</p>
<div class="mt-4 flex space-x-1 text-yellow-400">
<?php for ($i = 0; $i < 5; $i++) : ?>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<?php endfor; ?>
</div>
</div>
<?php endforeach; ?>
</div>
</div>
</section>
</main><!-- #main -->
<?php
get_footer();
?>
``` |