| class CustomFooter extends HTMLElement { |
| connectedCallback() { |
| this.attachShadow({ mode: 'open' }); |
| this.render(); |
| } |
|
|
| render() { |
| this.shadowRoot.innerHTML = ` |
| <style> |
| :host { |
| display: block; |
| } |
| |
| footer { |
| background: rgba(15, 23, 42, 0.8); |
| backdrop-filter: blur(20px); |
| border-top: 1px solid rgba(148, 163, 184, 0.1); |
| padding: 4rem 1.5rem 2rem; |
| } |
| |
| .footer-content { |
| max-width: 1400px; |
| margin: 0 auto; |
| } |
| |
| .footer-grid { |
| display: grid; |
| grid-template-columns: 2fr repeat(3, 1fr); |
| gap: 3rem; |
| margin-bottom: 3rem; |
| } |
| |
| @media (max-width: 1024px) { |
| .footer-grid { |
| grid-template-columns: repeat(2, 1fr); |
| } |
| } |
| |
| @media (max-width: 640px) { |
| .footer-grid { |
| grid-template-columns: 1fr; |
| } |
| } |
| |
| .brand { |
| max-width: 300px; |
| } |
| |
| .logo { |
| display: flex; |
| align-items: center; |
| gap: 0.75rem; |
| margin-bottom: 1rem; |
| text-decoration: none; |
| color: inherit; |
| } |
| |
| .logo-icon { |
| width: 40px; |
| height: 40px; |
| background: linear-gradient(135deg, #0ea5e9, #d946ef); |
| border-radius: 12px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| font-size: 1.5rem; |
| } |
| |
| .logo-text { |
| font-size: 1.5rem; |
| font-weight: 700; |
| background: linear-gradient(135deg, #0ea5e9, #d946ef); |
| -webkit-background-clip: text; |
| -webkit-text-fill-color: transparent; |
| } |
| |
| .brand-desc { |
| color: #64748b; |
| font-size: 0.9375rem; |
| line-height: 1.7; |
| margin-bottom: 1.5rem; |
| } |
| |
| .social-links { |
| display: flex; |
| gap: 1rem; |
| } |
| |
| .social-link { |
| width: 40px; |
| height: 40px; |
| border-radius: 12px; |
| background: rgba(30, 41, 59, 0.5); |
| border: 1px solid rgba(148, 163, 184, 0.1); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| color: #94a3b8; |
| transition: all 0.2s ease; |
| text-decoration: none; |
| } |
| |
| .social-link:hover { |
| background: rgba(14, 165, 233, 0.1); |
| border-color: #0ea5e9; |
| color: #0ea5e9; |
| } |
| |
| .footer-section h4 { |
| font-size: 0.875rem; |
| font-weight: 600; |
| color: #f8fafc; |
| text-transform: uppercase; |
| letter-spacing: 0.05em; |
| margin-bottom: 1.5rem; |
| } |
| |
| .footer-links { |
| display: flex; |
| flex-direction: column; |
| gap: 0.875rem; |
| } |
| |
| .footer-links a { |
| color: #64748b; |
| text-decoration: none; |
| font-size: 0.9375rem; |
| transition: color 0.2s ease; |
| } |
| |
| .footer-links a:hover { |
| color: #0ea5e9; |
| } |
| |
| .footer-bottom { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| padding-top: 2rem; |
| border-top: 1px solid rgba(148, 163, 184, 0.1); |
| flex-wrap: wrap; |
| gap: 1rem; |
| } |
| |
| .copyright { |
| color: #64748b; |
| font-size: 0.875rem; |
| } |
| |
| .footer-badges { |
| display: flex; |
| gap: 1rem; |
| } |
| |
| .badge { |
| padding: 0.5rem 1rem; |
| background: rgba(30, 41, 59, 0.5); |
| border: 1px solid rgba(148, 163, 184, 0.1); |
| border-radius: 8px; |
| font-size: 0.75rem; |
| color: #94a3b8; |
| } |
| </style> |
| |
| <footer> |
| <div class="footer-content"> |
| <div class="footer-grid"> |
| <div class="brand"> |
| <a href="index.html" class="logo"> |
| <div class="logo-icon">🌀</div> |
| <span class="logo-text">Vortex Cortex</span> |
| </a> |
| <p class="brand-desc"> |
| Professional-grade AI generation by Mostar Industries. |
| From 4K to 20K+ resolution, delivering pixel-perfect results. |
| </p> |
| <div class="social-links"> |
| <a href="#" class="social-link" title="Twitter"> |
| <i data-feather="twitter" style="width: 18px; height: 18px;"></i> |
| </a> |
| <a href="#" class="social-link" title="GitHub"> |
| <i data-feather="github" style="width: 18px; height: 18px;"></i> |
| </a> |
| <a href="#" class="social-link" title="Discord"> |
| <i data-feather="message-circle" style="width: 18px; height: 18px;"></i> |
| </a> |
| </div> |
| </div> |
| |
| <div class="footer-section"> |
| <h4>Product</h4> |
| <div class="footer-links"> |
| <a href="#studio">Generation Studio</a> |
| <a href="#gallery">Gallery</a> |
| <a href="#pricing">Pricing</a> |
| <a href="#api">API Access</a> |
| </div> |
| </div> |
| |
| <div class="footer-section"> |
| <h4>Resources</h4> |
| <div class="footer-links"> |
| <a href="#">Documentation</a> |
| <a href="#">Tutorials</a> |
| <a href="#">Model Guide</a> |
| <a href="#">Resolution Guide</a> |
| </div> |
| </div> |
| |
| <div class="footer-section"> |
| <h4>Company</h4> |
| <div class="footer-links"> |
| <a href="#">About</a> |
| <a href="#">Blog</a> |
| <a href="#">Careers</a> |
| <a href="#">Contact</a> |
| </div> |
| </div> |
| </div> |
| |
| <div class="footer-bottom"> |
| <p class="copyright">© 2024 Mostar Industries. All rights reserved.</p> |
| <div class="footer-badges"> |
| <span class="badge">4K Ready</span> |
| <span class="badge">8K Ready</span> |
| <span class="badge">16K+ Ready</span> |
| </div> |
| </div> |
| </div> |
| </footer> |
| `; |
| |
| if (window.feather) { |
| setTimeout(() => feather.replace(), 0); |
| } |
| } |
| } |
|
|
| customElements.define('custom-footer', CustomFooter); |