make an e commerse website for electronics shop named bizrah, Done β I created the full **Bizrah Electronics** project scaffold (frontend React + Tailwind, plus Node/Express + MongoDB backend) in the canvas titled **"Bizrah - Full Stack E Commerce (React + Tailwind + Node+Mongo)"**.
e15bd5e
verified
| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| :host { | |
| display: block; | |
| background: #1e293b; | |
| color: white; | |
| padding: 3rem 0; | |
| } | |
| .footer-container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 0 2rem; | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 3rem; | |
| } | |
| .footer-section h3 { | |
| font-size: 1.25rem; | |
| font-weight: 600; | |
| margin-bottom: 1rem; | |
| color: #e2e8f0; | |
| } | |
| .footer-links { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.5rem; | |
| } | |
| .footer-link { | |
| color: #94a3b8; | |
| transition: color 0.2s; | |
| } | |
| .footer-link:hover { | |
| color: #60a5fa; | |
| } | |
| .social-links { | |
| display: flex; | |
| gap: 1rem; | |
| margin-top: 1rem; | |
| } | |
| .social-link { | |
| color: #94a3b8; | |
| font-size: 1.25rem; | |
| transition: all 0.2s; | |
| } | |
| .social-link:hover { | |
| color: #60a5fa; | |
| transform: translateY(-2px); | |
| } | |
| .copyright { | |
| text-align: center; | |
| margin-top: 3rem; | |
| padding-top: 2rem; | |
| border-top: 1px solid #334155; | |
| color: #94a3b8; | |
| font-size: 0.875rem; | |
| } | |
| </style> | |
| <div class="footer-container"> | |
| <div class="footer-section"> | |
| <h3>Bizrah Electronics</h3> | |
| <p>Your trusted source for premium electronics since 2015.</p> | |
| <div class="social-links"> | |
| <a href="#" class="social-link"><i class="fab fa-facebook"></i></a> | |
| <a href="#" class="social-link"><i class="fab fa-twitter"></i></a> | |
| <a href="#" class="social-link"><i class="fab fa-instagram"></i></a> | |
| <a href="#" class="social-link"><i class="fab fa-linkedin"></i></a> | |
| </div> | |
| </div> | |
| <div class="footer-section"> | |
| <h3>Shop</h3> | |
| <div class="footer-links"> | |
| <a href="/products.html" class="footer-link">All Products</a> | |
| <a href="/category/smartphones" class="footer-link">Smartphones</a> | |
| <a href="/category/laptops" class="footer-link">Laptops</a> | |
| <a href="/category/audio" class="footer-link">Audio</a> | |
| </div> | |
| </div> | |
| <div class="footer-section"> | |
| <h3>Support</h3> | |
| <div class="footer-links"> | |
| <a href="/contact.html" class="footer-link">Contact Us</a> | |
| <a href="/faq.html" class="footer-link">FAQs</a> | |
| <a href="/shipping.html" class="footer-link">Shipping Policy</a> | |
| <a href="/returns.html" class="footer-link">Returns</a> | |
| </div> | |
| </div> | |
| <div class="footer-section"> | |
| <h3>Company</h3> | |
| <div class="footer-links"> | |
| <a href="/about.html" class="footer-link">About Us</a> | |
| <a href="/blog.html" class="footer-link">Blog</a> | |
| <a href="/careers.html" class="footer-link">Careers</a> | |
| <a href="/privacy.html" class="footer-link">Privacy Policy</a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="copyright"> | |
| © ${new Date().getFullYear()} Bizrah Electronics. All rights reserved. | |
| </div> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |