Download index.html from namron/mixa: direct link, hf CLI and curl.
- Browser
- Download file 32 kB
-
https://huggingface.co/spaces/namron/mixa/resolve/main/index.html
- Command line
-
hf download hf://spaces/namron/mixa/index.html
-
curl -L -o index.html https://huggingface.co/spaces/namron/mixa/resolve/main/index.html
32 kB
| <html lang="ru"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Миха Рыбалкин | Футболист Локомотива из Корсакова</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| :root { | |
| --primary: #E31937; /* Красный Локомотива */ | |
| --secondary: #F0F0F0; | |
| --accent: #FFD700; | |
| --text: #333333; | |
| --light: #FFFFFF; | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| } | |
| body { | |
| background-color: var(--secondary); | |
| color: var(--text); | |
| line-height: 1.6; | |
| overflow-x: hidden; | |
| } | |
| .loader { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background-color: var(--primary); | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| z-index: 9999; | |
| transition: opacity 0.5s ease-out; | |
| } | |
| .loader img { | |
| width: 100px; | |
| animation: pulse 1.5s infinite; | |
| } | |
| @keyframes pulse { | |
| 0% { transform: scale(0.95); } | |
| 50% { transform: scale(1.05); } | |
| 100% { transform: scale(0.95); } | |
| } | |
| header { | |
| background: linear-gradient(135deg, var(--primary) 0%, #8B0000 100%); | |
| color: var(--light); | |
| padding: 2rem 0; | |
| text-align: center; | |
| position: relative; | |
| clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); | |
| margin-bottom: 3rem; | |
| } | |
| .header-content { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 0 2rem; | |
| position: relative; | |
| z-index: 2; | |
| } | |
| .header-bg { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background-image: url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-4.0.3'); | |
| background-size: cover; | |
| background-position: center; | |
| opacity: 0.15; | |
| z-index: 1; | |
| } | |
| .logo { | |
| width: 80px; | |
| margin-bottom: 1rem; | |
| animation: spin 3s linear infinite; | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| h1 { | |
| font-size: 3rem; | |
| margin-bottom: 0.5rem; | |
| text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); | |
| } | |
| .tagline { | |
| font-size: 1.2rem; | |
| font-style: italic; | |
| margin-bottom: 2rem; | |
| color: var(--accent); | |
| } | |
| .main-nav { | |
| background-color: var(--light); | |
| box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | |
| position: sticky; | |
| top: 0; | |
| z-index: 100; | |
| } | |
| .nav-container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| padding: 1rem 2rem; | |
| } | |
| .nav-links { | |
| display: flex; | |
| list-style: none; | |
| } | |
| .nav-links li { | |
| margin-left: 2rem; | |
| } | |
| .nav-links a { | |
| text-decoration: none; | |
| color: var(--text); | |
| font-weight: 600; | |
| transition: color 0.3s; | |
| position: relative; | |
| } | |
| .nav-links a:hover { | |
| color: var(--primary); | |
| } | |
| .nav-links a::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: -5px; | |
| left: 0; | |
| width: 0; | |
| height: 2px; | |
| background-color: var(--primary); | |
| transition: width 0.3s; | |
| } | |
| .nav-links a:hover::after { | |
| width: 100%; | |
| } | |
| .hamburger { | |
| display: none; | |
| cursor: pointer; | |
| font-size: 1.5rem; | |
| color: var(--primary); | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 0 2rem; | |
| } | |
| section { | |
| margin-bottom: 4rem; | |
| opacity: 0; | |
| transform: translateY(20px); | |
| transition: opacity 0.6s, transform 0.6s; | |
| } | |
| section.visible { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| h2 { | |
| font-size: 2.2rem; | |
| margin-bottom: 1.5rem; | |
| color: var(--primary); | |
| position: relative; | |
| display: inline-block; | |
| } | |
| h2::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: -10px; | |
| left: 0; | |
| width: 60%; | |
| height: 3px; | |
| background-color: var(--accent); | |
| } | |
| .hero { | |
| display: flex; | |
| align-items: center; | |
| gap: 3rem; | |
| margin-bottom: 4rem; | |
| } | |
| .hero-image { | |
| flex: 1; | |
| position: relative; | |
| border-radius: 15px; | |
| overflow: hidden; | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); | |
| transition: transform 0.3s; | |
| } | |
| .hero-image:hover { | |
| transform: scale(1.02); | |
| } | |
| .hero-image img { | |
| width: 100%; | |
| height: auto; | |
| display: block; | |
| } | |
| .hero-content { | |
| flex: 1; | |
| } | |
| .hero-content h3 { | |
| font-size: 1.8rem; | |
| margin-bottom: 1rem; | |
| color: var(--primary); | |
| } | |
| .stats { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |
| gap: 2rem; | |
| margin-top: 3rem; | |
| } | |
| .stat-card { | |
| background-color: var(--light); | |
| border-radius: 10px; | |
| padding: 1.5rem; | |
| text-align: center; | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); | |
| transition: transform 0.3s, box-shadow 0.3s; | |
| } | |
| .stat-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); | |
| } | |
| .stat-card i { | |
| font-size: 2.5rem; | |
| color: var(--primary); | |
| margin-bottom: 1rem; | |
| } | |
| .stat-card h4 { | |
| font-size: 1.2rem; | |
| margin-bottom: 0.5rem; | |
| } | |
| .stat-card p { | |
| font-size: 2rem; | |
| font-weight: bold; | |
| color: var(--primary); | |
| } | |
| .gallery { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 1.5rem; | |
| margin-top: 2rem; | |
| } | |
| .gallery-item { | |
| position: relative; | |
| border-radius: 10px; | |
| overflow: hidden; | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); | |
| height: 250px; | |
| cursor: pointer; | |
| transition: transform 0.3s; | |
| } | |
| .gallery-item:hover { | |
| transform: scale(1.03); | |
| } | |
| .gallery-item img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| transition: transform 0.5s; | |
| } | |
| .gallery-item:hover img { | |
| transform: scale(1.1); | |
| } | |
| .gallery-caption { | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| right: 0; | |
| background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); | |
| color: var(--light); | |
| padding: 1rem; | |
| transform: translateY(100%); | |
| transition: transform 0.3s; | |
| } | |
| .gallery-item:hover .gallery-caption { | |
| transform: translateY(0); | |
| } | |
| .timeline { | |
| position: relative; | |
| max-width: 800px; | |
| margin: 3rem auto; | |
| padding: 0 1rem; | |
| } | |
| .timeline::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| bottom: 0; | |
| left: 50%; | |
| width: 3px; | |
| background-color: var(--primary); | |
| margin-left: -1.5px; | |
| } | |
| .timeline-item { | |
| padding: 1rem 2rem; | |
| position: relative; | |
| width: 50%; | |
| margin-bottom: 2rem; | |
| opacity: 0; | |
| transform: translateX(-20px); | |
| transition: all 0.5s; | |
| } | |
| .timeline-item.visible { | |
| opacity: 1; | |
| transform: translateX(0); | |
| } | |
| .timeline-item:nth-child(odd) { | |
| left: 0; | |
| } | |
| .timeline-item:nth-child(even) { | |
| left: 50%; | |
| } | |
| .timeline-item::after { | |
| content: ''; | |
| position: absolute; | |
| width: 20px; | |
| height: 20px; | |
| background-color: var(--light); | |
| border: 3px solid var(--primary); | |
| border-radius: 50%; | |
| top: 1.5rem; | |
| } | |
| .timeline-item:nth-child(odd)::after { | |
| right: -13px; | |
| } | |
| .timeline-item:nth-child(even)::after { | |
| left: -13px; | |
| } | |
| .timeline-content { | |
| padding: 1.5rem; | |
| background-color: var(--light); | |
| border-radius: 10px; | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); | |
| } | |
| .timeline-content h4 { | |
| margin-bottom: 0.5rem; | |
| color: var(--primary); | |
| } | |
| .timeline-date { | |
| color: var(--accent); | |
| font-weight: bold; | |
| margin-bottom: 0.5rem; | |
| display: inline-block; | |
| } | |
| .contact-form { | |
| background-color: var(--light); | |
| border-radius: 10px; | |
| padding: 2rem; | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); | |
| max-width: 600px; | |
| margin: 0 auto; | |
| } | |
| .form-group { | |
| margin-bottom: 1.5rem; | |
| } | |
| .form-group label { | |
| display: block; | |
| margin-bottom: 0.5rem; | |
| font-weight: 600; | |
| } | |
| .form-group input, | |
| .form-group textarea { | |
| width: 100%; | |
| padding: 0.8rem; | |
| border: 1px solid #ddd; | |
| border-radius: 5px; | |
| font-size: 1rem; | |
| transition: border-color 0.3s; | |
| } | |
| .form-group input:focus, | |
| .form-group textarea:focus { | |
| outline: none; | |
| border-color: var(--primary); | |
| } | |
| .btn { | |
| display: inline-block; | |
| background-color: var(--primary); | |
| color: var(--light); | |
| padding: 0.8rem 2rem; | |
| border: none; | |
| border-radius: 5px; | |
| font-size: 1rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: background-color 0.3s, transform 0.3s; | |
| } | |
| .btn:hover { | |
| background-color: #C0102C; | |
| transform: translateY(-2px); | |
| } | |
| .social-links { | |
| display: flex; | |
| justify-content: center; | |
| gap: 1.5rem; | |
| margin-top: 2rem; | |
| } | |
| .social-link { | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| width: 50px; | |
| height: 50px; | |
| background-color: var(--primary); | |
| color: var(--light); | |
| border-radius: 50%; | |
| font-size: 1.5rem; | |
| transition: transform 0.3s, background-color 0.3s; | |
| } | |
| .social-link:hover { | |
| transform: translateY(-5px); | |
| background-color: #C0102C; | |
| } | |
| footer { | |
| background-color: var(--primary); | |
| color: var(--light); | |
| text-align: center; | |
| padding: 3rem 0; | |
| margin-top: 4rem; | |
| clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%); | |
| } | |
| .footer-content { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 0 2rem; | |
| } | |
| .copyright { | |
| margin-top: 2rem; | |
| opacity: 0.8; | |
| } | |
| .back-to-top { | |
| position: fixed; | |
| bottom: 2rem; | |
| right: 2rem; | |
| width: 50px; | |
| height: 50px; | |
| background-color: var(--primary); | |
| color: var(--light); | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1.5rem; | |
| cursor: pointer; | |
| opacity: 0; | |
| visibility: hidden; | |
| transition: all 0.3s; | |
| box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); | |
| } | |
| .back-to-top.visible { | |
| opacity: 1; | |
| visibility: visible; | |
| } | |
| .back-to-top:hover { | |
| transform: translateY(-5px); | |
| background-color: #C0102C; | |
| } | |
| @media (max-width: 768px) { | |
| .nav-links { | |
| position: fixed; | |
| top: 70px; | |
| left: -100%; | |
| width: 100%; | |
| height: calc(100vh - 70px); | |
| background-color: var(--light); | |
| flex-direction: column; | |
| align-items: center; | |
| padding-top: 2rem; | |
| transition: left 0.3s; | |
| } | |
| .nav-links.active { | |
| left: 0; | |
| } | |
| .nav-links li { | |
| margin: 1rem 0; | |
| } | |
| .hamburger { | |
| display: block; | |
| } | |
| .hero { | |
| flex-direction: column; | |
| } | |
| .timeline::before { | |
| left: 20px; | |
| } | |
| .timeline-item { | |
| width: 100%; | |
| left: 0; | |
| padding-left: 3rem; | |
| } | |
| .timeline-item:nth-child(even) { | |
| left: 0; | |
| } | |
| .timeline-item::after { | |
| left: 7px; | |
| } | |
| } | |
| /* Анимация футбольного мяча */ | |
| .football { | |
| position: absolute; | |
| width: 40px; | |
| height: 40px; | |
| background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="white" stroke="black" stroke-width="2"/><path d="M50,5 A45,45 0 0,1 95,50 A45,45 0 0,1 50,95 A45,45 0 0,1 5,50 A45,45 0 0,1 50,5 Z" fill="none" stroke="black" stroke-width="2"/><path d="M25,15 L75,85 M15,50 L85,50" stroke="black" stroke-width="2"/></svg>'); | |
| background-size: contain; | |
| z-index: 10; | |
| animation: bounce 3s infinite; | |
| } | |
| @keyframes bounce { | |
| 0%, 100% { transform: translate(0, 0); } | |
| 25% { transform: translate(50px, 50px); } | |
| 50% { transform: translate(100px, 0); } | |
| 75% { transform: translate(50px, -50px); } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="loader"> | |
| <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e5/FC_Lokomotiv_Moscow_Logo.svg/1200px-FC_Lokomotiv_Moscow_Logo.svg.png" alt="Локомотив"> | |
| </div> | |
| <header> | |
| <div class="header-bg"></div> | |
| <div class="header-content"> | |
| <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e5/FC_Lokomotiv_Moscow_Logo.svg/1200px-FC_Lokomotiv_Moscow_Logo.svg.png" alt="Локомотив" class="logo"> | |
| <h1>Миха Рыбалкин</h1> | |
| <p class="tagline">Футболист "Локомотива" из Корсакова</p> | |
| <div class="football" style="top: 50px; left: 100px;"></div> | |
| <div class="football" style="top: 100px; right: 150px; animation-delay: 0.5s;"></div> | |
| </div> | |
| </header> | |
| <nav class="main-nav"> | |
| <div class="nav-container"> | |
| <div class="logo-small"> | |
| <i class="fas fa-futbol" style="color: var(--primary); font-size: 1.5rem;"></i> | |
| </div> | |
| <ul class="nav-links"> | |
| <li><a href="#about">О Михе</a></li> | |
| <li><a href="#career">Карьера</a></li> | |
| <li><a href="#stats">Статистика</a></li> | |
| <li><a href="#gallery">Галерея</a></li> | |
| <li><a href="#contact">Контакты</a></li> | |
| </ul> | |
| <div class="hamburger"> | |
| <i class="fas fa-bars"></i> | |
| </div> | |
| </div> | |
| </nav> | |
| <div class="container"> | |
| <section id="about"> | |
| <div class="hero"> | |
| <div class="hero-image"> | |
| <img src="https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?ixlib=rb-4.0.3" alt="Миха Рыбалкин"> | |
| </div> | |
| <div class="hero-content"> | |
| <h3>Михаил "Миха" Рыбалкин</h3> | |
| <p>Родился <strong>13 мая 1991 года</strong> в Корсакове - небольшом городке с большими футбольными традициями. С детства проявил неординарные способности к спорту, начав играть в футбол в 6 лет.</p> | |
| <p>В 17 лет переехал в Москву, где был замечен скаутами академии "Локомотива". Уникальное сочетание скорости, техники и футбольного интеллекта быстро вывело его в основной состав.</p> | |
| <p>Сегодня Миха - один из ключевых игроков "Локомотива", любимец болельщиков и пример для молодых футболистов из малых городов России.</p> | |
| </div> | |
| </div> | |
| <div class="stats"> | |
| <div class="stat-card"> | |
| <i class="fas fa-trophy"></i> | |
| <h4>Трофеев</h4> | |
| <p>8</p> | |
| </div> | |
| <div class="stat-card"> | |
| <i class="fas fa-futbol"></i> | |
| <h4>Голов за клуб</h4> | |
| <p>64</p> | |
| </div> | |
| <div class="stat-card"> | |
| <i class="fas fa-medal"></i> | |
| <h4>Мастер спорта</h4> | |
| <p>2015</p> | |
| </div> | |
| <div class="stat-card"> | |
| <i class="fas fa-shield-alt"></i> | |
| <h4>Капитанские повязки</h4> | |
| <p>22</p> | |
| </div> | |
| </div> | |
| </section> | |
| <section id="career"> | |
| <h2>Карьера</h2> | |
| <div class="timeline"> | |
| <div class="timeline-item"> | |
| <div class="timeline-content"> | |
| <span class="timeline-date">1997-2009</span> | |
| <h4>ФК "Корсаков"</h4> | |
| <p>Детско-юношеская школа футбола в родном городе. Первые профессиональные тренировки под руководством местного тренера.</p> | |
| </div> | |
| </div> | |
| <div class="timeline-item"> | |
| <div class="timeline-content"> | |
| <span class="timeline-date">2009-2011</span> | |
| <h4>Академия "Локомотив"</h4> | |
| <p>Переход в московскую академию "Локомотива" в 17 лет. Быстрая адаптация и прогресс, признание лучшим игроком юношеской команды.</p> | |
| </div> | |
| </div> | |
| <div class="timeline-item"> | |
| <div class="timeline-content"> | |
| <span class="timeline-date">2012-2014</span> | |
| <h4>"Локомотив-2"</h4> | |
| <p>Выступления за фарм-клуб "Локомотива" во Второй лиге. За три сезона забил 28 голов в 75 матчах и получил звание мастера спорта.</p> | |
| </div> | |
| </div> | |
| <div class="timeline-item"> | |
| <div class="timeline-content"> | |
| <span class="timeline-date">2015-настоящее время</span> | |
| <h4>"Локомотив" (основной состав)</h4> | |
| <p>Дебют в основном составе "Локомотива". Участник побед в Кубке России (2017, 2019, 2021), обладатель Суперкубка России (2019).</p> | |
| </div> | |
| </div> | |
| <div class="timeline-item"> | |
| <div class="timeline-content"> | |
| <span class="timeline-date">2018</span> | |
| <h4>Депутат городской думы Корсакова</h4> | |
| <p>Избран депутатом городской думы родного Корсакова. Инициатор программы по развитию детского спорта в малых городах.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <section id="stats"> | |
| <h2>Статистика сезона 2022/23</h2> | |
| <div class="stats"> | |
| <div class="stat-card"> | |
| <i class="fas fa-running"></i> | |
| <h4>Сыграно матчей</h4> | |
| <p>32</p> | |
| </div> | |
| <div class="stat-card"> | |
| <i class="fas fa-futbol"></i> | |
| <h4>Забито голов</h4> | |
| <p>12</p> | |
| </div> | |
| <div class="stat-card"> | |
| <i class="fas fa-hands-helping"></i> | |
| <h4>Голевых передач</h4> | |
| <p>8</p> | |
| </div> | |
| <div class="stat-card"> | |
| <i class="fas fa-star"></i> | |
| <h4>MVP матча</h4> | |
| <p>5</p> | |
| </div> | |
| </div> | |
| </section> | |
| <section id="gallery"> | |
| <h2>Галерея</h2> | |
| <div class="gallery"> | |
| <div class="gallery-item"> | |
| <img src="https://images.unsplash.com/photo-1543357480-d60d5837bad6?ixlib=rb-4.0.3" alt="Миха забивает гол"> | |
| <div class="gallery-caption">Победный гол в дерби со "Спартаком"</div> | |
| </div> | |
| <div class="gallery-item"> | |
| <img src="https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?ixlib=rb-4.0.3" alt="Тренировка"> | |
| <div class="gallery-caption">Индивидуальная тренировка</div> | |
| </div> | |
| <div class="gallery-item"> | |
| <img src="https://images.unsplash.com/photo-1471295253337-3ceaaedca402?ixlib=rb-4.0.3" alt="С детьми"> | |
| <div class="gallery-caption">Мастер-класс для детей в Корсакове</div> | |
| </div> | |
| <div class="gallery-item"> | |
| <img src="https://images.unsplash.com/photo-1522778119026-d647f0596c20?ixlib=rb-4.0.3" alt="С трофеем"> | |
| <div class="gallery-caption">Кубок России 2021</div> | |
| </div> | |
| <div class="gallery-item"> | |
| <img src="https://images.unsplash.com/photo-1417028441456-f283323fe2d6?ixlib=rb-4.0.3" alt="С болельщиками"> | |
| <div class="gallery-caption">С болельщиками после матча</div> | |
| </div> | |
| <div class="gallery-item"> | |
| <img src="https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-4.0.3" alt="Капитанская повязка"> | |
| <div class="gallery-caption">Капитан "Локомотива"</div> | |
| </div> | |
| </div> | |
| </section> | |
| <section id="contact"> | |
| <h2>Свяжитесь с Михой</h2> | |
| <div class="contact-form"> | |
| <form id="contactForm"> | |
| <div class="form-group"> | |
| <label for="name">Ваше имя</label> | |
| <input type="text" id="name" name="name" required> | |
| </div> | |
| <div class="form-group"> | |
| <label for="email">Email</label> | |
| <input type="email" id="email" name="email" required> | |
| </div> | |
| <div class="form-group"> | |
| <label for="message">Сообщение</label> | |
| <textarea id="message" name="message" rows="5" required></textarea> | |
| </div> | |
| <button type="submit" class="btn">Отправить</button> | |
| </form> | |
| <div class="social-links"> | |
| <a href="#" class="social-link"><i class="fab fa-instagram"></i></a> | |
| <a href="#" class="social-link"><i class="fab fa-vk"></i></a> | |
| <a href="#" class="social-link"><i class="fab fa-twitter"></i></a> | |
| <a href="#" class="social-link"><i class="fab fa-facebook-f"></i></a> | |
| </div> | |
| </div> | |
| </section> | |
| </div> | |
| <footer> | |
| <div class="footer-content"> | |
| <h3>Миха Рыбалкин</h3> | |
| <p>Футбольный талант из Корсакова, игрок московского "Локомотива"</p> | |
| <p class="copyright">© 2023 Все права защищены</p> | |
| </div> | |
| </footer> | |
| <div class="back-to-top"> | |
| <i class="fas fa-arrow-up"></i> | |
| </div> | |
| <script> | |
| // Загрузчик | |
| document.addEventListener('DOMContentLoaded', function() { | |
| setTimeout(function() { | |
| document.querySelector('.loader').style.opacity = '0'; | |
| setTimeout(function() { | |
| document.querySelector('.loader').style.display = 'none'; | |
| }, 500); | |
| }, 1000); | |
| }); | |
| // Анимация секций при скролле | |
| function checkScroll() { | |
| const sections = document.querySelectorAll('section'); | |
| const windowHeight = window.innerHeight; | |
| sections.forEach(section => { | |
| const sectionTop = section.getBoundingClientRect().top; | |
| if (sectionTop < windowHeight - 100) { | |
| section.classList.add('visible'); | |
| } | |
| }); | |
| // Таймлайн анимация | |
| const timelineItems = document.querySelectorAll('.timeline-item'); | |
| timelineItems.forEach(item => { | |
| const itemTop = item.getBoundingClientRect().top; | |
| if (itemTop < windowHeight - 100) { | |
| item.classList.add('visible'); | |
| } | |
| }); | |
| // Кнопка "Наверх" | |
| const backToTop = document.querySelector('.back-to-top'); | |
| if (window.pageYOffset > 300) { | |
| backToTop.classList.add('visible'); | |
| } else { | |
| backToTop.classList.remove('visible'); | |
| } | |
| } | |
| window.addEventListener('scroll', checkScroll); | |
| window.addEventListener('resize', checkScroll); | |
| document.addEventListener('DOMContentLoaded', checkScroll); | |
| // Бургер-меню | |
| const hamburger = document.querySelector('.hamburger'); | |
| const navLinks = document.querySelector('.nav-links'); | |
| hamburger.addEventListener('click', function() { | |
| navLinks.classList.toggle('active'); | |
| hamburger.innerHTML = navLinks.classList.contains('active') ? | |
| '<i class="fas fa-times"></i>' : '<i class="fas fa-bars"></i>'; | |
| }); | |
| // Плавная прокрутка | |
| document.querySelectorAll('a[href^="#"]').forEach(anchor => { | |
| anchor.addEventListener('click', function(e) { | |
| e.preventDefault(); | |
| if (navLinks.classList.contains('active')) { | |
| navLinks.classList.remove('active'); | |
| hamburger.innerHTML = '<i class="fas fa-bars"></i>'; | |
| } | |
| const target = document.querySelector(this.getAttribute('href')); | |
| const headerHeight = document.querySelector('.main-nav').offsetHeight; | |
| const targetPosition = target.getBoundingClientRect().top + window.pageYOffset - headerHeight; | |
| window.scrollTo({ | |
| top: targetPosition, | |
| behavior: 'smooth' | |
| }); | |
| }); | |
| }); | |
| // Кнопка "Наверх" | |
| document.querySelector('.back-to-top').addEventListener('click', function() { | |
| window.scrollTo({ | |
| top: 0, | |
| behavior: 'smooth' | |
| }); | |
| }); | |
| // Форма обратной связи | |
| document.getElementById('contactForm').addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| alert('Ваше сообщение отправлено! Миха свяжется с вами в ближайшее время.'); | |
| this.reset(); | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <a href="https://enzostvs-deepsite.hf.space" style="color: #fff;" target="_blank" >DeepSite</a> <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;"></p></body> | |
| </html> |