serverBOOST's picture
yeah make backend and frontend very simple and featurerich you are profi coder with sql or nosql database and api
cb2b30f verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
.footer {
background: rgba(15, 23, 42, 0.8);
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-link {
transition: all 0.2s ease;
}
.footer-link:hover {
color: #8B5CF6;
transform: translateX(4px);
}
.social-icon {
width: 2.5rem;
height: 2.5rem;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: all 0.3s ease;
}
.social-icon:hover {
background: rgba(139, 92, 246, 0.2);
transform: translateY(-3px);
}
</style>
<footer class="footer py-12 px-6 mt-20">
<div class="max-w-7xl mx-auto">
<div class="grid grid-cols-1 md:grid-cols-4 gap-12">
<div>
<a href="/" class="flex items-center space-x-2 mb-6">
<i data-feather="code" class="text-purple-500"></i>
<span class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-purple-400 to-pink-500">CodeCanvas</span>
</a>
<p class="text-gray-400 mb-6">Build beautiful full-stack applications with ease.</p>
<div class="flex space-x-4">
<a href="#" class="social-icon">
<i data-feather="twitter"></i>
</a>
<a href="#" class="social-icon">
<i data-feather="github"></i>
</a>
<a href="#" class="social-icon">
<i data-feather="linkedin"></i>
</a>
<a href="#" class="social-icon">
<i data-feather="youtube"></i>
</a>
</div>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Product</h3>
<ul class="space-y-3">
<li><a href="/features" class="footer-link flex items-center">Features <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i></a></li>
<li><a href="/pricing" class="footer-link flex items-center">Pricing <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i></a></li>
<li><a href="/examples" class="footer-link flex items-center">Examples <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i></a></li>
<li><a href="/roadmap" class="footer-link flex items-center">Roadmap <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i></a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Resources</h3>
<ul class="space-y-3">
<li><a href="/docs" class="footer-link flex items-center">Documentation <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i></a></li>
<li><a href="/tutorials" class="footer-link flex items-center">Tutorials <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i></a></li>
<li><a href="/blog" class="footer-link flex items-center">Blog <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i></a></li>
<li><a href="/community" class="footer-link flex items-center">Community <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i></a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Company</h3>
<ul class="space-y-3">
<li><a href="/about" class="footer-link flex items-center">About <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i></a></li>
<li><a href="/careers" class="footer-link flex items-center">Careers <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i></a></li>
<li><a href="/contact" class="footer-link flex items-center">Contact <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i></a></li>
<li><a href="/legal" class="footer-link flex items-center">Legal <i data-feather="chevron-right" class="ml-1 w-4 h-4"></i></a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500">
<p>© 2023 CodeCanvas Studio. All rights reserved.</p>
</div>
</div>
</footer>
`;
// Initialize feather icons
if (window.feather) {
window.feather.replace();
}
}
}
customElements.define('custom-footer', CustomFooter);