Spaces:
Running
Running
Download components/footer.js from Kayzex/fivemvortex-showcase: direct link, hf CLI and curl.
- Browser
- Download file 4.03 kB
-
https://huggingface.co/spaces/Kayzex/fivemvortex-showcase/resolve/main/components/footer.js
- Command line
-
hf download hf://spaces/Kayzex/fivemvortex-showcase/components/footer.js
-
curl -L -o footer.js https://huggingface.co/spaces/Kayzex/fivemvortex-showcase/resolve/main/components/footer.js
4.03 kB
| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| footer { | |
| background: #1e1b4b; | |
| color: white; | |
| padding: 3rem 2rem; | |
| text-align: center; | |
| border-top: 1px solid rgba(139, 92, 246, 0.2); | |
| } | |
| .footer-content { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 2rem; | |
| text-align: left; | |
| } | |
| .footer-logo { | |
| font-family: 'Orbitron', sans-serif; | |
| font-weight: bold; | |
| font-size: 1.5rem; | |
| background: linear-gradient(to right, #8b5cf6, #a78bfa); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| margin-bottom: 1rem; | |
| display: inline-block; | |
| } | |
| .footer-links h3 { | |
| font-family: 'Orbitron', sans-serif; | |
| color: #a78bfa; | |
| margin-bottom: 1rem; | |
| } | |
| .footer-links ul { | |
| list-style: none; | |
| padding: 0; | |
| margin: 0; | |
| } | |
| .footer-links li { | |
| margin-bottom: 0.5rem; | |
| } | |
| .footer-links a { | |
| color: #c7d2fe; | |
| text-decoration: none; | |
| transition: color 0.3s ease; | |
| } | |
| .footer-links a:hover { | |
| color: #a78bfa; | |
| } | |
| .social-links { | |
| display: flex; | |
| gap: 1rem; | |
| margin-top: 1rem; | |
| } | |
| .social-links a { | |
| color: white; | |
| background: rgba(139, 92, 246, 0.2); | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| transition: all 0.3s ease; | |
| } | |
| .social-links a:hover { | |
| background: #7c3aed; | |
| transform: translateY(-3px); | |
| } | |
| .copyright { | |
| margin-top: 3rem; | |
| padding-top: 2rem; | |
| border-top: 1px solid rgba(139, 92, 246, 0.3); | |
| color: #a5b4fc; | |
| font-size: 0.875rem; | |
| } | |
| </style> | |
| <footer> | |
| <div class="footer-content"> | |
| <div class="footer-links"> | |
| <span class="footer-logo">FIVEMVORTEX</span> | |
| <p>Özel scriptler ve aktif topluluk ile en gerçekçi GTA V Roleplay deneyimi.</p> | |
| <div class="social-links"> | |
| <a href="https://discord.gg/fivemvortex" target="_blank"><i data-feather="discord"></i></a> | |
| <a href="https://twitter.com/fivemvortex" target="_blank"><i data-feather="twitter"></i></a> | |
| <a href="https://youtube.com/fivemvortex" target="_blank"><i data-feather="youtube"></i></a> | |
| <a href="https://instagram.com/fivemvortex" target="_blank"><i data-feather="instagram"></i></a> | |
| </div> | |
| </div> | |
| <div class="footer-links"> | |
| <h3>Sunucu</h3> | |
| <ul> | |
| <li><a href="#features">Özellikler</a></li> | |
| <li><a href="#stats">İstatistikler</a></li> | |
| <li><a href="#gallery">Galeri</a></li> | |
| <li><a href="#join">Bağlan</a></li> | |
| </ul> | |
| </div> | |
| <div class="footer-links"> | |
| <h3>Kaynaklar</h3> | |
| <ul> | |
| <li><a href="/kurallar.html">Kurallar</a></li> | |
| <li><a href="/sss.html">SSS</a></li> | |
| <li><a href="/rehberler.html">Rehberler</a></li> | |
| <li><a href="/yardim.html">Yardım</a></li> | |
| </ul> | |
| </div> | |
| <div class="footer-links"> | |
| <h3>Topluluk</h3> | |
| <ul> | |
| <li><a href="https://discord.gg/fivemvortex" target="_blank">Discord</a></li> | |
| <li><a href="https://twitter.com/fivemvortex" target="_blank">Twitter</a></li> | |
| <li><a href="https://instagram.com/fivemvortex" target="_blank">Instagram</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |