wangxso's picture
总部位于新加坡,名称为SolStrategies。
a78df0f verified
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>SolStrategies</span>
</div>
<p class="footer-about">
Singapore-headquartered 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>&copy; ${new Date().getFullYear()} SolStrategies. All rights reserved.</p>
</div>
</footer>
`;
feather.replace();
}
}
customElements.define('custom-footer', CustomFooter);