File size: 3,553 Bytes
82bd6ab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
class CustomFooter extends HTMLElement {
    connectedCallback() {
        this.attachShadow({ mode: 'open' });
        this.shadowRoot.innerHTML = `
            <style>
                .social-icon {
                    transition: all 0.2s ease;
                }
                .social-icon:hover {
                    transform: translateY(-2px);
                    color: #6366f1;
                }
            </style>
            <footer class="bg-gray-900 text-white py-12">
                <div class="max-w-7xl 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-lg font-semibold mb-4">ReadySetCode</h3>
                            <p class="text-gray-400">Your AI-powered development assistant for creating beautiful, responsive websites.</p>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold mb-4">Quick Links</h3>
                            <ul class="space-y-2">
                                <li><a href="/" class="text-gray-400 hover:text-white">Home</a></li>
                                <li><a href="#features" class="text-gray-400 hover:text-white">Features</a></li>
                                <li><a href="#about" class="text-gray-400 hover:text-white">About</a></li>
                                <li><a href="#contact" class="text-gray-400 hover:text-white">Contact</a></li>
                            </ul>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold mb-4">Resources</h3>
                            <ul class="space-y-2">
                                <li><a href="#" class="text-gray-400 hover:text-white">Documentation</a></li>
                                <li><a href="#" class="text-gray-400 hover:text-white">Examples</a></li>
                                <li><a href="#" class="text-gray-400 hover:text-white">Tutorials</a></li>
                            </ul>
                        </div>
                        
                        <div>
                            <h3 class="text-lg font-semibold mb-4">Connect</h3>
                            <div class="flex space-x-4">
                                <a href="#" class="social-icon text-gray-400">
                                    <i data-feather="twitter"></i>
                                </a>
                                <a href="#" class="social-icon text-gray-400">
                                    <i data-feather="github"></i>
                                </a>
                                <a href="#" class="social-icon text-gray-400">
                                    <i data-feather="linkedin"></i>
                                </a>
                                <a href="#" class="social-icon text-gray-400">
                                    <i data-feather="mail"></i>
                                </a>
                            </div>
                        </div>
                    </div>
                    
                    <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
                        <p>© ${new Date().getFullYear()} ReadySetCode Wizardry. All rights reserved.</p>
                    </div>
                </div>
            </footer>
        `;
    }
}
customElements.define('custom-footer', CustomFooter);