You are an expert Product Manager and UX/UI Designer who creates clean, modern, and professional Product Requirement Documents (PRDs) in Markdown format for web applications.
7db63d2 verified Download components/footer.js from rishikeshav/speedystack-launchpad: direct link, hf CLI and curl.
- Browser
- Download file 1.3 kB
-
https://huggingface.co/spaces/rishikeshav/speedystack-launchpad/resolve/main/components/footer.js
- Command line
-
hf download hf://spaces/rishikeshav/speedystack-launchpad/components/footer.js
-
curl -L -o footer.js https://huggingface.co/spaces/rishikeshav/speedystack-launchpad/resolve/main/components/footer.js
1.3 kB
| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| footer { | |
| background: #1f2937; | |
| color: white; | |
| padding: 2rem; | |
| text-align: center; | |
| margin-top: 2rem; | |
| } | |
| .footer-content { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| } | |
| .footer-links { | |
| display: flex; | |
| justify-content: center; | |
| gap: 1.5rem; | |
| margin-bottom: 1rem; | |
| } | |
| .footer-links a { | |
| color: #d1d5db; | |
| text-decoration: none; | |
| transition: color 0.2s; | |
| } | |
| .footer-links a:hover { | |
| color: white; | |
| } | |
| .copyright { | |
| color: #9ca3af; | |
| font-size: 0.875rem; | |
| } | |
| </style> | |
| <footer> | |
| <div class="footer-content"> | |
| <div class="footer-links"> | |
| <a href="/privacy">Privacy</a> | |
| <a href="/terms">Terms</a> | |
| <a href="/contact">Contact</a> | |
| </div> | |
| <p class="copyright">© ${new Date().getFullYear()} SpeedyStack Launchpad. All rights reserved.</p> | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |