Changed footer
This commit is contained in:
@@ -1,40 +1,58 @@
|
||||
<footer class="bg-gray-900 text-white py-12">
|
||||
<div class="container mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
||||
<div>
|
||||
<h3 class="text-xl font-bold mb-4">TechInsights</h3>
|
||||
<p class="text-gray-400">Exploring the future of work and technology through thoughtful analysis and commentary.</p>
|
||||
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8">
|
||||
<div class="col-span-1">
|
||||
<h3 class="uppercase tracking-wider text-xl font-bold">{{ .Site.Title }}</h3>
|
||||
</div>
|
||||
<div>
|
||||
<h4 class="font-semibold mb-4">Explore</h4>
|
||||
<ul class="space-y-2">
|
||||
<li><a href="#" class="text-gray-400 hover:text-white">Home</a></li>
|
||||
<li><a href="#" class="text-gray-400 hover:text-white">Articles</a></li>
|
||||
<li><a href="#" class="text-gray-400 hover:text-white">Topics</a></li>
|
||||
<li><a href="#" class="text-gray-400 hover:text-white">About</a></li>
|
||||
|
||||
<div class="col-span-1">
|
||||
<h6 class="text-sm font-medium uppercase mb-4">Pages</h6>
|
||||
<ul class="list-none space-y-2">
|
||||
<li><a href="/" class="text-gray-400 hover:text-white">Accueil</a></li>
|
||||
{{ if .Site.Data.wordpress }}
|
||||
{{ range $index, $element := .Site.Data.wordpress.navigation }}
|
||||
<li>
|
||||
<a href="/pages/{{ $element.slug }}" class="text-gray-400 hover:text-white">{{ $element.title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<h4 class="font-semibold mb-4">Topics</h4>
|
||||
<ul class="space-y-2">
|
||||
<li><a href="#" class="text-gray-400 hover:text-white">AI</a></li>
|
||||
<li><a href="#" class="text-gray-400 hover:text-white">Remote Work</a></li>
|
||||
<li><a href="#" class="text-gray-400 hover:text-white">Productivity</a></li>
|
||||
<li><a href="#" class="text-gray-400 hover:text-white">Web3</a></li>
|
||||
|
||||
<div class="col-span-1">
|
||||
<h6 class="text-sm font-medium uppercase mb-4">Toutes les catégories</h6>
|
||||
<ul class="list-none space-y-2">
|
||||
{{ if .Site.Data.wordpress }}
|
||||
{{ range $index, $element := .Site.Data.wordpress.categories }}
|
||||
{{ if and (ne $element.name "Featured") (gt $element.count 0) }}
|
||||
<li>
|
||||
<a class="text-gray-400 hover:text-white" href="/{{ $element.slug }}">{{ $element.name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<h4 class="font-semibold mb-4">Connect</h4>
|
||||
<div class="flex space-x-4">
|
||||
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-twitter text-xl"></i></a>
|
||||
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-linkedin text-xl"></i></a>
|
||||
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-instagram text-xl"></i></a>
|
||||
<a href="#" class="text-gray-400 hover:text-white"><i class="fab fa-github text-xl"></i></a>
|
||||
|
||||
|
||||
|
||||
</div><!-- end grid -->
|
||||
</div><!-- end container -->
|
||||
<div class="bg-black py-4 mt-8">
|
||||
<div class="container mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div class="flex flex-col md:flex-row items-center justify-between gap-2 lg:gap-3">
|
||||
<div class="text-center md:text-start">
|
||||
<p class="text-gray-400">© {{ now.Format "2006" }} {{ .Site.Title }}, All Rights Reserved.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
|
||||
<p>© {{ now.Format "2006" }} TechInsights. All rights reserved.</p>
|
||||
</div>
|
||||
<div class="text-center md:text-end">
|
||||
<ul class="flex justify-center md:justify-end space-x-4">
|
||||
<li><a class="w-8 h-8 rounded-full flex items-center justify-center bg-blue-600 hover:bg-blue-700 text-white" href="https://www.facebook.com/mistergeekfrance"><i class="bi bi-facebook"></i></a></li>
|
||||
<!-- <li><a class="w-8 h-8 rounded-full flex items-center justify-center bg-blue-400 hover:bg-blue-500 text-white" href="#"><i class="bi bi-twitter-x"></i></a></li> -->
|
||||
<!-- <li><a class="w-8 h-8 rounded-full flex items-center justify-center bg-red-600 hover:bg-red-700 text-white" href="#"><i class="bi bi-pinterest"></i></a></li> -->
|
||||
<!-- <li><a class="w-8 h-8 rounded-full flex items-center justify-center bg-pink-600 hover:bg-pink-700 text-white" href="#"><i class="bi bi-instagram"></i></a></li> -->
|
||||
</ul>
|
||||
</div>
|
||||
</div><!-- end flex -->
|
||||
</div><!-- end container -->
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user