Ghostgim's picture
okay so our Gmail is;developerscomplex@gmail.com
36f931e verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
.footer-link {
transition: all 0.2s ease;
}
.footer-link:hover {
color: #10b981;
transform: translateX(4px);
}
.social-icon {
transition: all 0.2s ease;
}
.social-icon:hover {
transform: translateY(-3px);
}
</style>
<footer class="bg-gray-900 text-gray-300 py-16 px-6">
<div class="max-w-7xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-4 gap-12">
<div>
<div class="flex items-center mb-6">
<img src="https://huggingface.co/spaces/Ghostgim/codecraft-complex-devs/resolve/main/images/Screenshot%202025-11-02%20064654.png" alt="CodeCraft Complex Logo" class="w-10 h-10 mr-3 glow-effect">
<span class="text-xl font-bold text-white">CodeCraft Complex</span>
</div>
<p class="mb-6">Full-spectrum digital solutions for businesses of all sizes.</p>
<div class="flex space-x-4">
<a href="#" class="social-icon text-gray-400 hover:text-primary-500">
<i data-feather="twitter"></i>
</a>
<a href="#" class="social-icon text-gray-400 hover:text-primary-500">
<i data-feather="linkedin"></i>
</a>
<a href="#" class="social-icon text-gray-400 hover:text-primary-500">
<i data-feather="github"></i>
</a>
<a href="#" class="social-icon text-gray-400 hover:text-primary-500">
<i data-feather="facebook"></i>
</a>
</div>
</div>
<div>
<h3 class="text-white text-lg font-semibold mb-6">Services</h3>
<ul class="space-y-3">
<li><a href="#" class="footer-link flex items-center"><i data-feather="chevron-right" class="w-4 h-4 mr-2"></i> Web Development</a></li>
<li><a href="#" class="footer-link flex items-center"><i data-feather="chevron-right" class="w-4 h-4 mr-2"></i> AI Integration</a></li>
<li><a href="#" class="footer-link flex items-center"><i data-feather="chevron-right" class="w-4 h-4 mr-2"></i> Cybersecurity</a></li>
<li><a href="#" class="footer-link flex items-center"><i data-feather="chevron-right" class="w-4 h-4 mr-2"></i> Cloud Migration</a></li>
</ul>
</div>
<div>
<h3 class="text-white text-lg font-semibold mb-6">Company</h3>
<ul class="space-y-3">
<li><a href="#" class="footer-link flex items-center"><i data-feather="chevron-right" class="w-4 h-4 mr-2"></i> About Us</a></li>
<li><a href="#" class="footer-link flex items-center"><i data-feather="chevron-right" class="w-4 h-4 mr-2"></i> Our Process</a></li>
<li><a href="#" class="footer-link flex items-center"><i data-feather="chevron-right" class="w-4 h-4 mr-2"></i> Careers</a></li>
<li><a href="#" class="footer-link flex items-center"><i data-feather="chevron-right" class="w-4 h-4 mr-2"></i> Blog</a></li>
</ul>
</div>
<div>
<h3 class="text-white text-lg font-semibold mb-6">Contact</h3>
<ul class="space-y-3">
<li class="flex items-start">
<i data-feather="mail" class="w-5 h-5 mr-3 mt-1"></i>
<span>contact@codecraftcomplex.com</span>
</li>
<li class="flex items-start">
<i data-feather="phone" class="w-5 h-5 mr-3 mt-1"></i>
<span>+254 718 733 968</span>
</li>
<li class="flex items-start">
<i data-feather="mail" class="w-5 h-5 mr-3 mt-1"></i>
<span>developerscomplex@gmail.com</span>
</li>
<li class="flex items-start">
<i data-feather="map-pin" class="w-5 h-5 mr-3 mt-1"></i>
<span>Nairobi, Ongata Rongai</span>
</li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500">
<p>&copy; <span id="current-year"></span> CodeCraft Complex Devs. All rights reserved.</p>
</div>
</div>
<script>
// Set current year
document.getElementById('current-year').textContent = new Date().getFullYear();
// Initialize feather icons
feather.replace();
</script>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter);