RowDler's picture
generate me a vintage, retro pexel style developer portfolio website, it need to in pixel style like minecraft elements
970e21e verified
Raw
History Blame Contribute Delete
1.73 kB
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
footer {
background: #2d2d2d;
padding: 2rem;
border-top: 4px solid #4a8fe7;
text-align: center;
}
.social-links {
display: flex;
justify-content: center;
gap: 1rem;
margin-bottom: 1rem;
}
.social-link {
width: 40px;
height: 40px;
background: #222222;
border: 2px solid #4a8fe7;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s;
}
.social-link:hover {
background: #4a8fe7;
transform: translateY(-2px);
}
p {
color: #e0e0e0;
font-family: 'Courier New', monospace;
}
.copyright {
font-size: 0.9rem;
color: #9e9e9e;
}
</style>
<footer>
<div class="social-links">
<a href="#" class="social-link">
<i data-feather="github"></i>
</a>
<a href="#" class="social-link">
<i data-feather="twitter"></i>
</a>
<a href="#" class="social-link">
<i data-feather="linkedin"></i>
</a>
<a href="#" class="social-link">
<i data-feather="codepen"></i>
</a>
</div>
<p>BUILT WITH <span style="color: #4a8fe7;">♡</span> AND PIXELS</p>
<p class="copyright">© 2023 PIXEL_DEV. ALL RIGHTS RESERVED.</p>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter);