Загрузка данных
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ТехноБлог</title>
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
dark: '#1a1b26',
darker: '#16161e',
card: '#24273a',
accent: '#4f46e5',
accentHover: '#4338ca',
accentLight: '#818cf8',
textMuted: '#a0a3bd',
textLight: '#c0c4d8',
}
}
}
}
</script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
</head>
<body class="bg-darker text-gray-200 min-h-screen">
<!-- Header -->
<header class="bg-dark border-b border-gray-800">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16">
<!-- Logo -->
<div class="flex items-center gap-2">
<div class="w-8 h-8 bg-accent rounded-md flex items-center justify-center">
<i class="fas fa-bars text-white text-sm"></i>
</div>
<span class="text-accent font-bold text-lg tracking-wide">ТехноБлог</span>
</div>
<!-- Nav -->
<nav class="hidden md:flex items-center gap-8">
<a href="#" class="text-gray-300 hover:text-white transition-colors text-sm font-medium">Главная</a>
<a href="#" class="text-gray-300 hover:text-white transition-colors text-sm font-medium">Статьи</a>
</nav>
<!-- Actions -->
<div class="flex items-center gap-3">
<button class="text-gray-400 hover:text-white transition-colors">
<i class="fas fa-sun"></i>
</button>
<button class="bg-accent hover:bg-accentHover text-white px-4 py-1.5 rounded-md text-sm font-medium transition-colors flex items-center gap-2">
<i class="fas fa-user-shield text-xs"></i>
Админка
</button>
<button class="text-gray-400 hover:text-white transition-colors text-sm">Выход</button>
</div>
</div>
</div>
</header>
<!-- Hero Section -->
<section class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 mt-6">
<div class="relative overflow-hidden rounded-2xl bg-gradient-to-br from-accent to-indigo-700 p-8 sm:p-12">
<!-- Decorative circles -->
<div class="absolute -top-20 -right-20 w-72 h-72 bg-white/5 rounded-full blur-3xl"></div>
<div class="absolute -bottom-10 -right-10 w-48 h-48 bg-white/5 rounded-full blur-2xl"></div>
<div class="absolute top-10 right-40 w-32 h-32 bg-white/5 rounded-full blur-xl"></div>
<div class="relative z-10 max-w-xl">
<div class="flex items-center gap-2 mb-4">
<div class="w-2 h-2 bg-white/60 rounded-full"></div>
<span class="text-white/80 text-sm font-medium">Современные технологии</span>
</div>
<h1 class="text-3xl sm:text-4xl font-bold text-white mb-4 leading-tight">
Мир технологий<br>в одном месте
</h1>
<p class="text-white/70 text-sm sm:text-base mb-6 max-w-md leading-relaxed">
Актуальные статьи о программировании, AI, DevOps и цифровых трендах.
</p>
<button class="bg-white text-accent font-semibold px-6 py-2.5 rounded-lg hover:bg-gray-100 transition-colors text-sm flex items-center gap-2 shadow-lg">
<i class="fas fa-newspaper"></i>
Все статьи
</button>
</div>
</div>
</section>
<!-- Main Content -->
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 mt-10">
<div class="flex flex-col lg:flex-row gap-8">
<!-- Sidebar -->
<aside class="lg:w-64 flex-shrink-0">
<div class="flex items-center gap-2 mb-5">
<i class="fas fa-tags text-accent text-sm"></i>
<h2 class="text-xs font-semibold text-textMuted uppercase tracking-wider">Категории</h2>
</div>
<div class="space-y-1">
<a href="#" class="flex items-center justify-between px-4 py-3 rounded-lg bg-card/50 hover:bg-card transition-colors group">
<span class="text-textLight text-sm font-medium group-hover:text-white">ИИ</span>
<span class="bg-gray-700 text-gray-300 text-xs px-2 py-0.5 rounded-full">3</span>
</a>
<a href="#" class="flex items-center justify-between px-4 py-3 rounded-lg hover:bg-card transition-colors group">
<span class="text-textLight text-sm font-medium group-hover:text-white">Квантовые технологии</span>
<span class="bg-gray-700 text-gray-300 text-xs px-2 py-0.5 rounded-full">2</span>
</a>
<a href="#" class="flex items-center justify-between px-4 py-3 rounded-lg hover:bg-card transition-colors group">
<span class="text-textLight text-sm font-medium group-hover:text-white">Кибербезопасность</span>
<span class="bg-gray-700 text-gray-300 text-xs px-2 py-0.5 rounded-full">3</span>
</a>
<a href="#" class="flex items-center justify-between px-4 py-3 rounded-lg hover:bg-card transition-colors group">
<span class="text-textLight text-sm font-medium group-hover:text-white">Криптовалюта</span>
<span class="bg-gray-700 text-gray-300 text-xs px-2 py-0.5 rounded-full">2</span>
</a>
</div>
</aside>
<!-- Articles Grid -->
<div class="flex-1">
<div class="flex items-center gap-2 mb-6">
<i class="fas fa-bolt text-accent text-sm"></i>
<h2 class="text-lg font-semibold text-white">Последние материалы</h2>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<!-- Article 1 -->
<article class="bg-card rounded-xl overflow-hidden hover:ring-1 hover:ring-accent/30 transition-all group">
<div class="relative h-48 overflow-hidden">
<img src="https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=600&h=300&fit=crop" alt="AI Factory" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
<div class="absolute top-3 left-3">
<span class="bg-accent/90 text-white text-xs font-medium px-2.5 py-1 rounded-md">ИИ</span>
</div>
</div>
<div class="p-5">
<div class="text-textMuted text-xs mb-2">19.05.2026</div>
<h3 class="text-white font-semibold text-base mb-2 leading-snug group-hover:text-accentLight transition-colors">
AI в промышленности: умные фабрики и предиктивное обслуживание
</h3>
<p class="text-textMuted text-sm leading-relaxed mb-4 line-clamp-3">
Искусственный интеллект оптимизирует производство, снижает брак и предсказывает поломки оборудования.
</p>
<a href="#" class="text-accent text-sm font-medium hover:text-accentLight transition-colors flex items-center gap-1">
Читать далее
<i class="fas fa-chevron-right text-xs"></i>
</a>
</div>
</article>
<!-- Article 2 -->
<article class="bg-card rounded-xl overflow-hidden hover:ring-1 hover:ring-accent/30 transition-all group">
<div class="relative h-48 overflow-hidden">
<img src="https://images.unsplash.com/photo-1635070041078-e363dbe005cb?w=600&h=300&fit=crop" alt="Quantum" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
<div class="absolute top-3 left-3">
<span class="bg-accent/90 text-white text-xs font-medium px-2.5 py-1 rounded-md">Квантовые технологии</span>
</div>
</div>
<div class="p-5">
<div class="text-textMuted text-xs mb-2">14.05.2026</div>
<h3 class="text-white font-semibold text-base mb-2 leading-snug group-hover:text-accentLight transition-colors">
Коммерциализация квантовых вычислений: Новый технологический рубеж
</h3>
<p class="text-textMuted text-sm leading-relaxed mb-4 line-clamp-3">
От сложных теоретических моделей к практическому решению промышленных и логистических задач на сверхскоростях.
</p>
<a href="#" class="text-accent text-sm font-medium hover:text-accentLight transition-colors flex items-center gap-1">
Читать далее
<i class="fas fa-chevron-right text-xs"></i>
</a>
</div>
</article>
<!-- Article 3 -->
<article class="bg-card rounded-xl overflow-hidden hover:ring-1 hover:ring-accent/30 transition-all group">
<div class="relative h-48 overflow-hidden">
<img src="https://images.unsplash.com/photo-1677442136019-21780ecad995?w=600&h=300&fit=crop" alt="Generative AI" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
<div class="absolute top-3 left-3">
<span class="bg-accent/90 text-white text-xs font-medium px-2.5 py-1 rounded-md">ИИ</span>
</div>
</div>
<div class="p-5">
<div class="text-textMuted text-xs mb-2">14.05.2026</div>
<h3 class="text-white font-semibold text-base mb-2 leading-snug group-hover:text-accentLight transition-colors">
Генеративный ИИ: Перезагрузка привычных рабочих процессов
</h3>
<p class="text-textMuted text-sm leading-relaxed mb-4 line-clamp-3">
Как внедрение нейросетей трансформирует рутинные задачи сотрудников и увеличивает общую продуктивность бизнеса.
</p>
<a href="#" class="text-accent text-sm font-medium hover:text-accentLight transition-colors flex items-center gap-1">
Читать далее
<i class="fas fa-chevron-right text-xs"></i>
</a>
</div>
</article>
<!-- Article 4 -->
<article class="bg-card rounded-xl overflow-hidden hover:ring-1 hover:ring-accent/30 transition-all group">
<div class="relative h-48 overflow-hidden">
<img src="https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=600&h=300&fit=crop" alt="Cybersecurity" class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500">
<div class="absolute top-3 left-3">
<span class="bg-accent/90 text-white text-xs font-medium px-2.5 py-1 rounded-md">Кибербезопасность</span>
</div>
</div>
<div class="p-5">
<div class="text-textMuted text-xs mb-2">14.05.2026</div>
<h3 class="text-white font-semibold text-base mb-2 leading-snug group-hover:text-accentLight transition-colors">
Ransomware: цифровой вымогательство, парализующий целые города
</h3>
<p class="text-textMuted text-sm leading-relaxed mb-4 line-clamp-3">
Шифровальщики-вымогатели атакуют больницы, школы, инфраструктуру и правительства.
</p>
<a href="#" class="text-accent text-sm font-medium hover:text-accentLight transition-colors flex items-center gap-1">
Читать далее
<i class="fas fa-chevron-right text-xs"></i>
</a>
</div>
</article>
</div>
<!-- Load More -->
<div class="flex justify-center mt-10">
<button class="bg-gray-700 hover:bg-gray-600 text-white px-6 py-2.5 rounded-lg text-sm font-medium transition-colors flex items-center gap-2">
Все статьи
<i class="fas fa-chevron-right text-xs"></i>
</button>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="mt-16 border-t border-gray-800 bg-dark">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6">
<div class="flex flex-col sm:flex-row items-center justify-between gap-4">
<!-- Logo -->
<div class="flex items-center gap-2">
<div class="w-6 h-6 bg-accent rounded flex items-center justify-center">
<i class="fas fa-bars text-white text-xs"></i>
</div>
<span class="text-accent font-bold text-sm">ТехноБлог</span>
</div>
<!-- Copyright -->
<p class="text-textMuted text-xs">© 2026 ТехноБлог. Все права защищены.</p>
<!-- Footer Nav -->
<nav class="flex items-center gap-6">
<a href="#" class="text-textMuted hover:text-white transition-colors text-xs">Главная</a>
<a href="#" class="text-textMuted hover:text-white transition-colors text-xs">Статьи</a>
</nav>
</div>
</div>
</footer>
</body>
</html>