Spaces:
Running
Running
| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| footer { | |
| background: #1a202c; | |
| color: white; | |
| padding: 3rem 2rem; | |
| text-align: center; | |
| margin-top: 4rem; | |
| } | |
| .footer-content { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); | |
| gap: 2rem; | |
| text-align: left; | |
| } | |
| .footer-section h3 { | |
| font-size: 1.2rem; | |
| margin-bottom: 1rem; | |
| color: #a0aec0; | |
| } | |
| .footer-section ul { | |
| list-style: none; | |
| padding: 0; | |
| } | |
| .footer-section li { | |
| margin-bottom: 0.5rem; | |
| } | |
| .footer-section a { | |
| color: #cbd5e0; | |
| text-decoration: none; | |
| transition: color 0.2s; | |
| } | |
| .footer-section a:hover { | |
| color: white; | |
| } | |
| .copyright { | |
| margin-top: 2rem; | |
| padding-top: 2rem; | |
| border-top: 1px solid #2d3748; | |
| color: #a0aec0; | |
| } | |
| .social-links { | |
| display: flex; | |
| gap: 1rem; | |
| justify-content: center; | |
| margin-top: 1rem; | |
| } | |
| .social-links a { | |
| color: white; | |
| transition: transform 0.2s; | |
| } | |
| .social-links a:hover { | |
| transform: translateY(-3px); | |
| } | |
| </style> | |
| <footer> | |
| <div class="footer-content"> | |
| <div class="footer-section"> | |
| <h3>Conteúdo</h3> | |
| <ul> | |
| <li><a href="#introducao">Introdução</a></li> | |
| <li><a href="#legislacao">Legislação</a></li> | |
| <li><a href="#modalidades">Modalidades</a></li> | |
| <li><a href="#pratica">Parte Prática</a></li> | |
| </ul> | |
| </div> | |
| <div class="footer-section"> | |
| <h3>Recursos</h3> | |
| <ul> | |
| <li><a href="#">Glossário Tributário</a></li> | |
| <li><a href="#">Modelos de Documentos</a></li> | |
| <li><a href="#">Calculadora Fiscal</a></li> | |
| <li><a href="#">Legislação Atualizada</a></li> | |
| </ul> | |
| </div> | |
| <div class="footer-section"> | |
| <h3>Sobre</h3> | |
| <p>Expert em administração do passivo fiscal com foco em estratégias eficientes para gestão de obrigações tributárias.</p> | |
| <div class="social-links"> | |
| <a href="#"><i data-feather="facebook"></i></a> | |
| <a href="#"><i data-feather="twitter"></i></a> | |
| <a href="#"><i data-feather="linkedin"></i></a> | |
| <a href="#"><i data-feather="youtube"></i></a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="copyright"> | |
| <p>© ${new Date().getFullYear()} FiscalPass Mastermind. Todos os direitos reservados.</p> | |
| </div> | |
| </footer> | |
| <script>feather.replace();</script> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |