malik-AI's picture
analyze ti: OrderDate Region Manager SalesMan Item Units Unit_price Sale_amt
3af9661 verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
footer {
background-color: #1E1B4B;
color: white;
padding: 2rem;
margin-top: 2rem;
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
}
.footer-section h3 {
font-size: 1.2rem;
margin-bottom: 1rem;
font-weight: 600;
}
.footer-links {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.footer-link {
color: #A5B4FC;
text-decoration: none;
transition: color 0.2s;
}
.footer-link:hover {
color: white;
}
.copyright {
text-align: center;
margin-top: 2rem;
padding-top: 1rem;
border-top: 1px solid #4F46E5;
color: #A5B4FC;
}
</style>
<footer>
<div class="footer-container">
<div class="footer-section">
<h3>Sales Viz</h3>
<p>Visualize your sales data in beautiful, interactive charts and dashboards.</p>
</div>
<div class="footer-section">
<h3>Quick Links</h3>
<div class="footer-links">
<a href="/" class="footer-link">Dashboard</a>
<a href="#" class="footer-link">Sales Reports</a>
<a href="#" class="footer-link">Team Performance</a>
<a href="#" class="footer-link">Settings</a>
</div>
</div>
<div class="footer-section">
<h3>Resources</h3>
<div class="footer-links">
<a href="#" class="footer-link">Documentation</a>
<a href="#" class="footer-link">API Reference</a>
<a href="#" class="footer-link">Community</a>
<a href="#" class="footer-link">Support</a>
</div>
</div>
<div class="footer-section">
<h3>Contact</h3>
<div class="footer-links">
<a href="#" class="footer-link">Email Us</a>
<a href="#" class="footer-link">Twitter</a>
<a href="#" class="footer-link">LinkedIn</a>
<a href="#" class="footer-link">GitHub</a>
</div>
</div>
</div>
<div class="copyright">
&copy; ${new Date().getFullYear()} Sales Viz. All rights reserved.
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter);