File size: 1,441 Bytes
001d03c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
class CustomFooter extends HTMLElement {
  connectedCallback() {
    this.attachShadow({ mode: 'open' });
    this.shadowRoot.innerHTML = `
      <style>
        footer {
          background-color: #1e293b;
          color: #e2e8f0;
        }
        .footer-link:hover {
          color: #818cf8;
        }
      </style>
      <footer class="py-8 px-6 mt-12">
        <div class="container mx-auto">
          <div class="flex flex-col md:flex-row justify-between items-center">
            <div class="mb-4 md:mb-0">
              <p class="text-sm">© 2023 Stadium Showdown Mod. All rights reserved.</p>
              <p class="text-xs text-gray-400 mt-1">For TheoTown game modding community</p>
            </div>
            <div class="flex space-x-4">
              <a href="#" class="footer-link text-sm flex items-center">
                <i data-feather="github" class="w-4 h-4 mr-1"></i>
                GitHub
              </a>
              <a href="#" class="footer-link text-sm flex items-center">
                <i data-feather="twitter" class="w-4 h-4 mr-1"></i>
                Twitter
              </a>
              <a href="#" class="footer-link text-sm flex items-center">
                <i data-feather="mail" class="w-4 h-4 mr-1"></i>
                Contact
              </a>
            </div>
          </div>
        </div>
      </footer>
    `;
  }
}
customElements.define('custom-footer', CustomFooter);