Finish-him's picture
eu inseri o arquimedes e o log da msc
b9b4565 verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
:host {
--footer-bg: var(--color-dark);
--footer-accent: var(--color-accent);
}
footer {
background: var(--footer-bg);
color: white;
padding: 6rem 0 4rem;
position: relative;
overflow: hidden;
}
.footer-container {
max-width: 1440px;
margin: 0 auto;
padding: 0 2rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 3rem;
}
.footer-logo {
display: flex;
align-items: center;
gap: 0.75rem;
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 1.5rem;
}
.footer-logo-icon {
width: 2.5rem;
height: 2.5rem;
background: var(--color-accent);
border-radius: 0.5rem;
display: grid;
place-items: center;
}
.footer-heading {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 1.5rem;
color: var(--footer-accent);
}
.footer-links {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.footer-link {
color: rgba(255, 255, 255, 0.7);
transition: color 0.2s ease;
}
.footer-link:hover {
color: white;
}
.contact-item {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 1rem;
}
.social-links {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
}
.social-icon {
width: 2.5rem;
height: 2.5rem;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
display: grid;
place-items: center;
transition: all 0.2s ease;
}
.social-icon:hover {
background: var(--footer-accent);
transform: translateY(-3px);
}
.footer-bottom {
margin-top: 4rem;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
text-align: center;
}
.legal-links {
display: flex;
gap: 1.5rem;
}
.legal-link {
color: rgba(255, 255, 255, 0.5);
font-size: 0.875rem;
}
.copyright {
color: rgba(255, 255, 255, 0.5);
font-size: 0.875rem;
}
@media (max-width: 768px) {
.footer-container {
grid-template-columns: 1fr;
}
}
</style>
<footer>
<div class="container mx-auto px-4">
<div class="grid md:grid-cols-4 gap-8">
<div class="md:col-span-2">
<div class="flex items-center mb-4">
<div class="w-10 h-10 bg-blue-600 rounded-lg flex items-center justify-center mr-2">
<img src="/static/msc-logo.svg" alt="MSC Logo" class="w-6 h-6" />
</div>
<span class="text-xl font-bold text-white">MSC CodeHive</span>
</div>
<p class="text-gray-400">Transformando novos talentos em desenvolvedores excepcionais desde 2023.</p>
</div>
<div>
<h4 class="text-lg font-semibold text-white mb-4">Links Rápidos</h4>
<ul class="space-y-2">
<li><a href="#cursos" class="text-gray-400 hover:text-white transition-colors">Cursos</a></li>
<li><a href="#sobre" class="text-gray-400 hover:text-white transition-colors">Sobre Nós</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">Mentores</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition-colors">Depoimentos</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold text-white mb-4">Contato</h4>
<ul class="space-y-2">
<li class="flex items-center">
<i data-feather="mail" class="w-4 h-4 mr-2"></i>
<span class="text-gray-400">contato@msccodehive.com</span>
</li>
<li class="flex items-center">
<i data-feather="phone" class="w-4 h-4 mr-2"></i>
<span class="text-gray-400">+55 (11) 98765-4321</span>
</li>
</ul>
<div class="flex space-x-4 mt-6">
<a href="#" class="social-icon">
<i data-feather="linkedin" class="w-5 h-5 text-gray-400 hover:text-blue-400"></i>
</a>
<a href="#" class="social-icon">
<i data-feather="github" class="w-5 h-5 text-gray-400 hover:text-white"></i>
</a>
<a href="#" class="social-icon">
<i data-feather="twitter" class="w-5 h-5 text-gray-400 hover:text-blue-400"></i>
</a>
<a href="#" class="social-icon">
<i data-feather="instagram" class="w-5 h-5 text-gray-400 hover:text-pink-500"></i>
</a>
</div>
</div>
</div>
<div class="border-t border-gray-700 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 text-sm">© 2023 MSC CodeHive Academy. Todos os direitos reservados.</p>
<div class="flex space-x-6 mt-4 md:mt-0">
<a href="#" class="text-gray-400 hover:text-white text-sm">Termos de Uso</a>
<a href="#" class="text-gray-400 hover:text-white text-sm">Política de Privacidade</a>
</div>
</div>
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter);