Spaces:
Running
Running
Create a software product page with hero demo video, features comparison table, integration logos, API documentation link, use cases with examples, security certifications, customer stories, and free trial signup.
80eb6a6
verified
| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| :host { | |
| display: block; | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| footer { | |
| background-color: #1f2937; | |
| color: #d1d5db; | |
| padding: 3rem 1rem 1rem; | |
| } | |
| .container { | |
| max-width: 1280px; | |
| margin: 0 auto; | |
| } | |
| .footer-content { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 2rem; | |
| margin-bottom: 3rem; | |
| } | |
| .footer-column h3 { | |
| color: white; | |
| margin-bottom: 1.5rem; | |
| font-size: 1.125rem; | |
| } | |
| .footer-column ul { | |
| list-style: none; | |
| } | |
| .footer-column ul li { | |
| margin-bottom: 0.75rem; | |
| } | |
| .footer-column ul li a { | |
| color: #9ca3af; | |
| text-decoration: none; | |
| transition: color 0.3s; | |
| } | |
| .footer-column ul li a:hover { | |
| color: white; | |
| } | |
| .social-links { | |
| display: flex; | |
| gap: 1rem; | |
| margin-top: 1rem; | |
| } | |
| .social-links a { | |
| display: inline-block; | |
| width: 40px; | |
| height: 40px; | |
| background-color: #374151; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| transition: background-color 0.3s; | |
| } | |
| .social-links a:hover { | |
| background-color: #4f46e5; | |
| } | |
| .copyright { | |
| border-top: 1px solid #374151; | |
| padding-top: 1.5rem; | |
| text-align: center; | |
| color: #9ca3af; | |
| font-size: 0.875rem; | |
| } | |
| @media (max-width: 768px) { | |
| .footer-content { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| </style> | |
| <footer> | |
| <div class="container"> | |
| <div class="footer-content"> | |
| <div class="footer-column"> | |
| <h3>Product</h3> | |
| <ul> | |
| <li><a href="#">Features</a></li> | |
| <li><a href="#">Integrations</a></li> | |
| <li><a href="#">Pricing</a></li> | |
| <li><a href="#">Changelog</a></li> | |
| <li><a href="#">Roadmap</a></li> | |
| </ul> | |
| </div> | |
| <div class="footer-column"> | |
| <h3>Resources</h3> | |
| <ul> | |
| <li><a href="#">Documentation</a></li> | |
| <li><a href="#">API Reference</a></li> | |
| <li><a href="#">Guides</a></li> | |
| <li><a href="#">Blog</a></li> | |
| <li><a href="#">Community</a></li> | |
| </ul> | |
| </div> | |
| <div class="footer-column"> | |
| <h3>Company</h3> | |
| <ul> | |
| <li><a href="#">About Us</a></li> | |
| <li><a href="#">Careers</a></li> | |
| <li><a href="#">Contact</a></li> | |
| <li><a href="#">Partners</a></li> | |
| <li><a href="#">Legal</a></li> | |
| </ul> | |
| </div> | |
| <div class="footer-column"> | |
| <h3>Connect</h3> | |
| <ul> | |
| <li><a href="#">Twitter</a></li> | |
| <li><a href="#">LinkedIn</a></li> | |
| <li><a href="#">GitHub</a></li> | |
| <li><a href="#">YouTube</a></li> | |
| <li><a href="#">Discord</a></li> | |
| </ul> | |
| <div class="social-links"> | |
| <a href="#"><i data-feather="twitter"></i></a> | |
| <a href="#"><i data-feather="linkedin"></i></a> | |
| <a href="#"><i data-feather="github"></i></a> | |
| <a href="#"><i data-feather="youtube"></i></a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="copyright"> | |
| © ${new Date().getFullYear()} CloudForge Pro. All rights reserved. | |
| </div> | |
| </div> | |
| </footer> | |
| `; | |
| // Initialize Feather icons | |
| setTimeout(() => { | |
| if (typeof feather !== 'undefined') { | |
| feather.replace(); | |
| } | |
| }, 0); | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |