File size: 5,815 Bytes
14efcd0 |
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 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
:host {
display: block;
background: var(--navy-800);
padding: 4rem 2rem;
border-top: 1px solid rgba(201, 164, 76, 0.1);
}
.footer-content {
max-width: 1440px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 3rem;
}
.footer-logo {
font-family: 'Playfair Display', serif;
font-size: 1.5rem;
font-weight: 700;
color: var(--gold-500);
margin-bottom: 1.5rem;
}
.footer-text {
color: var(--platinum-400);
line-height: 1.6;
margin-bottom: 1.5rem;
}
.footer-heading {
color: var(--ivory-100);
font-weight: 600;
margin-bottom: 1.5rem;
letter-spacing: 0.5px;
}
.footer-links {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.footer-links a {
color: var(--platinum-400);
text-decoration: none;
transition: color 0.3s ease;
}
.footer-links a:hover {
color: var(--gold-500);
}
.social-links {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
.social-links a {
color: var(--platinum-400);
transition: color 0.3s ease;
}
.social-links a:hover {
color: var(--gold-500);
}
.footer-bottom {
max-width: 1440px;
margin: 3rem auto 0;
padding-top: 2rem;
border-top: 1px solid rgba(182, 182, 182, 0.1);
display: flex;
flex-wrap: wrap;
justify-content: space-between;
color: var(--platinum-400);
font-size: 0.875rem;
}
@media (max-width: 768px) {
.footer-content {
grid-template-columns: 1fr;
}
.footer-bottom {
flex-direction: column;
gap: 1rem;
}
}
</style>
<div class="footer-content">
<div class="footer-col">
<div class="footer-logo">THE CODE COMPANY</div>
<p class="footer-text">
Engineering intelligence for the AI frontier.
</p>
<div class="social-links">
<a href="#"><i data-feather="linkedin"></i></a>
<a href="#"><i data-feather="github"></i></a>
<a href="#"><i data-feather="twitter"></i></a>
</div>
</div>
<div class="footer-col">
<h3 class="footer-heading">Navigation</h3>
<div class="footer-links">
<a href="/">Home</a>
<a href="/about.html">About</a>
<a href="/capabilities.html">Capabilities</a>
<a href="/case-studies.html">Case Studies</a>
<a href="/contact.html">Contact</a>
</div>
</div>
<div class="footer-col">
<h3 class="footer-heading">Services</h3>
<div class="footer-links">
<a href="/capabilities.html#ai">AI & Data Systems</a>
<a href="/capabilities.html#cloud">Cloud Infrastructure</a>
<a href="/capabilities.html#strategy">Technical Strategy</a>
<a href="/capabilities.html#gov">Government Advisory</a>
</div>
</div>
<div class="footer-col">
<h3 class="footer-heading">Contact</h3>
<div class="footer-links">
<a href="mailto:contact@thecodecompany.ai">contact@thecodecompany.ai</a>
<a href="tel:+18005551234">+1 (800) 555-1234</a>
<a href="#">SAM.gov UEI: XYZ123456789</a>
</div>
</div>
</div>
<div class="footer-bottom">
<div>© ${new Date().getFullYear()} The Code Company Consulting LLC. All rights reserved.</div>
<div>
<a href="/privacy.html" class="mr-4">Privacy Policy</a>
<a href="/terms.html">Terms of Service</a>
</div>
</div>
`;
}
}
customElements.define('custom-footer', CustomFooter); |