File size: 6,100 Bytes
97f71e2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93ce3ba
97f71e2
 
93ce3ba
97f71e2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36f931e
8a1f5d0
36f931e
97f71e2
36f931e
 
 
 
97f71e2
36f931e
97f71e2
36f931e
97f71e2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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);