undefined / index.html
Linusopen's picture
can you now add a cooky pop up on the index page as well as developing the pages kontakt, redakce, hodnoty, kariera and nazovy
bee6ce9 verified
Raw History Blame Contribute Delete
21.7 kB
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Česky Bistro – Média pro nezávislé myšlení</title>
<meta name="description" content="Alternativa k dominantním médiím. Kvalitní žurnalistika s liberálně konzervativní orientací.">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Open+Sans:wght@400;600&display=swap" rel="stylesheet">
<style>
.playfair { font-family: 'Playfair Display', serif; }
.opensans { font-family: 'Open Sans', sans-serif; }
.vanta-bg { min-height: 70vh; }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.podcast-wave { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M1200 0L0 0 892.25 114.72 1200 0z' fill='%23f9f9f9'%3E%3C/path%3E%3C/svg%3E"); background-size: cover; }
</style>
</head>
<body class="bg-gray-100 opensans">
<!-- Navigation -->
<nav class="bg-[#0a2463] text-white shadow-lg">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center py-4">
<div class="flex items-center space-x-2">
<i data-feather="coffee" class="text-[#ffd700]"></i>
<a href="#" class="playfair text-xl font-bold">Česky Bistro</a>
</div>
<div class="hidden md:flex space-x-6">
<a href="/" class="hover:text-[#ffd700]">Domů</a>
<a href="/politika.html" class="hover:text-[#ffd700]">Politika</a>
<a href="/spolecnost.html" class="hover:text-[#ffd700]">Společnost</a>
<a href="/ekonomika.html" class="hover:text-[#ffd700]">Ekonomika</a>
<a href="#" class="hover:text-[#ffd700]">Kultura</a>
<a href="/nazory.html" class="hover:text-[#ffd700]">Názory</a>
<a href="#" class="text-[#ffd700] font-semibold">Premium</a>
</div>
<div class="flex items-center space-x-4">
<button class="p-2 rounded-full hover:bg-[#0d2e7a]">
<i data-feather="search"></i>
</button>
<a href="/login.html" class="hidden md:block text-white hover:text-[#ffd700]">Přihlášení</a>
<a href="/register.html" class="hidden md:block bg-[#ffd700] text-[#333333] hover:bg-[#e6c200] px-4 py-2 rounded-full text-sm font-semibold">Registrace</a>
<button class="md:hidden" id="mobile-menu-button">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Hero Section with Vanta.js -->
<div id="vanta-bg" class="vanta-bg flex items-center justify-center text-white relative">
<div class="absolute inset-0 bg-black opacity-40"></div>
<div class="container mx-auto px-4 z-10 text-center">
<h1 class="playfair text-4xl md:text-6xl font-bold mb-4">Česky Bistro</h1>
<p class="text-xl md:text-2xl mb-8">Média pro nezávislé a kritické myšlení</p>
<div class="flex flex-col sm:flex-row justify-center gap-4">
<button class="bg-[#c41e3a] hover:bg-[#a81a32] text-white font-bold py-3 px-6 rounded-full transition">
Nejčtenější články
</button>
<button class="bg-transparent hover:bg-white hover:text-[#0a2463] border-2 border-white text-white font-bold py-3 px-6 rounded-full transition">
Odebírat newsletter
</button>
</div>
</div>
</div>
<!-- Main Content -->
<main class="container mx-auto px-4 py-12">
<!-- Featured Articles -->
<section class="mb-16">
<div class="flex justify-between items-center mb-8">
<h2 class="playfair text-3xl font-bold text-[#333333]">Hlavní články</h2>
<a href="#" class="text-[#0a2463] hover:text-[#c41e3a] font-semibold flex items-center">
Všechny články <i data-feather="chevron-right" class="ml-1"></i>
</a>
</div>
<div class="grid md:grid-cols-3 gap-8">
<!-- Article 1 -->
<article class="article-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
<img src="http://static.photos/politics/1024x576/1" alt="Politický článek" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex items-center mb-2">
<span class="bg-[#0a2463] text-white text-xs px-2 py-1 rounded">POLITIKA</span>
<span class="text-gray-500 text-sm ml-2">14. května 2023</span>
</div>
<h3 class="playfair text-xl font-bold mb-2">Jak se mění politická krajina po volbách</h3>
<p class="text-gray-600 mb-4">Rozsáhlá analýza aktuálního politického dění s komentáři expertů.</p>
<a href="#" class="text-[#0a2463] hover:text-[#c41e3a] font-semibold flex items-center">
Číst více <i data-feather="arrow-right" class="ml-1 w-4 h-4"></i>
</a>
</div>
</article>
<!-- Article 2 -->
<article class="article-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
<img src="http://static.photos/economy/1024x576/2" alt="Ekonomický článek" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex items-center mb-2">
<span class="bg-[#c41e3a] text-white text-xs px-2 py-1 rounded">EKONOMIKA</span>
<span class="text-gray-500 text-sm ml-2">12. května 2023</span>
</div>
<h3 class="playfair text-xl font-bold mb-2">Inflační tlaky a jejich dopad na střední třídu</h3>
<p class="text-gray-600 mb-4">Jak se připravit na nadcházející ekonomické výzvy a ochránit své úspory.</p>
<a href="#" class="text-[#0a2463] hover:text-[#c41e3a] font-semibold flex items-center">
Číst více <i data-feather="arrow-right" class="ml-1 w-4 h-4"></i>
</a>
</div>
</article>
<!-- Article 3 -->
<article class="article-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
<img src="http://static.photos/culture/1024x576/3" alt="Kulturní článek" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex items-center mb-2">
<span class="bg-[#ffd700] text-[#333333] text-xs px-2 py-1 rounded">KULTURA</span>
<span class="text-gray-500 text-sm ml-2">10. května 2023</span>
</div>
<h3 class="playfair text-xl font-bold mb-2">Návrat tradičních hodnot v současné literatuře</h3>
<p class="text-gray-600 mb-4">Rozhovor s předními českými spisovateli o nových trendech v literatuře.</p>
<a href="#" class="text-[#0a2463] hover:text-[#c41e3a] font-semibold flex items-center">
Číst více <i data-feather="arrow-right" class="ml-1 w-4 h-4"></i>
</a>
</div>
</article>
</div>
</section>
<!-- Podcast Section -->
<section class="mb-16 pt-16 pb-24 podcast-wave bg-[#f9f9f9] relative -mx-4 px-4">
<div class="container mx-auto">
<div class="flex justify-between items-center mb-8">
<h2 class="playfair text-3xl font-bold text-[#333333]">Naše podcasty</h2>
<a href="#" class="text-[#0a2463] hover:text-[#c41e3a] font-semibold flex items-center">
Všechny epizody <i data-feather="chevron-right" class="ml-1"></i>
</a>
</div>
<div class="grid md:grid-cols-2 gap-8">
<!-- Podcast 1 -->
<div class="bg-white rounded-lg shadow-md p-6 flex">
<div class="flex-shrink-0 mr-4">
<img src="http://static.photos/technology/200x200/1" alt="Podcast cover" class="w-24 h-24 rounded-lg object-cover">
</div>
<div>
<h3 class="playfair text-xl font-bold mb-1">Bistro rozhovory #24</h3>
<p class="text-gray-600 mb-3">Host: Petr Novák - O svobodě slova v digitální věku</p>
<div class="flex items-center justify-between">
<span class="text-gray-500 text-sm">45 min • 10.5.2023</span>
<button class="bg-[#0a2463] hover:bg-[#0d2e7a] text-white rounded-full p-2">
<i data-feather="play" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
<!-- Podcast 2 -->
<div class="bg-white rounded-lg shadow-md p-6 flex">
<div class="flex-shrink-0 mr-4">
<img src="http://static.photos/people/200x200/2" alt="Podcast cover" class="w-24 h-24 rounded-lg object-cover">
</div>
<div>
<h3 class="playfair text-xl font-bold mb-1">Ekonomické bistro #12</h3>
<p class="text-gray-600 mb-3">Jak přežít ekonomickou krizi - rady odborníků</p>
<div class="flex items-center justify-between">
<span class="text-gray-500 text-sm">38 min • 8.5.2023</span>
<button class="bg-[#0a2463] hover:bg-[#0d2e7a] text-white rounded-full p-2">
<i data-feather="play" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Opinions Section -->
<section class="mb-16">
<div class="flex justify-between items-center mb-8">
<h2 class="playfair text-3xl font-bold text-[#333333]">Názory a komentáře</h2>
<a href="#" class="text-[#0a2463] hover:text-[#c41e3a] font-semibold flex items-center">
Všechny názory <i data-feather="chevron-right" class="ml-1"></i>
</a>
</div>
<div class="grid md:grid-cols-2 gap-8">
<!-- Opinion 1 -->
<article class="bg-white rounded-lg shadow-md p-6">
<div class="flex items-center mb-4">
<img src="http://static.photos/people/100x100/1" alt="Autor" class="w-12 h-12 rounded-full mr-4 object-cover">
<div>
<h4 class="font-bold">Jan Novák</h4>
<p class="text-gray-500 text-sm">Politolog, Univerzita Karlova</p>
</div>
</div>
<h3 class="playfair text-xl font-bold mb-3">Proč tradiční média ztrácejí důvěru veřejnosti</h3>
<p class="text-gray-600 mb-4">Hluboká analýza současného stavu žurnalistiky a dopadů mainstreamových médií na společnost...</p>
<div class="flex justify-between items-center">
<span class="text-gray-500 text-sm">8 komentářů</span>
<a href="#" class="text-[#0a2463] hover:text-[#c41e3a] font-semibold text-sm">
Číst komentář
</a>
</div>
</article>
<!-- Opinion 2 -->
<article class="bg-white rounded-lg shadow-md p-6">
<div class="flex items-center mb-4">
<img src="http://static.photos/people/100x100/2" alt="Autor" class="w-12 h-12 rounded-full mr-4 object-cover">
<div>
<h4 class="font-bold">Marie Svobodová</h4>
<p class="text-gray-500 text-sm">Ekonomka, ČNB</p>
</div>
</div>
<h3 class="playfair text-xl font-bold mb-3">Inflace jako nástroj redistribuce bohatství</h3>
<p class="text-gray-600 mb-4">Jak současná monetární politika ovlivňuje různé společenské vrstvy a kdo z ní skutečně těží...</p>
<div class="flex justify-between items-center">
<span class="text-gray-500 text-sm">14 komentářů</span>
<a href="#" class="text-[#0a2463] hover:text-[#c41e3a] font-semibold text-sm">
Číst komentář
</a>
</div>
</article>
</div>
</section>
<!-- Newsletter Section -->
<section class="bg-[#0a2463] text-white rounded-lg shadow-lg p-8 md:p-12 mb-16">
<div class="max-w-3xl mx-auto text-center">
<h2 class="playfair text-3xl font-bold mb-4">Nenechte si ujít žádný článek</h2>
<p class="mb-6">Přihlaste se k odběru našeho newsletteru a dostávejte týdenní výběr nejdůležitějších článků přímo do vaší e-mailové schránky.</p>
<form class="flex flex-col sm:flex-row gap-4 max-w-lg mx-auto">
<input type="email" placeholder="Váš e-mail" class="flex-grow px-4 py-3 rounded-lg text-gray-800 focus:outline-none focus:ring-2 focus:ring-[#ffd700]">
<button type="submit" class="bg-[#ffd700] hover:bg-[#e6c200] text-[#333333] font-bold px-6 py-3 rounded-lg transition">
Odebírat
</button>
</form>
<p class="text-sm mt-4 text-gray-300">Vaše údaje jsou u nás v bezpečí. Nikdy je neprodáme třetím stranám.</p>
</div>
</section>
</main>
<!-- Footer -->
<footer class="bg-[#333333] text-white py-12">
<div class="container mx-auto px-4">
<div class="grid md:grid-cols-4 gap-8 mb-8">
<div>
<div class="flex items-center space-x-2 mb-4">
<i data-feather="coffee" class="text-[#ffd700]"></i>
<span class="playfair text-xl font-bold">Česky Bistro</span>
</div>
<p class="text-gray-400">Nezávislá média pro kritické myšlení. Alternativa k dominantním médiím.</p>
</div>
<div>
<h4 class="playfair text-lg font-bold mb-4">Rubriky</h4>
<ul class="space-y-2">
<li><a href="/politika.html" class="text-gray-400 hover:text-white">Politika</a></li>
<li><a href="/spolecnost.html" class="text-gray-400 hover:text-white">Společnost</a></li>
<li><a href="/ekonomika.html" class="text-gray-400 hover:text-white">Ekonomika</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Kultura</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Názory</a></li>
</ul>
</div>
<div>
<h4 class="playfair text-lg font-bold mb-4">O nás</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Redakce</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Hodnoty</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Kariéra</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Kontakt</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Inzerce</a></li>
</ul>
</div>
<div>
<h4 class="playfair text-lg font-bold mb-4">Sledujte nás</h4>
<div class="flex space-x-4 mb-4">
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="facebook"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="youtube"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="rss"></i></a>
</div>
<h4 class="playfair text-lg font-bold mb-2">Newsletter</h4>
<button class="bg-[#ffd700] hover:bg-[#e6c200] text-[#333333] font-bold px-4 py-2 rounded-lg text-sm transition">
Přihlásit se
</button>
</div>
</div>
<div class="pt-8 border-t border-gray-700 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-500 text-sm mb-4 md:mb-0">© 2023 Česky Bistro. Všechna práva vyhrazena.</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-500 hover:text-white text-sm">Podmínky užití</a>
<a href="#" class="text-gray-500 hover:text-white text-sm">Ochrana osobních údajů</a>
<a href="#" class="text-gray-500 hover:text-white text-sm">Cookies</a>
</div>
</div>
</div>
</footer>
<!-- Mobile Menu -->
<div id="mobile-menu" class="fixed inset-0 bg-[#0a2463] z-50 hidden">
<div class="container mx-auto px-4 py-8">
<div class="flex justify-between items-center mb-8">
<div class="flex items-center space-x-2">
<i data-feather="coffee" class="text-[#ffd700]"></i>
<span class="playfair text-xl font-bold text-white">Česky Bistro</span>
</div>
<button id="close-mobile-menu" class="text-white p-2">
<i data-feather="x"></i>
</button>
</div>
<nav class="flex flex-col space-y-6">
<a href="/" class="text-white hover:text-[#ffd700] text-xl">Domů</a>
<a href="/politika.html" class="text-white hover:text-[#ffd700] text-xl">Politika</a>
<a href="/spolecnost.html" class="text-white hover:text-[#ffd700] text-xl">Společnost</a>
<a href="/ekonomika.html" class="text-white hover:text-[#ffd700] text-xl">Ekonomika</a>
<a href="#" class="text-white hover:text-[#ffd700] text-xl">Kultura</a>
<a href="#" class="text-white hover:text-[#ffd700] text-xl">Názory</a>
<a href="#" class="text-[#ffd700] font-semibold text-xl">Premium</a>
<div class="pt-4">
<button class="bg-[#ffd700] text-[#333333] font-bold py-3 px-6 rounded-full w-full">
Odebírat newsletter
</button>
</div>
</nav>
</div>
</div>
<script>
// Vanta.js background
VANTA.NET({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x3a56c4,
backgroundColor: 0xa0b2,
points: 12.00,
maxDistance: 22.00,
spacing: 18.00
});
// Mobile menu toggle
document.getElementById('mobile-menu-button').addEventListener('click', function() {
document.getElementById('mobile-menu').classList.remove('hidden');
});
document.getElementById('close-mobile-menu').addEventListener('click', function() {
document.getElementById('mobile-menu').classList.add('hidden');
});
// Initialize feather icons
feather.replace();
</script>
</body>
</html>