codeg52's picture
Create a high-fidelity web UI design for an application called AIPHY — a “Giphy but for sound clips” platform.
4ea3c28 verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
:host {
display: block;
width: 100%;
padding: 3rem 0;
margin-top: 4rem;
background-color: #F8F8F8;
color: #6B6B6B;
font-size: 0.875rem;
}
.footer-content {
max-width: 1440px;
margin: 0 auto;
padding: 0 2rem;
text-align: center;
}
.footer-links {
display: flex;
justify-content: center;
gap: 1.5rem;
margin-bottom: 1rem;
}
.footer-links a {
color: inherit;
text-decoration: none;
transition: color 0.2s;
}
.footer-links a:hover {
color: #1A1A1A;
}
.copyright {
opacity: 0.7;
}
</style>
<div class="footer-content">
<div class="footer-links">
<a href="/about">About</a>
<a href="/terms">Terms</a>
<a href="/dmca">DMCA</a>
</div>
<div class="copyright">© ${new Date().getFullYear()} AIPHY. All sounds belong to their respective owners.</div>
</div>
`;
}
}
customElements.define('custom-footer', CustomFooter);