Spaces:
Running
Running
File size: 2,293 Bytes
e89cd31 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | class SiteFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
footer {
background-color: #020617;
border-top: 1px solid rgba(148, 163, 184, 0.1);
padding: 3rem 1.5rem;
margin-top: auto;
}
.content {
max-width: 1280px;
margin: 0 auto;
text-align: center;
}
.logo {
font-family: 'JetBrains Mono', monospace;
font-size: 1.25rem;
font-weight: 700;
color: #fff;
margin-bottom: 1rem;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.logo span {
color: #8b5cf6;
}
.text {
color: #64748b;
font-size: 0.875rem;
line-height: 1.6;
max-width: 600px;
margin: 0 auto 1.5rem;
}
.links {
display: flex;
justify-content: center;
gap: 1.5rem;
flex-wrap: wrap;
}
.link {
color: #94a3b8;
text-decoration: none;
font-size: 0.9rem;
transition: color 0.2s;
}
.link:hover {
color: #06b6d4;
}
.copyright {
margin-top: 2rem;
color: #475569;
font-size: 0.75rem;
}
</style>
<footer>
<div class="content">
<div class="logo">
<i data-feather="cpu"></i>
<span>Synapse<span>Search</span></span>
</div>
<p class="text">
An aggregator for the latest Artificial Intelligence research papers.
Curated for researchers, developers, and enthusiasts.
</p>
<div class="links">
<a href="#" class="link">Privacy Policy</a>
<a href="#" class="link">Terms of Service</a>
<a href="#" class="link">API Documentation</a>
<a href="#" class="link">Contact Support</a>
</div>
<p class="copyright">
© 2023 Synapse Search. Data provided by ArXiv.
</p>
</div>
</footer>
`;
}
}
customElements.define('site-footer', SiteFooter); |