Spaces:
Running
Running
| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| footer { | |
| background: rgba(255, 255, 255, 0.8); | |
| backdrop-filter: blur(10px); | |
| color: #4a5568; | |
| padding: 3rem 2rem; | |
| text-align: center; | |
| margin-top: 4rem; | |
| border-top: 1px solid rgba(0, 0, 0, 0.1); | |
| } | |
| .footer-content { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 2rem; | |
| text-align: left; | |
| } | |
| .footer-column h3 { | |
| font-size: 1.2rem; | |
| font-weight: 700; | |
| margin-bottom: 1.5rem; | |
| background: linear-gradient(to right, #9a6bff, #ff6b9a); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| .footer-links { | |
| list-style: none; | |
| padding: 0; | |
| margin: 0; | |
| } | |
| .footer-links li { | |
| margin-bottom: 0.75rem; | |
| } | |
| .footer-links a { | |
| color: #4a5568; | |
| text-decoration: none; | |
| transition: color 0.3s ease; | |
| } | |
| .footer-links a:hover { | |
| color: #9a6bff; | |
| } | |
| .social-links { | |
| display: flex; | |
| gap: 1rem; | |
| justify-content: center; | |
| margin-top: 2rem; | |
| } | |
| .social-links a { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| background: linear-gradient(to right, #9a6bff, #ff6b9a); | |
| color: white; | |
| transition: transform 0.3s ease; | |
| } | |
| .social-links a:hover { | |
| transform: translateY(-5px); | |
| } | |
| .copyright { | |
| margin-top: 3rem; | |
| padding-top: 1.5rem; | |
| border-top: 1px solid rgba(0, 0, 0, 0.1); | |
| font-size: 0.9rem; | |
| } | |
| @media (max-width: 768px) { | |
| .footer-content { | |
| grid-template-columns: 1fr; | |
| text-align: center; | |
| } | |
| .social-links { | |
| justify-content: center; | |
| } | |
| } | |
| </style> | |
| <footer> | |
| <div class="footer-content"> | |
| <div class="footer-column"> | |
| <h3>GXS Blue Transformation - Chuyển Đổi Xanh Dương</h3> | |
| <p>Committed to environmental excellence since 2023.</p> | |
| </div> | |
| <div class="footer-column"> | |
| <h3>Quick Links</h3> | |
| <ul class="footer-links"> | |
| <li><a href="/">Home</a></li> | |
| <li><a href="/about.html">About</a></li> | |
| <li><a href="/solutions.html">Our Solutions</a></li> | |
| <li><a href="/projects.html">Global Projects</a></li> | |
| <li><a href="/contact.html">Contact Us</a></li> | |
| </ul> | |
| </div> | |
| <div class="footer-column"> | |
| <h3>Connect With Us</h3> | |
| <div class="social-links"> | |
| <a href="#"><i data-feather="twitter"></i></a> | |
| <a href="#"><i data-feather="instagram"></i></a> | |
| <a href="#"><i data-feather="facebook"></i></a> | |
| <a href="#"><i data-feather="github"></i></a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="copyright"> | |
| © 2026 GXS Blue Transformation. All rights reserved. Made with <i data-feather="heart" class="inline" style="width: 14px; height: 14px; color: #ff6b9a;"></i> and magic. | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |