File size: 6,037 Bytes
d68d643
5b4aadb
 
 
 
 
d68d643
 
 
 
 
 
5b4aadb
d68d643
 
 
 
1f64198
d68d643
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1f64198
d68d643
 
 
 
 
 
5b4aadb
d68d643
 
5b4aadb
d68d643
5b4aadb
d68d643
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5b4aadb
 
d68d643
 
 
 
 
1f64198
 
 
5b4aadb
 
 
1f64198
5b4aadb
1f64198
 
 
 
5b4aadb
1f64198
 
5b4aadb
1f64198
 
5b4aadb
1f64198
 
5b4aadb
 
 
1f64198
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5b4aadb
 
 
 
 
 
 
1f64198
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184

class CustomFooter extends HTMLElement {
  connectedCallback() {
    this.attachShadow({ mode: 'open' });
    this.shadowRoot.innerHTML = `
      <style>
        :host {
          display: block;
          background: linear-gradient(to right, var(--primary), var(--secondary));
          color: white;
          padding: 3rem 1rem;
          margin-top: 3rem;
        }
        
        .footer-container {
          max-width: 1280px;
          margin: 0 auto;
        }
        
        .footer-grid {
          display: grid;
          grid-template-columns: 1fr;
          gap: 2.5rem;
        }
        
        .footer-logo {
          display: flex;
          align-items: center;
          gap: 0.75rem;
          margin-bottom: 1rem;
        }
        
        .footer-logo-icon {
          background: white;
          color: var(--primary);
          padding: 0.5rem;
          border-radius: 50%;
        }
        
        .footer-description {
          opacity: 0.9;
          margin-bottom: 1rem;
          font-size: 0.875rem;
        }
        
        .social-icons {
          display: flex;
          gap: 1rem;
        }
        
        .social-icon {
          opacity: 0.8;
          transition: opacity 0.2s;
        }
        
        .social-icon:hover {
          opacity: 1;
        }
        
        .footer-heading {
          font-size: 1.125rem;
          font-weight: 600;
          margin-bottom: 1rem;
        }
        
        .footer-links {
          display: flex;
          flex-direction: column;
          gap: 0.75rem;
        }
        
        .footer-link {
          display: flex;
          align-items: center;
          gap: 0.5rem;
          opacity: 0.8;
          transition: opacity 0.2s;
        }
        
        .footer-link:hover {
          opacity: 1;
        }
        
        .footer-link-icon {
          width: 1rem;
          height: 1rem;
        }
        
        .contact-item {
          display: flex;
          gap: 0.75rem;
          margin-bottom: 1rem;
        }
        
        .contact-icon {
          flex-shrink: 0;
          margin-top: 0.25rem;
        }
        
        .footer-divider {
          border-top: 1px solid rgba(255, 255, 255, 0.1);
          margin-top: 2.5rem;
          padding-top: 1.5rem;
          text-align: center;
          font-size: 0.875rem;
          opacity: 0.8;
        }
        
        @media (min-width: 768px) {
          .footer-grid {
            grid-template-columns: repeat(3, 1fr);
          }
        }
      </style>
      
      <footer>
        <div class="footer-container">
          <div class="footer-grid">
<div class="container mx-auto px-4 sm:px-6">
          <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
            <div>
              <div class="flex items-center space-x-3 mb-4">
                <div class="bg-white text-primary p-2 rounded-full">
                  <i data-feather="globe"></i>
                </div>
                <span class="text-2xl font-bold">Lingua Noel</span>
              </div>
              <p class="text-white opacity-90 mb-4">Your AI-powered language learning companion with a festive twist this holiday season.</p>
              <div class="flex space-x-4">
                <a href="#" class="social-icon text-white opacity-80 hover:opacity-100">
                  <i data-feather="facebook"></i>
                </a>
                <a href="#" class="social-icon text-white opacity-80 hover:opacity-100">
                  <i data-feather="twitter"></i>
                </a>
                <a href="#" class="social-icon text-white opacity-80 hover:opacity-100">
                  <i data-feather="instagram"></i>
                </a>
                <a href="#" class="social-icon text-white opacity-80 hover:opacity-100">
                  <i data-feather="youtube"></i>
                </a>
              </div>
            </div>
            
            <div>
              <h3 class="font-bold text-xl mb-4">Quick Links</h3>
              <ul class="space-y-2">
                <li><a href="/about.html" class="footer-link text-white opacity-80 hover:opacity-100 transition flex items-center"><i data-feather="chevron-right" class="mr-2 w-4 h-4"></i> About Us</a></li>
                <li><a href="/pricing.html" class="footer-link text-white opacity-80 hover:opacity-100 transition flex items-center"><i data-feather="chevron-right" class="mr-2 w-4 h-4"></i> Pricing</a></li>
                <li><a href="/support.html" class="footer-link text-white opacity-80 hover:opacity-100 transition flex items-center"><i data-feather="chevron-right" class="mr-2 w-4 h-4"></i> Support</a></li>
                <li><a href="/contact.html" class="footer-link text-white opacity-80 hover:opacity-100 transition flex items-center"><i data-feather="chevron-right" class="mr-2 w-4 h-4"></i> Contact</a></li>
              </ul>
            </div>
            
            <div>
              <h3 class="font-bold text-xl mb-4">Contact Info</h3>
              <ul class="space-y-3">
                <li class="flex items-start">
                  <i data-feather="mail" class="mr-3 mt-1 w-5 h-5"></i>
                  <span>support@linguanoelexample.com</span>
                </li>
                <li class="flex items-start">
                  <i data-feather="phone" class="mr-3 mt-1 w-5 h-5"></i>
                  <span>+1 (555) 123-4567</span>
                </li>
                <li class="flex items-start">
                  <i data-feather="map-pin" class="mr-3 mt-1 w-5 h-5"></i>
                  <span>123 Holiday Street, Christmasville, CV 12345</span>
                </li>
              </ul>
            </div>
          </div>
          
          <div class="border-t border-white border-opacity-20 mt-8 pt-6 text-center">
            <p class="text-white opacity-80">© 2023 Lingua Noel. All rights reserved.</p>
          </div>
        </div>
      </footer>
    `;
  }
}

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