gradsyntax's picture
this must work without login ...free for all and web app name is biogram
914d413 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: #4f46e5;
}
</style>
<footer class="bg-gray-800 text-white py-12">
<div class="container mx-auto px-6">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold mb-4">Biogram</h3>
<p class="text-gray-400">Free access to premium biomedical simulations from top institutions.</p>
</div>
<div>
<h4 class="font-semibold mb-4">Simulations</h4>
<ul class="space-y-2">
<li><a href="https://www.biointeractive.org" target="_blank" class="footer-link text-gray-400">HHMI BioInteractive</a></li>
<li><a href="https://learn.genetics.utah.edu" target="_blank" class="footer-link text-gray-400">Utah Genetics</a></li>
<li><a href="https://www.labxchange.org" target="_blank" class="footer-link text-gray-400">LabXchange</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Resources</h4>
<ul class="space-y-2">
<li><a href="tutorials.html" class="footer-link text-gray-400">Tutorials</a></li>
<li><a href="glossary.html" class="footer-link text-gray-400">Glossary</a></li>
<li><a href="research.html" class="footer-link text-gray-400">Research Papers</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Connect</h4>
<div class="flex space-x-4">
<a href="#" class="footer-link text-gray-400"><i data-feather="twitter"></i></a>
<a href="#" class="footer-link text-gray-400"><i data-feather="facebook"></i></a>
<a href="#" class="footer-link text-gray-400"><i data-feather="linkedin"></i></a>
<a href="#" class="footer-link text-gray-400"><i data-feather="youtube"></i></a>
</div>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
<p>© 2023 Biogram - Free educational resource. Content from partner institutions.</p>
</div>
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter);