UNPKG

node-xhttp

Version:

A high-performance VLESS-XHTTP proxy server

428 lines (378 loc) 14.1 kB
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>绿色网络 - 保护环境,从网络开始</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; } .container { max-width: 1200px; margin: 0 auto; padding: 20px; text-align: center; } .card { background: rgba(255, 255, 255, 0.95); border-radius: 20px; padding: 40px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); } .logo { font-size: 3.5rem; margin-bottom: 20px; background: linear-gradient(45deg, #4CAF50, #8BC34A); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-weight: bold; } .subtitle { font-size: 1.5rem; color: #666; margin-bottom: 30px; font-weight: 300; } .main-title { font-size: 2.5rem; color: #2c3e50; margin-bottom: 20px; font-weight: 700; } .description { font-size: 1.2rem; color: #555; margin-bottom: 40px; line-height: 1.8; } .features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin: 40px 0; } .feature { background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); padding: 30px; border-radius: 15px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; } .feature:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); } .feature-icon { font-size: 3rem; margin-bottom: 20px; display: block; } .feature-title { font-size: 1.5rem; color: #2c3e50; margin-bottom: 15px; font-weight: 600; } .feature-desc { color: #666; line-height: 1.6; } .stats { display: flex; justify-content: space-around; margin: 40px 0; flex-wrap: wrap; } .stat { text-align: center; margin: 20px; } .stat-number { font-size: 2.5rem; font-weight: bold; color: #4CAF50; display: block; } .stat-label { color: #666; font-size: 1rem; margin-top: 5px; } .cta-section { background: linear-gradient(135deg, #4CAF50, #8BC34A); color: white; padding: 40px; border-radius: 15px; margin: 40px 0; } .cta-title { font-size: 2rem; margin-bottom: 20px; } .cta-text { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; } .btn { display: inline-block; padding: 15px 30px; background: rgba(255, 255, 255, 0.2); color: white; text-decoration: none; border-radius: 50px; font-weight: bold; transition: all 0.3s ease; border: 2px solid rgba(255, 255, 255, 0.3); } .btn:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); } .footer { margin-top: 40px; padding: 20px; color: #666; font-size: 0.9rem; } .environment-tips { background: #f8f9fa; padding: 30px; border-radius: 15px; margin: 30px 0; border-left: 5px solid #4CAF50; } .tips-title { font-size: 1.5rem; color: #2c3e50; margin-bottom: 20px; font-weight: 600; } .tips-list { list-style: none; text-align: left; } .tips-list li { padding: 10px 0; border-bottom: 1px solid #eee; position: relative; padding-left: 30px; } .tips-list li:before { content: "🌱"; position: absolute; left: 0; top: 10px; } .tips-list li:last-child { border-bottom: none; } @media (max-width: 768px) { .logo { font-size: 2.5rem; } .main-title { font-size: 2rem; } .features { grid-template-columns: 1fr; } .stats { flex-direction: column; } } .floating-leaves { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; } .leaf { position: absolute; width: 20px; height: 20px; background: rgba(76, 175, 80, 0.3); border-radius: 50% 0; animation: float 6s ease-in-out infinite; } .leaf:nth-child(1) { left: 10%; animation-delay: 0s; } .leaf:nth-child(2) { left: 20%; animation-delay: 1s; } .leaf:nth-child(3) { left: 30%; animation-delay: 2s; } .leaf:nth-child(4) { left: 40%; animation-delay: 3s; } .leaf:nth-child(5) { left: 50%; animation-delay: 4s; } .leaf:nth-child(6) { left: 60%; animation-delay: 5s; } .leaf:nth-child(7) { left: 70%; animation-delay: 0.5s; } .leaf:nth-child(8) { left: 80%; animation-delay: 1.5s; } .leaf:nth-child(9) { left: 90%; animation-delay: 2.5s; } @keyframes float { 0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 50% { transform: translateY(-10vh) rotate(180deg); } } </style> </head> <body> <div class="floating-leaves"> <div class="leaf"></div> <div class="leaf"></div> <div class="leaf"></div> <div class="leaf"></div> <div class="leaf"></div> <div class="leaf"></div> <div class="leaf"></div> <div class="leaf"></div> <div class="leaf"></div> </div> <div class="container"> <div class="card"> <div class="logo">🌍</div> <h1 class="main-title">绿色网络,守护地球</h1> <p class="subtitle">Green Network, Protect Earth</p> <p class="description"> 我们致力于通过高效、环保的网络技术,为全球用户提供安全、快速的网络服务。 每一次连接,都是对地球的温柔守护。 </p> <div class="features"> <div class="feature"> <span class="feature-icon"></span> <h3 class="feature-title">高效节能</h3> <p class="feature-desc"> 采用先进的优化算法,减少服务器资源消耗, 降低碳排放,为环保事业贡献力量。 </p> </div> <div class="feature"> <span class="feature-icon">🔒</span> <h3 class="feature-title">安全可靠</h3> <p class="feature-desc"> 提供企业级安全保护,确保用户数据安全, 让每一次网络访问都安心无忧。 </p> </div> <div class="feature"> <span class="feature-icon">🌱</span> <h3 class="feature-title">绿色理念</h3> <p class="feature-desc"> 坚持可持续发展理念,通过技术创新 推动绿色网络建设,保护我们共同的家园。 </p> </div> </div> <div class="stats"> <div class="stat"> <span class="stat-number">99.9%</span> <span class="stat-label">服务可用性</span> </div> <div class="stat"> <span class="stat-number">50%</span> <span class="stat-label">能耗降低</span> </div> <div class="stat"> <span class="stat-number">100%</span> <span class="stat-label">绿色能源</span> </div> <div class="stat"> <span class="stat-number">24/7</span> <span class="stat-label">全天候服务</span> </div> </div> <div class="environment-tips"> <h3 class="tips-title">🌍 环保小贴士</h3> <ul class="tips-list"> <li>选择使用可再生能源的数据中心服务</li> <li>定期清理浏览器缓存,提高网络效率</li> <li>使用深色模式可以减少屏幕能耗</li> <li>合理设置网络超时,避免无效连接</li> <li>选择高效的网络协议,减少数据传输量</li> </ul> </div> <div class="cta-section"> <h2 class="cta-title">加入绿色网络革命</h2> <p class="cta-text"> 让我们一起用技术的力量,为地球的可持续发展贡献力量。 每一次选择,都是对未来的投资。 </p> <a href="#" class="btn">了解更多</a> </div> <div class="footer"> <p>🌱 保护环境,从网络开始 | 让每一次连接都更有意义</p> <p style="margin-top: 10px; font-size: 0.8rem; opacity: 0.7;"> © 2024 Green Network. 致力于构建可持续发展的网络生态。 </p> </div> </div> </div> <script> // 添加一些交互效果 document.addEventListener('DOMContentLoaded', function() { // 为特性卡片添加点击效果 const features = document.querySelectorAll('.feature'); features.forEach(feature => { feature.addEventListener('click', function() { this.style.transform = 'scale(0.95)'; setTimeout(() => { this.style.transform = ''; }, 150); }); }); // 数字动画效果 const stats = document.querySelectorAll('.stat-number'); const observer = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting) { const target = entry.target; const finalValue = target.textContent; const isPercentage = finalValue.includes('%'); const isSlash = finalValue.includes('/'); if (isPercentage) { const num = parseInt(finalValue); animateNumber(target, 0, num, 2000, '%'); } else if (isSlash) { target.textContent = finalValue; } else { const num = parseInt(finalValue); animateNumber(target, 0, num, 2000); } observer.unobserve(target); } }); }); stats.forEach(stat => observer.observe(stat)); function animateNumber(element, start, end, duration, suffix = '') { const startTime = performance.now(); const updateNumber = (currentTime) => { const elapsed = currentTime - startTime; const progress = Math.min(elapsed / duration, 1); const current = Math.floor(start + (end - start) * progress); element.textContent = current + suffix; if (progress < 1) { requestAnimationFrame(updateNumber); } }; requestAnimationFrame(updateNumber); } }); </script> </body> </html>