dodey917's picture
Build a premium, futuristic, fully animated business website named “Nomarddesk” with a straight-line layout design (clean vertical sections stacked from top to bottom).
3fa7e5a verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
:host {
display: block;
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
padding: 3rem 1.5rem 1.5rem;
}
.footer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.footer-section h3 {
font-size: 1.5rem;
font-weight: bold;
margin-bottom: 1rem;
text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}
.footer-section h4 {
font-weight: 600;
margin-bottom: 0.75rem;
}
.footer-section ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer-section ul li {
margin-bottom: 0.5rem;
}
.footer-section a {
color: #9ca3af;
text-decoration: none;
transition: color 0.3s;
}
.footer-section a:hover {
color: #00ffff;
}
.newsletter-form {
display: flex;
gap: 0.5rem;
}
.newsletter-input {
flex: 1;
padding: 0.5rem;
border-radius: 0.5rem;
background: #1f2937;
border: 1px solid #374151;
color: white;
}
.newsletter-button {
padding: 0.5rem;
border-radius: 0.5rem;
background: #00ffff;
border: none;
cursor: pointer;
transition: background 0.3s;
}
.newsletter-button:hover {
background: #00cccc;
}
.social-links {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
}
.social-links a {
color: #9ca3af;
transition: color 0.3s;
}
.social-links a:hover {
color: #00ffff;
}
.footer-bottom {
border-top: 1px solid #374151;
padding-top: 2rem;
text-align: center;
color: #9ca3af;
}
</style>
<footer>
<div class="footer-container">
<div class="footer-grid">
<div class="footer-section">
<h3>Nomarddesk</h3>
<p>Your Digital Growth Partner</p>
</div>
<div class="footer-section">
<h4>Services</h4>
<ul>
<li><a href="#">Telegram Promotion</a></li>
<li><a href="#">App Development</a></li>
<li><a href="#">Crypto Marketing</a></li>
</ul>
</div>
<div class="footer-section">
<h4>Company</h4>
<ul>
<li><a href="#">About Us</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Blog</a></li>
</ul>
</div>
<div class="footer-section">
<h4>Newsletter</h4>
<div class="newsletter-form">
<input type="email" class="newsletter-input" placeholder="Your email">
<button class="newsletter-button">
<i data-feather="send" style="width: 16px; height: 16px;"></i>
</button>
</div>
<div class="social-links">
<a href="#"><i data-feather="twitter"></i></a>
<a href="#"><i data-feather="linkedin"></i></a>
<a href="#"><i data-feather="github"></i></a>
<a href="#"><i data-feather="instagram"></i></a>
</div>
</div>
</div>
<div class="footer-bottom">
<p>&copy; 2024 Nomarddesk. All rights reserved.</p>
</div>
</div>
</footer>
`;
// Initialize feather icons in shadow DOM
setTimeout(() => {
feather.replace();
}, 0);
}
}
customElements.define('custom-footer', CustomFooter);