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