testng's picture
Create an automated script to install and configure hMailServer on Windows.
d0d4ece verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
footer {
background-color: #1a1a1a;
padding: 2rem;
margin-top: 3rem;
border-top: 1px solid #2d3748;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
}
.footer-section h3 {
color: #8b5cf6;
margin-bottom: 1rem;
font-size: 1.1rem;
}
.footer-section p, .footer-section a {
color: #a0aec0;
margin-bottom: 0.5rem;
display: block;
text-decoration: none;
}
.footer-section a:hover {
color: #8b5cf6;
}
.copyright {
text-align: center;
margin-top: 2rem;
padding-top: 1rem;
border-top: 1px solid #2d3748;
color: #718096;
font-size: 0.875rem;
}
</style>
<footer>
<div class="footer-content">
<div class="footer-section">
<h3>ShadowSnap</h3>
<p>Stealthy automated backups for your important files.</p>
</div>
<div class="footer-section">
<h3>Quick Links</h3>
<a href="/">Home</a>
<a href="/settings">Settings</a>
<a href="/about">About</a>
</div>
<div class="footer-section">
<h3>Contact</h3>
<a href="mailto:support@shadowsnap.com">support@shadowsnap.com</a>
</div>
</div>
<div class="copyright">
&copy; ${new Date().getFullYear()} ShadowSnap. All rights reserved.
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter);