File size: 3,788 Bytes
ae5581a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
class CustomFooter extends HTMLElement {
  connectedCallback() {
    this.attachShadow({ mode: 'open' });
    this.shadowRoot.innerHTML = `
      <style>
        .footer-link {
          transition: color 0.2s ease;
        }
        .footer-link:hover {
          color: #2563eb;
        }
        .social-icon {
          transition: all 0.2s ease;
        }
        .social-icon:hover {
          transform: translateY(-2px);
          color: #2563eb;
        }
      </style>
      <footer class="bg-gray-800 text-white py-12">
        <div class="container mx-auto px-4">
          <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
            <!-- Company Info -->
            <div>
              <h3 class="text-xl font-bold mb-4">Transfeero</h3>
              <p class="text-gray-400 mb-4">Making travel transfers simple, reliable and affordable worldwide.</p>
              <div class="flex space-x-4">
                <a href="#" class="social-icon text-gray-400 hover:text-white">
                  <i data-feather="facebook"></i>
                </a>
                <a href="#" class="social-icon text-gray-400 hover:text-white">
                  <i data-feather="twitter"></i>
                </a>
                <a href="#" class="social-icon text-gray-400 hover:text-white">
                  <i data-feather="instagram"></i>
                </a>
                <a href="#" class="social-icon text-gray-400 hover:text-white">
                  <i data-feather="linkedin"></i>
                </a>
              </div>
            </div>
            
            <!-- Quick Links -->
            <div>
              <h4 class="font-semibold mb-4">Quick Links</h4>
              <ul class="space-y-2">
                <li><a href="/" class="footer-link text-gray-400 hover:text-white">Home</a></li>
                <li><a href="/services" class="footer-link text-gray-400 hover:text-white">Services</a></li>
                <li><a href="/destinations" class="footer-link text-gray-400 hover:text-white">Destinations</a></li>
                <li><a href="/about" class="footer-link text-gray-400 hover:text-white">About Us</a></li>
              </ul>
            </div>
            
            <!-- Support -->
            <div>
              <h4 class="font-semibold mb-4">Support</h4>
              <ul class="space-y-2">
                <li><a href="/faq" class="footer-link text-gray-400 hover:text-white">FAQs</a></li>
                <li><a href="/contact" class="footer-link text-gray-400 hover:text-white">Contact Us</a></li>
                <li><a href="/privacy" class="footer-link text-gray-400 hover:text-white">Privacy Policy</a></li>
                <li><a href="/terms" class="footer-link text-gray-400 hover:text-white">Terms of Service</a></li>
              </ul>
            </div>
            
            <!-- Newsletter -->
            <div>
              <h4 class="font-semibold mb-4">Newsletter</h4>
              <p class="text-gray-400 mb-4">Subscribe for travel tips and exclusive offers.</p>
              <form class="flex">
                <input type="email" placeholder="Your email" class="bg-gray-700 text-white px-4 py-2 rounded-l-md focus:outline-none focus:ring-2 focus:ring-blue-600 w-full">
                <button type="submit" class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-r-md">
                  <i data-feather="send"></i>
                </button>
              </form>
            </div>
          </div>
          
          <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
            <p>&copy; ${new Date().getFullYear()} Transfeero. All rights reserved.</p>
          </div>
        </div>
      </footer>
    `;
  }
}
customElements.define('custom-footer', CustomFooter);