File size: 2,690 Bytes
dbf83e7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
class CustomFooter extends HTMLElement {
    connectedCallback() {
        this.attachShadow({ mode: 'open' });
        this.shadowRoot.innerHTML = `
            <style>
                footer {
                    background-color: #f9fafb;
                }
            </style>
            <footer class="border-t border-gray-200 mt-12">
                <div class="max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8">
                    <nav class="-mx-5 -my-2 flex flex-wrap justify-center" aria-label="Footer">
                        <div class="px-5 py-2">
                            <a href="#" class="text-gray-500 hover:text-gray-900">
                                About
                            </a>
                        </div>
                        <div class="px-5 py-2">
                            <a href="#" class="text-gray-500 hover:text-gray-900">
                                Privacy
                            </a>
                        </div>
                        <div class="px-5 py-2">
                            <a href="#" class="text-gray-500 hover:text-gray-900">
                                Terms
                            </a>
                        </div>
                        <div class="px-5 py-2">
                            <a href="#" class="text-gray-500 hover:text-gray-900">
                                Documentation
                            </a>
                        </div>
                        <div class="px-5 py-2">
                            <a href="#" class="text-gray-500 hover:text-gray-900">
                                Contact
                            </a>
                        </div>
                    </nav>
                    <div class="mt-8 flex justify-center space-x-6">
                        <a href="#" class="text-gray-400 hover:text-gray-500">
                            <i data-feather="twitter" class="w-6 h-6"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-gray-500">
                            <i data-feather="github" class="w-6 h-6"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-gray-500">
                            <i data-feather="linkedin" class="w-6 h-6"></i>
                        </a>
                    </div>
                    <p class="mt-8 text-center text-base text-gray-400">
                        &copy; ${new Date().getFullYear()} DataSync Wizard. All rights reserved.
                    </p>
                </div>
            </footer>
        `;
    }
}

customElements.define('custom-footer', CustomFooter);