gmossy's picture
i need a docling rag ingestion pipeline
0fd8c45 verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
footer {
background: #111827;
color: rgba(255, 255, 255, 0.7);
padding: 2rem;
text-align: center;
border-top: 1px solid rgba(255, 255, 255, 0.1);
margin-top: auto;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
text-align: left;
}
.footer-section h3 {
color: white;
margin-bottom: 1rem;
font-size: 1.125rem;
}
.footer-links {
list-style: none;
padding: 0;
margin: 0;
}
.footer-links li {
margin-bottom: 0.5rem;
}
.footer-links a {
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
transition: color 0.3s;
display: flex;
align-items: center;
gap: 0.5rem;
}
.footer-links a:hover {
color: white;
}
.footer-links i {
width: 16px;
height: 16px;
}
.copyright {
margin-top: 2rem;
padding-top: 1.5rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
font-size: 0.875rem;
}
@media (max-width: 768px) {
.footer-content {
grid-template-columns: 1fr;
}
}
</style>
<footer>
<div class="footer-content">
<div class="footer-section">
<h3>Product</h3>
<ul class="footer-links">
<li><a href="/"><i data-feather="home"></i> Home</a></li>
<li><a href="/features.html"><i data-feather="zap"></i> Features</a></li>
<li><a href="/pricing.html"><i data-feather="dollar-sign"></i> Pricing</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Resources</h3>
<ul class="footer-links">
<li><a href="/docs.html"><i data-feather="book"></i> Documentation</a></li>
<li><a href="/tutorials.html"><i data-feather="video"></i> Tutorials</a></li>
<li><a href="/blog.html"><i data-feather="edit-2"></i> Blog</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Company</h3>
<ul class="footer-links">
<li><a href="/about.html"><i data-feather="info"></i> About</a></li>
<li><a href="/contact.html"><i data-feather="mail"></i> Contact</a></li>
<li><a href="/careers.html"><i data-feather="users"></i> Careers</a></li>
</ul>
</div>
</div>
<div class="copyright">
&copy; ${new Date().getFullYear()} DoclingRag. All rights reserved.
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter);