undefined / footer.php
ProvidenceBara3's picture
also, make a contact page that should also be in php to be fully integrated in wordpress environment.
4967f94 verified
Raw History Blame Contribute Delete
3.73 kB
```php
<footer class="bg-gray-900 text-white py-12">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between">
<div class="mb-8 md:mb-0">
<div class="flex items-center space-x-4 mb-4">
<img src="http://static.photos/industry/200x200/5" alt="Logo" class="h-12 w-12 rounded-full">
<span class="font-bold text-xl">SOGEEC SARL</span>
</div>
<p class="mb-4 max-w-md">Experts en barrages hydroélectriques, construction routière et solutions d'infrastructure durables à travers l'Afrique.</p>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="facebook"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="linkedin"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="instagram"></i></a>
</div>
</div>
<div class="grid grid-cols-2 md:grid-cols-3 gap-8">
<div>
<h3 class="text-lg font-bold mb-4">Liens Rapides</h3>
<ul class="space-y-2">
<li><a href="<?php echo home_url('/'); ?>" class="text-gray-400 hover:text-white">Accueil</a></li>
<li><a href="<?php echo get_permalink(get_page_by_path('services')); ?>" class="text-gray-400 hover:text-white">Services</a></li>
<li><a href="<?php echo get_permalink(get_page_by_path('projects')); ?>" class="text-gray-400 hover:text-white">Projets</a></li>
<li><a href="#about" class="text-gray-400 hover:text-white">À Propos</a></li>
<li><a href="<?php echo get_permalink(get_option('page_for_posts')); ?>" class="text-gray-400 hover:text-white">Blog</a></li>
<li><a href="#contact" class="text-gray-400 hover:text-white">Contact</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold mb-4">Services</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Énergie Hydroélectrique</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Construction Routière</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Construction de Bâtiments</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Infrastructure</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Consulting</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold mb-4">Légal</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Conditions d'Utilisation</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Politique de Confidentialité</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Politique de Cookies</a></li>
</ul>
</div>
</div>
</div>
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
<p>&copy; <?php echo date('Y'); ?> SOGEEC SARL. Tous droits réservés. RCCM No: CD/BKV/RCCM/24-B-00071</p>
</div>
</div>
</footer>
<?php wp_footer(); ?>
```