sdelay-mne-testovyy-sayt/index.html
2026-07-21 07:19:07 +00:00

87 lines
4.2 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Тестовый сайт</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🚀</text></svg>">
<style>
:root{--ink:#0F1218;--cyan:#00E5FF;--cyan-50:#E8FCFF;--white:#fff;--gray-500:#5B6573;--gray-100:#F2F4F7}
*{box-sizing:border-box;margin:0;padding:0}
body{font:17px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,system-ui,sans-serif;color:var(--ink);background:var(--white)}
.container{max-width:1140px;margin:0 auto;padding:80px 24px}
.hero{background:var(--ink);color:var(--white);padding:100px 24px;text-align:center}
.hero h1{font-size:56px;font-weight:800;line-height:1.05;margin-bottom:24px}
.hero p{font-size:20px;color:#9aa3b2;max-width:600px;margin:0 auto 32px}
.btn{display:inline-block;background:var(--cyan);color:var(--ink);padding:14px 28px;border-radius:8px;font-weight:700;text-decoration:none;transition:transform .2s}
.btn:hover{transform:translateY(-2px)}
.section{padding:80px 24px}
.section h2{font-size:36px;font-weight:700;margin-bottom:40px;text-align:center}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;max-width:1140px;margin:0 auto}
.card{background:var(--gray-100);border-radius:16px;padding:32px;transition:transform .2s}
.card:hover{transform:translateY(-4px)}
.card h3{font-size:22px;font-weight:700;margin-bottom:12px}
.card p{color:var(--gray-500)}
.about{text-align:center;max-width:800px;margin:0 auto}
.about p{margin-bottom:24px;color:var(--gray-500)}
.contact{text-align:center}
.contact a{color:var(--ink);text-decoration:none;font-weight:700}
@media (max-width:640px){.hero h1{font-size:36px}.section h2{font-size:28px}.container{padding:48px 20px}.hero{padding:60px 20px}}
.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease}
.reveal.in{opacity:1;transform:none}
</style>
</head>
<body>
<section class="hero">
<h1>Привет! Это тестовый сайт</h1>
<p>Простой лендинг, который работает быстро и выглядит стильно. Можно использовать для любого проекта.</p>
<a class="btn" href="#features">Узнать больше</a>
</section>
<section id="features" class="section">
<h2>Возможности</h2>
<div class="grid">
<div class="card reveal">
<h3>⚡ Быстро</h3>
<p>Загружается мгновенно, никаких тяжёлых библиотек</p>
</div>
<div class="card reveal">
<h3>📱 Адаптивно</h3>
<p>Отлично смотрится на телефоне, планшете и компьютере</p>
</div>
<div class="card reveal">
<h3>🎨 Стильно</h3>
<p>Современный дизайн с приятными цветами и анимациями</p>
</div>
<div class="card reveal">
<h3>🛠 Просто</h3>
<p>Легко редактировать — только HTML, CSS и ванильный JS</p>
</div>
</div>
</section>
<section class="section" style="background:var(--cyan-50)">
<div class="container about reveal">
<h2>О проекте</h2>
<p>Этот сайт создан как пример того, как можно быстро запустить лендинг без сложных инструментов.</p>
<p>Никаких фреймворков, сборщиков и npm — только чистый код, который работает везде.</p>
</div>
</section>
<section class="section contact">
<div class="container reveal">
<h2>Связаться</h2>
<p style="margin-bottom:24px;color:var(--gray-500)">Есть вопросы или идеи? Напиши мне!</p>
<a class="btn" href="mailto:hello@example.com">hello@example.com</a>
</div>
</section>
<script>
var io=new IntersectionObserver(function(entries){
entries.forEach(function(e){ if(e.isIntersecting) e.target.classList.add('in'); });
},{threshold:.15});
document.querySelectorAll('.reveal').forEach(function(el){ io.observe(el); });
</script>
</body>
</html>