snikhilesh's picture
need more latest graphics and animations, I want this to be rich and professional
6943658 verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
footer {
background: #1a202c;
color: white;
padding: 3rem 2rem;
text-align: center;
}
.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: white;
transition: color 0.2s;
}
.social-links a:hover {
color: #818cf8;
}
.copyright {
margin-top: 1.5rem;
color: #a0aec0;
font-size: 0.875rem;
}
</style>
<footer>
<div class="footer-content">
<div class="social-links">
<a href="#" aria-label="LinkedIn"><i data-feather="linkedin"></i></a>
<a href="#" aria-label="GitHub"><i data-feather="github"></i></a>
<a href="#" aria-label="Twitter"><i data-feather="twitter"></i></a>
<a href="mailto:[email protected]" aria-label="Email"><i data-feather="mail"></i></a>
</div>
<p class="copyright">&copy; ${new Date().getFullYear()} Nikhilesh Siddanthi. All rights reserved.</p>
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter);