00Boobs00's picture
To effectively build a comprehensive and resilient image-to-video generation pipeline utilizing the Lora models available in [Hugging Face's Wan2.2 Loras repository](https://huggingface.co/Playtime-AI/Wan2.2-Loras), it is imperative to devise a user-friendly system that streamlines the processes of model loading and generating videos from user-uploaded images. This initiative aims to not only enhance the tool’s performance but also to ensure an enjoyable experience for users at every step of their creative journey.
cf89615 verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
:host {
display: block;
}
footer {
background-color: #1f2937;
color: #d1d5db;
padding: 3rem 0 2rem;
margin-top: 4rem;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.footer-column h3 {
color: white;
margin-bottom: 1rem;
font-size: 1.125rem;
}
.footer-column ul {
list-style: none;
padding: 0;
}
.footer-column ul li {
margin-bottom: 0.5rem;
}
.footer-column ul li a {
color: #9ca3af;
text-decoration: none;
transition: color 0.3s;
}
.footer-column ul li a:hover {
color: #10b981;
}
.social-links {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
.social-links a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
border-radius: 50%;
background-color: #374151;
color: white;
transition: background-color 0.3s;
}
.social-links a:hover {
background-color: #10b981;
}
.copyright {
border-top: 1px solid #374151;
padding-top: 2rem;
text-align: center;
color: #9ca3af;
font-size: 0.875rem;
}
@media (max-width: 768px) {
.footer-content {
grid-template-columns: 1fr;
}
}
</style>
<footer>
<div class="container">
<div class="footer-content">
<div class="footer-column">
<h3>FrameForge Studio</h3>
<p>Transform your images into stunning videos with our AI-powered tools.</p>
<div class="social-links">
<a href="#"><i data-feather="twitter"></i></a>
<a href="#"><i data-feather="github"></i></a>
<a href="#"><i data-feather="linkedin"></i></a>
<a href="#"><i data-feather="instagram"></i></a>
</div>
</div>
<div class="footer-column">
<h3>Products</h3>
<ul>
<li><a href="#">Image to Video</a></li>
<li><a href="#">Lora Models</a></li>
<li><a href="#">Video Enhancer</a></li>
<li><a href="#">Style Transfer</a></li>
<li><a href="#">Animation Tools</a></li>
</ul>
</div>
<div class="footer-column">
<h3>Resources</h3>
<ul>
<li><a href="#">Documentation</a></li>
<li><a href="#">Tutorials</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Community</a></li>
<li><a href="#">Support</a></li>
</ul>
</div>
<div class="footer-column">
<h3>Company</h3>
<ul>
<li><a href="#">About Us</a></li>
<li><a href="#">Careers</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Terms of Service</a></li>
</ul>
</div>
</div>
<div class="copyright">
<p>&copy; 2023 FrameForge Studio. All rights reserved.</p>
</div>
</div>
</footer>
`;
// Initialize Feather Icons
const featherScript = document.createElement('script');
featherScript.src = 'https://unpkg.com/feather-icons';
featherScript.onload = () => {
const featherMinScript = document.createElement('script');
featherMinScript.src = 'https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js';
featherMinScript.onload = () => {
feather.replace();
};
this.shadowRoot.appendChild(featherMinScript);
};
this.shadowRoot.appendChild(featherScript);
}
}
customElements.define('custom-footer', CustomFooter);