Spaces:
Running
Running
Download components/footer.js from VZXdev/robloxboost-pro: direct link, hf CLI and curl.
- Browser
- Download file 8.12 kB
-
https://huggingface.co/spaces/VZXdev/robloxboost-pro/resolve/main/components/footer.js
- Command line
-
hf download hf://spaces/VZXdev/robloxboost-pro/components/footer.js
-
curl -L -o footer.js https://huggingface.co/spaces/VZXdev/robloxboost-pro/resolve/main/components/footer.js
8.12 kB
| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| :host { | |
| display: block; | |
| margin-top: 4rem; | |
| } | |
| footer { | |
| background: rgba(0, 0, 0, 0.5); | |
| backdrop-filter: blur(20px); | |
| border-top: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .footer-container { | |
| max-width: 1280px; | |
| margin: 0 auto; | |
| padding: 3rem 1rem 1.5rem 1rem; | |
| } | |
| .footer-content { | |
| display: grid; | |
| grid-template-columns: repeat(2, 1fr); | |
| gap: 2rem; | |
| margin-bottom: 3rem; | |
| } | |
| .footer-brand { | |
| grid-column: span 2; | |
| } | |
| .brand-section { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.75rem; | |
| margin-bottom: 1rem; | |
| } | |
| .brand-logo { | |
| height: 2rem; | |
| width: 2rem; | |
| border-radius: 50%; | |
| } | |
| .brand-text { | |
| font-size: 1.25rem; | |
| font-weight: bold; | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| .brand-description { | |
| color: #9ca3af; | |
| font-size: 0.875rem; | |
| line-height: 1.5; | |
| max-width: 300px; | |
| } | |
| .footer-column h3 { | |
| color: #e5e7eb; | |
| font-size: 0.75rem; | |
| font-weight: 600; | |
| text-transform: uppercase; | |
| letter-spacing: 0.05em; | |
| margin-bottom: 1rem; | |
| } | |
| .footer-links { | |
| list-style: none; | |
| padding: 0; | |
| margin: 0; | |
| } | |
| .footer-links li { | |
| margin-bottom: 0.5rem; | |
| } | |
| .footer-links a { | |
| color: #9ca3af; | |
| text-decoration: none; | |
| font-size: 0.875rem; | |
| transition: color 0.3s ease; | |
| } | |
| .footer-links a:hover { | |
| color: white; | |
| } | |
| .footer-bottom { | |
| padding-top: 2rem; | |
| border-top: 1px solid rgba(255, 255, 255, 0.1); | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| gap: 1rem; | |
| } | |
| .copyright { | |
| color: #6b7280; | |
| font-size: 0.875rem; | |
| } | |
| .social-links { | |
| display: flex; | |
| gap: 1rem; | |
| } | |
| .social-link { | |
| color: #6b7280; | |
| transition: color 0.3s ease; | |
| text-decoration: none; | |
| } | |
| .social-link:hover { | |
| color: white; | |
| } | |
| @media (min-width: 768px) { | |
| .footer-content { | |
| grid-template-columns: 2fr 1fr 1fr 1fr; | |
| } | |
| .footer-brand { | |
| grid-column: span 1; | |
| } | |
| } | |
| </style> | |
| <footer> | |
| <div class="footer-container"> | |
| <div class="footer-content"> | |
| <div class="footer-column footer-brand"> | |
| <div class="brand-section"> | |
| <img src="https://static.photos/minimal/40x40/42" alt="Logo" class="brand-logo"> | |
| <span class="brand-text">RobloxBoost Pro</span> | |
| </div> | |
| <p class="brand-description"> | |
| The ultimate tool to boost your Roblox presence with unlimited followers, game visits, and engagement. | |
| </p> | |
| </div> | |
| <div class="footer-column"> | |
| <h3>Product</h3> | |
| <ul class="footer-links"> | |
| <li><a href="#features">Features</a></li> | |
| <li><a href="#pricing">Pricing</a></li> | |
| <li><a href="#api">API</a></li> | |
| <li><a href="#integrations">Integrations</a></li> | |
| </ul> | |
| </div> | |
| <div class="footer-column"> | |
| <h3>Resources</h3> | |
| <ul class="footer-links"> | |
| <li><a href="#docs">Documentation</a></li> | |
| <li><a href="#tutorials">Tutorials</a></li> | |
| <li><a href="#blog">Blog</a></li> | |
| <li><a href="#support">Support</a></li> | |
| </ul> | |
| </div> | |
| <div class="footer-column"> | |
| <h3>Company</h3> | |
| <ul class="footer-links"> | |
| <li><a href="#about">About</a></li> | |
| <li><a href="#careers">Careers</a></li> | |
| <li><a href="#contact">Contact</a></li> | |
| <li><a href="#legal">Legal</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="footer-bottom"> | |
| <div class="copyright"> | |
| © 2024 RobloxBoost Pro. All rights reserved. | |
| </div> | |
| <div class="social-links"> | |
| <a href="#" class="social-link"> | |
| <i data-feather="twitter"></i> | |
| </a> | |
| <a href="#" class="social-link"> | |
| <i data-feather="github"></i> | |
| </a> | |
| <a href="#" class="social-link"> | |
| <i data-feather="discord"></i> | |
| </a> | |
| <a href="#" class="social-link"> | |
| <i data-feather="instagram"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| `; | |
| // Inject feather icons script | |
| const featherScript = document.createElement('script'); | |
| featherScript.src = 'https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js'; | |
| featherScript.onload = () => { | |
| if (typeof feather !== 'undefined') { | |
| feather.replace(); | |
| } | |
| }; | |
| this.shadowRoot.appendChild(featherScript); | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |