File size: 5,681 Bytes
d6c8af7 2dcfe74 a1d6c90 d6c8af7 2dcfe74 d6c8af7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
footer {
background: #111827;
color: white;
padding: 4rem 2rem;
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 3rem;
}
.footer-logo {
font-size: 1.5rem;
font-weight: bold;
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.footer-logo-icon {
color: #818cf8;
}
.footer-description {
color: #9ca3af;
margin-bottom: 2rem;
}
.footer-links h3 {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 1.5rem;
}
.footer-links ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer-links li {
margin-bottom: 0.75rem;
}
.footer-links a {
color: #d1d5db;
text-decoration: none;
transition: color 0.2s;
}
.footer-links a:hover {
color: #818cf8;
}
.social-links {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
}
.social-links a {
color: #9ca3af;
transition: color 0.2s;
}
.social-links a:hover {
color: #818cf8;
}
.copyright {
border-top: 1px solid #374151;
margin-top: 4rem;
padding-top: 2rem;
text-align: center;
color: #9ca3af;
}
@media (max-width: 768px) {
.footer-container {
grid-template-columns: 1fr;
}
}
</style>
<footer>
<div class="footer-container">
<div class="footer-about">
<div class="footer-logo">
<i data-feather="cpu" class="footer-logo-icon"></i>
AI Forge
</div>
<p class="footer-description">
The no-code platform for building custom generative AI and predictive models.
</p>
<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="youtube"></i></a>
</div>
</div>
<div class="footer-links">
<h3>Product</h3>
<ul>
<li><a href="/features.html">Features</a></li>
<li><a href="/healthcare-dashboard.html">Healthcare AI</a></li>
<li><a href="/automation-generator.html">Automation Generator</a></li>
<li><a href="/pricing.html">Pricing</a></li>
<li><a href="/templates.html">Templates</a></li>
<li><a href="/integrations.html">Integrations</a></li>
</ul>
</div>
<div class="footer-links">
<h3>Resources</h3>
<ul>
<li><a href="/docs.html">Documentation</a></li>
<li><a href="/tutorials.html">Tutorials</a></li>
<li><a href="/blog.html">Blog</a></li>
<li><a href="/community.html">Community</a></li>
</ul>
</div>
<div class="footer-links">
<h3>Company</h3>
<ul>
<li><a href="/about.html">About</a></li>
<li><a href="/careers.html">Careers</a></li>
<li><a href="/contact.html">Contact</a></li>
<li><a href="/legal.html">Legal</a></li>
</ul>
</div>
</div>
<div class="copyright">
© ${new Date().getFullYear()} AI Forge. All rights reserved.
<a href="/privacy.html" class="hover:underline">Privacy Policy</a> |
<a href="/terms.html" class="hover:underline">Terms of Service</a> |
<a href="/gdpr.html" class="hover:underline">GDPR</a> |
<a href="/hipaa.html" class="hover:underline">HIPAA</a>
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter); |