File size: 1,780 Bytes
d255648 |
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 |
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: white;
padding: 2rem;
text-align: center;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
}
.social-links {
display: flex;
gap: 1.5rem;
margin-bottom: 1.5rem;
}
.social-links a {
color: rgba(255, 255, 255, 0.7);
transition: color 0.2s;
}
.social-links a:hover {
color: #3a86ff;
}
p {
margin: 0;
color: rgba(255, 255, 255, 0.6);
font-size: 0.9rem;
}
</style>
<footer>
<div class="footer-content">
<div class="social-links">
<a href="https://t.me/XioSoft" target="_blank" aria-label="Telegram">
<i data-feather="send"></i>
</a>
<a href="mailto:sudosudo@i2pmail.org" aria-label="Email">
<i data-feather="mail"></i>
</a>
<a href="https://github.com" target="_blank" aria-label="GitHub">
<i data-feather="github"></i>
</a>
</div>
<p>© ${new Date().getFullYear()} Python Security Wizard. All digital rights reserved.</p>
<p>Secured with ❤️ and cryptography</p>
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter); |