File size: 5,247 Bytes
ea5e784 | 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 | class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
footer {
background: #1a202c;
color: white;
padding: 3rem 2rem;
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
}
.footer-section h3 {
font-size: 1.2rem;
margin-bottom: 1rem;
font-weight: 600;
}
.footer-links {
list-style: none;
padding: 0;
margin: 0;
}
.footer-links li {
margin-bottom: 0.5rem;
}
.footer-links a {
color: #a0aec0;
text-decoration: none;
transition: color 0.2s;
}
.footer-links a:hover {
color: white;
}
.social-icons {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
.social-icons a {
color: white;
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
transition: background 0.2s;
}
.social-icons a:hover {
background: rgba(255, 255, 255, 0.2);
}
.copyright {
text-align: center;
margin-top: 3rem;
padding-top: 1.5rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
font-size: 0.875rem;
color: #a0aec0;
}
@media (max-width: 640px) {
.footer-container {
grid-template-columns: 1fr;
}
}
</style>
<footer>
<div class="footer-container">
<div class="footer-section">
<h3>Shop</h3>
<ul class="footer-links">
<li><a href="/category/men?StoreID=tinder0001-20">Men's Fashion</a></li>
<li><a href="/category/women?StoreID=tinder0001-20">Women's Fashion</a></li>
<li><a href="/category/electronics?StoreID=tinder0001-20">Electronics</a></li>
<li><a href="/category/home?StoreID=tinder0001-20">Home & Living</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Customer Service</h3>
<ul class="footer-links">
<li><a href="/contact?StoreID=tinder0001-20">Contact Us</a></li>
<li><a href="/faq?StoreID=tinder0001-20">FAQs</a></li>
<li><a href="/shipping?StoreID=tinder0001-20">Shipping Info</a></li>
<li><a href="/returns?StoreID=tinder0001-20">Returns & Exchanges</a></li>
</ul>
</div>
<div class="footer-section">
<h3>About Us</h3>
<ul class="footer-links">
<li><a href="/about?StoreID=tinder0001-20">Our Story</a></li>
<li><a href="/blog?StoreID=tinder0001-20">Blog</a></li>
<li><a href="/careers?StoreID=tinder0001-20">Careers</a></li>
<li><a href="/press?StoreID=tinder0001-20">Press</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Connect With Us</h3>
<div class="social-icons">
<a href="https://facebook.com?StoreID=tinder0001-20"><i data-feather="facebook"></i></a>
<a href="https://twitter.com?StoreID=tinder0001-20"><i data-feather="twitter"></i></a>
<a href="https://instagram.com?StoreID=tinder0001-20"><i data-feather="instagram"></i></a>
<a href="https://pinterest.com?StoreID=tinder0001-20"><i data-feather="youtube"></i></a>
</div>
</div>
</div>
<div class="copyright">
<p>© 2023 TinderTrack. All rights reserved. StoreID: tinder0001-20</p>
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter); |