Spaces:
Running
Running
Download components/footer.js from sync2ai/phantom-caller-magic: direct link, hf CLI and curl.
- Browser
- Download file 1.91 kB
-
https://huggingface.co/spaces/sync2ai/phantom-caller-magic/resolve/main/components/footer.js
- Command line
-
hf download hf://spaces/sync2ai/phantom-caller-magic/components/footer.js
-
curl -L -o footer.js https://huggingface.co/spaces/sync2ai/phantom-caller-magic/resolve/main/components/footer.js
1.91 kB
| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| footer { | |
| background: rgba(17, 24, 39, 0.8); | |
| backdrop-filter: blur(10px); | |
| color: rgba(255, 255, 255, 0.7); | |
| padding: 2rem 1rem; | |
| text-align: center; | |
| margin-top: 4rem; | |
| border-top: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .footer-content { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| .footer-links { | |
| display: flex; | |
| justify-content: center; | |
| gap: 1.5rem; | |
| margin-bottom: 1rem; | |
| } | |
| .footer-links a { | |
| color: rgba(255, 255, 255, 0.7); | |
| text-decoration: none; | |
| transition: color 0.3s; | |
| } | |
| .footer-links a:hover { | |
| color: #9F7AEA; | |
| } | |
| .copyright { | |
| font-size: 0.9rem; | |
| } | |
| .disclaimer { | |
| font-size: 0.8rem; | |
| max-width: 800px; | |
| margin: 0 auto; | |
| color: rgba(255, 255, 255, 0.5); | |
| } | |
| </style> | |
| <footer> | |
| <div class="footer-content"> | |
| <div class="footer-links"> | |
| <a href="#"><i data-feather="file-text"></i> Terms</a> | |
| <a href="#"><i data-feather="lock"></i> Privacy</a> | |
| <a href="#"><i data-feather="mail"></i> Contact</a> | |
| </div> | |
| <p class="copyright">© ${new Date().getFullYear()} Phantom Caller Magic. All rights reserved.</p> | |
| <p class="disclaimer"> | |
| Note: This is a demonstration interface. Actual caller ID spoofing may be regulated or illegal in your jurisdiction. | |
| </p> | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |