Talle2-X's picture
Create a software product page with hero demo video, features comparison table, integration logos, API documentation link, use cases with examples, security certifications, customer stories, and free trial signup.
11cc93c verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
:host {
display: block;
background-color: #1a202c;
color: #e2e8f0;
padding: 4rem 1rem;
}
.container {
max-width: 1280px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(1, 1fr);
gap: 2rem;
}
.logo {
display: flex;
align-items: center;
font-weight: 700;
font-size: 1.25rem;
margin-bottom: 1rem;
}
.logo-icon {
margin-right: 0.5rem;
color: #63b3ed;
}
.description {
color: #a0aec0;
margin-bottom: 2rem;
max-width: 300px;
}
.footer-heading {
font-weight: 600;
font-size: 1.125rem;
margin-bottom: 1.5rem;
color: white;
}
.footer-links {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.footer-link {
color: #a0aec0;
transition: color 0.2s;
}
.footer-link:hover {
color: #63b3ed;
}
.social-links {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
.social-link {
color: #a0aec0;
transition: color 0.2s;
}
.social-link:hover {
color: #63b3ed;
}
.copyright {
border-top: 1px solid #2d3748;
padding-top: 2rem;
margin-top: 4rem;
color: #a0aec0;
text-align: center;
}
@media (min-width: 640px) {
.container {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 768px) {
.container {
grid-template-columns: repeat(4, 1fr);
}
}
</style>
<div class="container">
<div>
<div class="logo">
<i data-feather="code" class="logo-icon"></i>
CodeCraft Pro
</div>
<p class="description">
The complete developer toolkit that accelerates your workflow and supercharges productivity.
</p>
<div class="social-links">
<a href="#" class="social-link"><i data-feather="twitter"></i></a>
<a href="#" class="social-link"><i data-feather="github"></i></a>
<a href="#" class="social-link"><i data-feather="linkedin"></i></a>
<a href="#" class="social-link"><i data-feather="youtube"></i></a>
</div>
</div>
<div>
<h3 class="footer-heading">Product</h3>
<div class="footer-links">
<a href="#" class="footer-link">Features</a>
<a href="#" class="footer-link">Pricing</a>
<a href="#" class="footer-link">Documentation</a>
<a href="#" class="footer-link">API Status</a>
<a href="#" class="footer-link">Releases</a>
</div>
</div>
<div>
<h3 class="footer-heading">Company</h3>
<div class="footer-links">
<a href="#" class="footer-link">About</a>
<a href="#" class="footer-link">Blog</a>
<a href="#" class="footer-link">Careers</a>
<a href="#" class="footer-link">Press</a>
<a href="#" class="footer-link">Contact</a>
</div>
</div>
<div>
<h3 class="footer-heading">Legal</h3>
<div class="footer-links">
<a href="#" class="footer-link">Privacy</a>
<a href="#" class="footer-link">Terms</a>
<a href="#" class="footer-link">Security</a>
<a href="#" class="footer-link">GDPR</a>
<a href="#" class="footer-link">Compliance</a>
</div>
</div>
</div>
<div class="copyright">
&copy; ${new Date().getFullYear()} CodeCraft Technologies, Inc. All rights reserved.
</div>
`;
}
}
customElements.define('custom-footer', CustomFooter);