umesh-coder's picture
use this https://www.linkedin.com/in/umeshs09/?originalSubdomain=in to pull my data and more enhance it
82aef84 verified
Raw
History Blame Contribute Delete
2.16 kB
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
footer {
background-color: #1e293b;
color: white;
padding: 3rem 1rem;
text-align: center;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
}
.social-links {
display: flex;
justify-content: center;
gap: 1rem;
margin: 1.5rem 0;
}
.social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: #334155;
color: white;
transition: all 0.3s ease;
}
.social-links a:hover {
background-color: #7c3aed;
transform: translateY(-3px);
}
.copyright {
margin-top: 2rem;
color: #94a3b8;
font-size: 0.875rem;
}
</style>
<footer>
<div class="footer-content">
<h3 class="text-xl font-bold">Umesh Shelare</h3>
<p class="text-gray-300 mt-2">Android Developer | Kotlin Enthusiast | Problem Solver</p>
<div class="social-links">
<a href="https://www.linkedin.com/in/umeshs09/" aria-label="LinkedIn">
<i data-feather="linkedin"></i>
</a>
<a href="https://github.com/umeshshelare" aria-label="GitHub">
<i data-feather="github"></i>
</a>
<a href="https://twitter.com/umeshshelare" aria-label="Twitter">
<i data-feather="twitter"></i>
</a>
<a href="mailto:umeshshelare09@gmail.com" aria-label="Email">
<i data-feather="mail"></i>
</a>
</div>
<div class="copyright">
&copy; ${new Date().getFullYear()} Umesh Shelare. All rights reserved.
</div>
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter);