File size: 5,250 Bytes
8a5c175
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
class CustomFooter extends HTMLElement {
  connectedCallback() {
    this.attachShadow({ mode: 'open' });
    this.shadowRoot.innerHTML = `
      <style>
        footer {
          background: #111827;
          border-top: 1px solid #374151;
          padding: 3rem 2rem 2rem;
          margin-top: 4rem;
        }
        
        .footer-content {
          max-width: 1280px;
          margin: 0 auto;
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
          gap: 2rem;
          margin-bottom: 2rem;
        }
        
        .footer-section h3 {
          color: white;
          font-size: 1.125rem;
          font-weight: bold;
          margin-bottom: 1rem;
        }
        
        .footer-section ul {
          list-style: none;
          padding: 0;
          margin: 0;
        }
        
        .footer-section ul li {
          margin-bottom: 0.5rem;
        }
        
        .footer-section a {
          color: #9ca3af;
          text-decoration: none;
          transition: color 0.3s;
        }
        
        .footer-section a:hover {
          color: #ef4444;
        }
        
        .footer-bottom {
          max-width: 1280px;
          margin: 0 auto;
          padding-top: 2rem;
          border-top: 1px solid #374151;
          text-align: center;
          color: #6b7280;
        }
        
        .social-links {
          display: flex;
          gap: 1rem;
          margin-top: 1rem;
        }
        
        .social-links a {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 40px;
          height: 40px;
          background: #374151;
          border-radius: 50%;
          transition: background 0.3s;
        }
        
        .social-links a:hover {
          background: #ef4444;
        }
      </style>
      
      <footer>
        <div class="footer-content">
          <div class="footer-section">
            <h3>Wear.Fun</h3>
            <p style="color: #9ca3af; line-height: 1.6;">
              From memes to merch - turn your favorite jokes into wearable art in seconds.
            </p>
            <div class="social-links">
              <a href="#" aria-label="Twitter">
                <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                  <path d="M23 3a10.9 10.9 0 01-3.14 1.53 4.48 4.48 0 00-7.86 3v1A10.66 10.66 0 013 4s-4 9 5 13a11.64 11.64 0 01-7 2c9 5 20 0 20-11.5a4.5 4.5 0 00-.08-.83A7.72 7.72 0 0023 3z"></path>
                </svg>
              </a>
              <a href="#" aria-label="Instagram">
                <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                  <rect x="2" y="2" width="20" height="20" rx="5" ry="5"></rect>
                  <path d="M16 11.37A4 4 0 1112.63 8 4 4 0 0116 11.37z"></path>
                  <line x1="17.5" y1="6.5" x2="17.51" y2="6.5"></line>
                </svg>
              </a>
              <a href="#" aria-label="Discord">
                <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
                  <path d="M8.51 7.26c0-.4-.32-.73-.72-.73-.4 0-.72.33-.72.73v.07c0 .4.32.72.72.72.4 0 .72-.32.72-.72v-.07zm3.91 0c0-.4-.32-.73-.72-.73-.4 0-.72.33-.72.73v.07c0 .4.32.72.72.72.4 0 .72-.32.72-.72v-.07z"></path>
                  <path d="M20.79 4.23A17.6 17.6 0 0015.7 2.4 18.4 18.4 0 0015.1 3.8a16.2 16.2 0 00-4.8 0A18.4 18.4 0 009.6 2.4 17.6 17.6 0 004.5 4.23a16.9 16.9 0 00-2.4 6.3 16.7 16.7 0 001.4 10.7c.6.9 1.3 1.7 2.1 2.4.8.7 1.7 1.3 2.7 1.8.4-.5.8-1 1.1-1.5a11.6 11.6 0 01-2.5-1.2l.6-.3c5.2 2.4 10.8 2.4 15.9 0l.6.3a11.6 11.6 0 01-2.5 1.2c.3.5.7 1 1.1 1.5 1-.5 1.9-1.1 2.7-1.8.8-.7 1.5-1.5 2.1-2.4a16.7 16.7 0 001.4-10.7 16.9 16.9 0 00-2.4-6.3z"></path>
                </svg>
              </a>
            </div>
          </div>
          
          <div class="footer-section">
            <h3>Quick Links</h3>
            <ul>
              <li><a href="/">Home</a></li>
              <li><a href="/meme.html">Create Design</a></li>
              <li><a href="/shop.html">Shop</a></li>
              <li><a href="/about.html">About Us</a></li>
            </ul>
          </div>
          
          <div class="footer-section">
            <h3>Products</h3>
            <ul>
              <li><a href="/shop.html">T-Shirts</a></li>
              <li><a href="/shop.html">Hoodies</a></li>
              <li><a href="/shop.html">Mugs</a></li>
              <li><a href="/shop.html">Accessories</a></li>
            </ul>
          </div>
          
          <div class="footer-section">
            <h3>Support</h3>
            <ul>
              <li><a href="#">Contact Us</a></li>
              <li><a href="#">FAQ</a></li>
              <li><a href="#">Shipping Info</a></li>
              <li><a href="#">Returns</a></li>
            </ul>
          </div>
        </div>
        
        <div class="footer-bottom">
          <p>&copy; 2024 Wear.Fun. All rights reserved. | Turn memes into merch ๐Ÿš€</p>
        </div>
      </footer>
    `;
  }
}

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