File size: 6,132 Bytes
4cca29a 818bea2 4cca29a 818bea2 4cca29a 818bea2 4cca29a 818bea2 4cca29a 818bea2 4cca29a 818bea2 4cca29a 818bea2 0ad2527 4cca29a 818bea2 4cca29a 818bea2 4cca29a 818bea2 4cca29a 818bea2 4cca29a 818bea2 4cca29a 818bea2 4cca29a |
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 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 |
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
footer {
background-color: #111827;
color: white;
padding: 4rem 2rem;
font-size: 0.9rem;
}
.footer-container {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}
.footer-logo {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 1.25rem;
font-weight: bold;
margin-bottom: 1.5rem;
font-family: 'Playfair Display', serif;
}
.footer-logo-icon {
color: #3b82f6;
}
.footer-about {
margin-bottom: 1.5rem;
line-height: 1.6;
color: rgba(255, 255, 255, 0.7);
}
.social-links {
display: flex;
gap: 1rem;
}
.social-link {
color: white;
background-color: rgba(255, 255, 255, 0.1);
width: 36px;
height: 36px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s ease;
}
.social-link:hover {
background-color: #3b82f6;
transform: translateY(-2px);
}
.footer-heading {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 1.5rem;
color: white;
position: relative;
padding-bottom: 0.5rem;
}
.footer-heading::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 40px;
height: 2px;
background-color: #3b82f6;
}
.footer-links {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.footer-link {
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
transition: all 0.2s ease;
}
.footer-link:hover {
color: white;
padding-left: 5px;
}
.footer-contact-item {
display: flex;
gap: 1rem;
margin-bottom: 1rem;
color: rgba(255, 255, 255, 0.7);
}
.footer-contact-icon {
color: #3b82f6;
flex-shrink: 0;
}
.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: 2rem;
margin-top: 2rem;
text-align: center;
color: rgba(255, 255, 255, 0.5);
font-size: 0.8rem;
}
@media (max-width: 768px) {
.footer-container {
grid-template-columns: 1fr;
}
}
</style>
<footer>
<div class="footer-container">
<div class="footer-about">
<div class="footer-logo">
<i data-feather="shield" class="footer-logo-icon"></i>
<span>SecureVest</span>
</div>
<p class="footer-about">
Global leader in integrated PR strategies, secure investments, and comprehensive security solutions for enterprises and governments.
</p>
<div class="social-links">
<a href="#" class="social-link">
<i data-feather="linkedin"></i>
</a>
<a href="#" class="social-link">
<i data-feather="twitter"></i>
</a>
<a href="#" class="social-link">
<i data-feather="facebook"></i>
</a>
</div>
</div>
<div class="footer-services">
<h3 class="footer-heading">Services</h3>
<ul class="footer-links">
<li><a href="#" class="footer-link">Strategic Communications</a></li>
<li><a href="#" class="footer-link">Crisis Management</a></li>
<li><a href="#" class="footer-link">Investment Security</a></li>
<li><a href="#" class="footer-link">Cyber Protection</a></li>
<li><a href="#" class="footer-link">Executive Protection</a></li>
</ul>
</div>
<div class="footer-quicklinks">
<h3 class="footer-heading">Quick Links</h3>
<ul class="footer-links">
<li><a href="/about.html" class="footer-link">About Us</a></li>
<li><a href="/insights.html" class="footer-link">Insights</a></li>
<li><a href="/careers.html" class="footer-link">Careers</a></li>
<li><a href="/contact.html" class="footer-link">Contact</a></li>
<li><a href="/privacy.html" class="footer-link">Privacy Policy</a></li>
</ul>
</div>
<div class="footer-contact">
<h3 class="footer-heading">Contact</h3>
<div class="footer-contact-item">
<i data-feather="map-pin" class="footer-contact-icon"></i>
<span>200 Park Avenue, New York, NY 10166</span>
</div>
<div class="footer-contact-item">
<i data-feather="mail" class="footer-contact-icon"></i>
<span>contact@securevest.com</span>
</div>
<div class="footer-contact-item">
<i data-feather="phone" class="footer-contact-icon"></i>
<span>+1 (212) 555-0100</span>
</div>
</div>
</div>
<div class="footer-bottom">
<p>© ${new Date().getFullYear()} SecureVest Capital Shield. All rights reserved.</p>
</div>
</footer>
`;
feather.replace();
}
}
customElements.define('custom-footer', CustomFooter); |