jonathan8878's picture
how to make a video
b0fe692 verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
.footer-link {
transition: color 0.2s ease;
}
.footer-link:hover {
color: #6366f1;
}
.social-icon {
transition: all 0.3s ease;
}
.social-icon:hover {
transform: translateY(-3px);
color: #6366f1;
}
</style>
<footer class="bg-gray-800 text-white py-12 px-6">
<div class="max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-4 gap-8">
<div class="md:col-span-2">
<div class="flex items-center mb-4">
<i data-feather="film" class="text-indigo-400 w-8 h-8 mr-2"></i>
<span class="text-2xl font-bold">VideoCraft</span>
</div>
<p class="text-gray-400 mb-4">Create professional videos in minutes with our intuitive editor. Perfect for content creators, marketers, and businesses.</p>
<div class="flex space-x-4">
<a href="#" class="social-icon text-gray-400"><i data-feather="facebook"></i></a>
<a href="#" class="social-icon text-gray-400"><i data-feather="twitter"></i></a>
<a href="#" class="social-icon text-gray-400"><i data-feather="instagram"></i></a>
<a href="#" class="social-icon text-gray-400"><i data-feather="youtube"></i></a>
</div>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Product</h3>
<ul class="space-y-2">
<li><a href="#" class="footer-link text-gray-400">Features</a></li>
<li><a href="#" class="footer-link text-gray-400">Pricing</a></li>
<li><a href="#" class="footer-link text-gray-400">Templates</a></li>
<li><a href="#" class="footer-link text-gray-400">Integrations</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-semibold mb-4">Company</h3>
<ul class="space-y-2">
<li><a href="#" class="footer-link text-gray-400">About Us</a></li>
<li><a href="#" class="footer-link text-gray-400">Careers</a></li>
<li><a href="#" class="footer-link text-gray-400">Blog</a></li>
<li><a href="#" class="footer-link text-gray-400">Contact</a></li>
</ul>
</div>
</div>
<div class="max-w-7xl mx-auto border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
<p>&copy; ${new Date().getFullYear()} VideoCraft Studio. All rights reserved.</p>
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter);