Spaces:
Running
Running
File size: 2,666 Bytes
e98fb12 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
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: #9ca3af;
padding: 2rem;
text-align: center;
border-top: 1px solid rgba(56, 182, 255, 0.1);
margin-top: auto;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
}
.footer-links {
display: flex;
gap: 1.5rem;
margin-bottom: 1.5rem;
}
.footer-links a {
color: #d1d5db;
text-decoration: none;
transition: color 0.2s;
}
.footer-links a:hover {
color: #3b82f6;
}
.social-icons {
display: flex;
gap: 1rem;
margin-bottom: 1.5rem;
}
.social-icons a {
color: #d1d5db;
transition: color 0.2s, transform 0.2s;
}
.social-icons a:hover {
color: #3b82f6;
transform: translateY(-2px);
}
.disclaimer {
font-size: 0.8rem;
max-width: 800px;
margin: 0 auto;
opacity: 0.7;
line-height: 1.5;
}
@media (max-width: 768px) {
.footer-links {
flex-direction: column;
gap: 0.5rem;
}
}
</style>
<footer>
<div class="footer-content">
<div class="footer-links">
<a href="#">Terms of Service</a>
<a href="#">Privacy Policy</a>
<a href="#">Contact Us</a>
<a href="#">FAQ</a>
</div>
<div class="social-icons">
<a href="#" aria-label="Telegram"><i data-feather="send"></i></a>
<a href="#" aria-label="Twitter"><i data-feather="twitter"></i></a>
<a href="#" aria-label="Discord"><i data-feather="message-circle"></i></a>
</div>
<p class="disclaimer">
Disclaimer: CrashOracle Pro provides predictions based on statistical analysis. Gambling involves risk.
Only play with what you can afford to lose. Must be 18+ to use our service. Predictions are not guaranteed.
</p>
<p class="copyright mt-4">
© ${new Date().getFullYear()} CrashOracle Pro. All rights reserved.
</p>
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter); |