LittleMonkeyLab's picture
Upload 19 files
e44e7cc verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
footer {
background: rgba(17, 24, 39, 0.8);
color: white;
padding: 2rem;
text-align: center;
margin-top: auto;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
text-align: left;
}
.footer-links h3 {
font-weight: 600;
margin-bottom: 1rem;
color: #10B981;
}
.footer-links ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer-links li {
margin-bottom: 0.5rem;
}
.footer-links a {
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
transition: color 0.2s;
}
.footer-links a:hover {
color: white;
}
.social-links {
display: flex;
gap: 1rem;
justify-content: center;
margin-top: 2rem;
}
.social-links a {
color: white;
background: rgba(255, 255, 255, 0.1);
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
}
.social-links a:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}
.copyright {
margin-top: 2rem;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.6);
font-size: 0.875rem;
}
</style>
<footer>
<div class="footer-content">
<div class="footer-links">
<h3>Game</h3>
<ul>
<li><a href="/play.html">Play Now</a></li>
<li><a href="/leaderboard.html">Leaderboard</a></li>
<li><a href="/tutorials.html">Tutorials</a></li>
</ul>
</div>
<div class="footer-links">
<h3>Resources</h3>
<ul>
<li><a href="/learn.html">Trading Education</a></li>
<li><a href="/blog.html">Blog</a></li>
<li><a href="/glossary.html">Trading Glossary</a></li>
</ul>
</div>
<div class="footer-links">
<h3>Company</h3>
<ul>
<li><a href="/about.html">About Us</a></li>
<li><a href="/careers.html">Careers</a></li>
<li><a href="/contact.html">Contact</a></li>
</ul>
</div>
</div>
<div class="social-links">
<a href="#