| class CustomHero extends HTMLElement { |
| connectedCallback() { |
| this.attachShadow({ mode: 'open' }); |
| this.shadowRoot.innerHTML = ` |
| <style> |
| .hero { |
| background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); |
| color: white; |
| padding: 5rem 1rem; |
| text-align: center; |
| position: relative; |
| overflow: hidden; |
| } |
| .dark .hero { |
| background: linear-gradient(135deg, #4338ca 0%, #7c3aed 100%); |
| } |
| .hero-content { |
| max-width: 1200px; |
| margin: 0 auto; |
| position: relative; |
| z-index: 2; |
| } |
| .hero h1 { |
| font-size: 3rem; |
| font-weight: 800; |
| margin-bottom: 1.5rem; |
| line-height: 1.2; |
| } |
| .hero p { |
| font-size: 1.25rem; |
| max-width: 800px; |
| margin: 0 auto 2rem auto; |
| opacity: 0.9; |
| } |
| .hero-buttons { |
| display: flex; |
| gap: 1rem; |
| justify-content: center; |
| flex-wrap: wrap; |
| } |
| .hero-button { |
| padding: 0.75rem 1.5rem; |
| border-radius: 0.5rem; |
| font-weight: 600; |
| transition: all 0.2s; |
| } |
| .primary-button { |
| background: white; |
| color: #6366f1; |
| } |
| .primary-button:hover { |
| transform: translateY(-2px); |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); |
| } |
| .secondary-button { |
| background: rgba(255, 255, 255, 0.1); |
| color: white; |
| border: 1px solid rgba(255, 255, 255, 0.2); |
| } |
| .secondary-button:hover { |
| background: rgba(255, 255, 255, 0.2); |
| } |
| .hero-pattern { |
| position: absolute; |
| top: 0; |
| left: 0; |
| width: 100%; |
| height: 100%; |
| opacity: 0.1; |
| background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); |
| } |
| @media (max-width: 768px) { |
| .hero h1 { |
| font-size: 2.25rem; |
| } |
| .hero p { |
| font-size: 1.1rem; |
| } |
| } |
| </style> |
| <div class="hero"> |
| <div class="hero-pattern"></div> |
| <div class="hero-content"> |
| <h1>Unlock Your Device's Full Potential</h1> |
| <p>Discover the ultimate jailbreak tools and resources to customize your iOS experience beyond Apple's limitations</p> |
| <div class="hero-buttons"> |
| <a href="#tools" class="hero-button primary-button">Explore Tools</a> |
| <a href="#deepseek" class="hero-button secondary-button">Learn More</a> |
| </div> |
| </div> |
| </div> |
| `; |
| } |
| } |
| customElements.define('custom-hero', CustomHero); |