Lasur123's picture
Make it text yo omage from promote given connecting to all the huggingface sfw and nsfw api
5d90d05 verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
footer {
border-top: 1px solid #1e293b;
}
.footer-link:hover {
color: #8b5cf6;
}
</style>
<footer class="bg-secondary-600 mt-16">
<div class="container mx-auto px-4 py-12">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-lg font-semibold mb-4">ShadowWeave AI</h3>
<p class="text-gray-400 text-sm">Pixel Alchemy Studio for the digital age.</p>
</div>
<div>
<h4 class="font-medium mb-4">Product</h4>
<ul class="space-y-2">
<li><a href="#" class="footer-link text-gray-400 text-sm">Features</a></li>
<li><a href="#" class="footer-link text-gray-400 text-sm">Pricing</a></li>
<li><a href="#" class="footer-link text-gray-400 text-sm">API</a></li>
</ul>
</div>
<div>
<h4 class="font-medium mb-4">Resources</h4>
<ul class="space-y-2">
<li><a href="#" class="footer-link text-gray-400 text-sm">Documentation</a></li>
<li><a href="#" class="footer-link text-gray-400 text-sm">Tutorials</a></li>
<li><a href="#" class="footer-link text-gray-400 text-sm">Community</a></li>
</ul>
</div>
<div>
<h4 class="font-medium mb-4">Company</h4>
<ul class="space-y-2">
<li><a href="#" class="footer-link text-gray-400 text-sm">About</a></li>
<li><a href="#" class="footer-link text-gray-400 text-sm">Blog</a></li>
<li><a href="#" class="footer-link text-gray-400 text-sm">Contact</a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 text-sm">© 2024 ShadowWeave AI. All rights reserved.</p>
<div class="flex gap-4 mt-4 md:mt-0">
<a href="#" class="text-gray-400 hover:text-primary-500">
<i data-feather="twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-primary-500">
<i data-feather="discord"></i>
</a>
<a href="#" class="text-gray-400 hover:text-primary-500">
<i data-feather="github"></i>
</a>
</div>
</div>
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter);