metiny's picture
Düzeltme taleplerim şu şekildedir.
d8c4e8f verified
class CustomFooter extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
<style>
footer {
background: #0a0a0a;
border-top: 1px solid rgba(250, 204, 21, 0.2);
padding: 3rem 0 1rem;
margin-top: 5rem;
}
.footer-container {
max-width: 1280px;
margin: 0 auto;
padding: 0 1rem;
}
.footer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-bottom: 2rem;
}
.footer-column h3 {
color: #eab308;
font-size: 1.25rem;
font-weight: bold;
margin-bottom: 1rem;
}
.footer-column p {
color: #9ca3af;
line-height: 1.6;
margin-bottom: 1rem;
}
.footer-links {
list-style: none;
padding: 0;
margin: 0;
}
.footer-links li {
margin-bottom: 0.75rem;
}
.footer-links a {
color: #9ca3af;
text-decoration: none;
transition: color 0.3s ease;
display: inline-flex;
align-items: center;
gap: 0.5rem;
}
.footer-links a:hover {
color: #eab308;
transform: translateX(5px);
}
.social-links {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
.social-link {
width: 2.5rem;
height: 2.5rem;
background: rgba(250, 204, 21, 0.1);
border: 1px solid rgba(250, 204, 21, 0.3);
border-radius: 0.5rem;
display: flex;
align-items: center;
justify-content: center;
color: #eab308;
text-decoration: none;
transition: all 0.3s ease;
}
.social-link:hover {
background: rgba(250, 204, 21, 0.2);
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(250, 204, 21, 0.3);
}
.payment-methods {
display: flex;
gap: 1rem;
margin-top: 1rem;
flex-wrap: wrap;
}
.payment-method {
padding: 0.5rem 1rem;
background: rgba(250, 204, 21, 0.05);
border: 1px solid rgba(250, 204, 21, 0.2);
border-radius: 0.25rem;
color: #9ca3af;
font-size: 0.875rem;
transition: all 0.3s ease;
}
.payment-method:hover {
background: rgba(250, 204, 21, 0.1);
border-color: #eab308;
color: #eab308;
}
.footer-bottom {
border-top: 1px solid rgba(42, 42, 42, 0.5);
padding-top: 2rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}
.copyright {
color: #6b7280;
font-size: 0.875rem;
}
.footer-bottom-links {
display: flex;
gap: 2rem;
list-style: none;
padding: 0;
margin: 0;
}
.footer-bottom-links a {
color: #6b7280;
text-decoration: none;
font-size: 0.875rem;
transition: color 0.3s ease;
}
.footer-bottom-links a:hover {
color: #eab308;
}
@media (max-width: 768px) {
.footer-grid {
grid-template-columns: 1fr;
}
.footer-bottom {
flex-direction: column;
text-align: center;
}
.footer-bottom-links {
flex-direction: column;
gap: 1rem;
}
}
</style>
<footer>
<div class="footer-container">
<div class="footer-grid">
<div class="footer-column">
<h3>About GoldenVault Pro</h3>
<p>Your trusted partner in cryptocurrency and forex investments. We provide secure, high-yield investment opportunities with guaranteed daily returns.</p>
<div class="social-links">
<a href="#" class="social-link" title="Facebook">
<svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24">
<path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/>
</svg>
</a>
<a href="#" class="social-link" title="Twitter">
<svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24">
<path d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"/>
</svg>
</a>
<a href="#" class="social-link" title="Telegram">
<svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24">
<path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/>
</svg>
</a>
<a href="#" class="social-link" title="Instagram">
<svg width="20" height="20" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zM5.838 12a6.162 6.162 0 1 1 12.324 0 6.162 6.162 0 0 1-12.324 0zM12 16a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm4.965-10.405a1.44 1.44 0 1 1 2.881.001 1.44 1.44 0 0 1-2.881-.001z"/>
</svg>
</a>
</div>
</div>
<div class="footer-column">
<h3>Quick Links</h3>
<ul class="footer-links">
<li><a href="#invest"><i data-feather="chevron-right" class="w-4 h-4"></i> Investment Plans</a></li>
<li><a href="#how"><i data-feather="chevron-right" class="w-4 h-4"></i> How It Works</a></li>
<li><a href="#calculator"><i data-feather="chevron-right" class="w-4 h-4"></i> Calculator</a></li>
<li><a href="#faq"><i data-feather="chevron-right" class="w-4 h-4"></i> FAQ</a></li>
<li><a href="#testimonials"><i data-feather="chevron-right" class="w-4 h-4"></i> Testimonials</a></li>
</ul>
</div>
<div class="footer-column">
<h3>Legal</h3>
<ul class="footer-links">
<li><a href="#" onclick="showNotification('Terms & Conditions page coming soon!', 'info')"><i data-feather="file-text" class="w-4 h-4"></i> Terms & Conditions</a></li>
<li><a href="#" onclick="showNotification('Privacy Policy page coming soon!', 'info')"><i data-feather="shield" class="w-4 h-4"></i> Privacy Policy</a></li>
<li><a href="#" onclick="showNotification('KYC/AML page coming soon!', 'info')"><i data-feather="user-check" class="w-4 h-4"></i> KYC & AML</a></li>
<li><a href="#" onclick="showNotification('Risk Disclosure page coming soon!', 'info')"><i data-feather="alert-triangle" class="w-4 h-4"></i> Risk Disclosure</a></li>
</ul>
</div>
<div class="footer-column">
<h3>Payment Methods</h3>
<p>We accept various payment methods for your convenience</p>
<div class="payment-methods">
<div class="payment-method">Bitcoin</div>
<div class="payment-method">Ethereum</div>
<div class="payment-method">USDT</div>
<div class="payment-method">PayPal</div>
<div class="payment-method">Bank Wire</div>
</div>
</div>
</div>
<div class="footer-bottom">
<div class="copyright">
© 2024 GoldenVault Pro. All rights reserved.
</div>
<ul class="footer-bottom-links">
<li><a href="#" onclick="showNotification('Support center coming soon!', 'info')">Support Center</a></li>
<li><a href="#" onclick="showNotification('Affiliate program coming soon!', 'info')">Affiliate Program</a></li>
<li><a href="#" onclick="showNotification('Contact page coming soon!', 'info')">Contact Us</a></li>
</ul>
</div>
</div>
</footer>
`;
}
}
customElements.define('custom-footer', CustomFooter);