Create a modern, professional, interactive web page for **Test Case Management Demo**.
a85611d verified | class TestFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| :host { | |
| display: block; | |
| background-color: white; | |
| border-top: 1px solid #e2e8f0; | |
| padding: 2rem 0; | |
| margin-top: 3rem; | |
| } | |
| .footer-container { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| padding: 0 2rem; | |
| } | |
| .footer-content { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| text-align: center; | |
| } | |
| .footer-links { | |
| display: flex; | |
| gap: 1.5rem; | |
| margin-bottom: 1rem; | |
| } | |
| .footer-link { | |
| color: #64748b; | |
| text-decoration: none; | |
| transition: color 0.2s; | |
| } | |
| .footer-link:hover { | |
| color: #3b82f6; | |
| } | |
| .footer-copyright { | |
| color: #94a3b8; | |
| font-size: 0.875rem; | |
| } | |
| @media (min-width: 768px) { | |
| .footer-content { | |
| flex-direction: row; | |
| justify-content: space-between; | |
| text-align: left; | |
| } | |
| .footer-links { | |
| margin-bottom: 0; | |
| } | |
| } | |
| </style> | |
| <div class="footer-container"> | |
| <div class="footer-content"> | |
| <div class="footer-links"> | |
| <a href="#" class="footer-link">About</a> | |
| <a href="#" class="footer-link">Documentation</a> | |
| <a href="#" class="footer-link">Privacy</a> | |
| <a href="#" class="footer-link">Terms</a> | |
| <a href="#" class="footer-link">Contact</a> | |
| </div> | |
| <p class="footer-copyright">© 2023 TestCase Master Pro. All rights reserved.</p> | |
| </div> | |
| </div> | |
| `; | |
| } | |
| } | |
| customElements.define('test-footer', TestFooter); |