This commit is contained in:
Tomas Dvorak
2025-07-04 11:59:34 +02:00
parent 9f2cff4fa5
commit be81e03aee
9 changed files with 673 additions and 646 deletions
+321 -294
View File
@@ -9,48 +9,48 @@
<meta name="geo.placename" content="Uherské Hradiště" />
<meta name="geo.position" content="49.0695;17.4597" />
<meta name="ICBM" content="49.0695, 17.4597" />
<link rel="canonical" href="https://sportcreative.cz/" />
<link rel="alternate" hreflang="cs" href="https://sportcreative.cz/" />
<link rel="alternate" hreflang="x-default" href="https://sportcreative.cz/" />
<link rel="canonical" href="https://sportcreative.eu/" />
<link rel="alternate" hreflang="cs" href="https://sportcreative.eu/" />
<link rel="alternate" hreflang="x-default" href="https://sportcreative.eu/" />
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ionicons/7.1.0/esm/ionicons.min.js"></script>
<!-- Custom JS will be included here -->
<script src="script.js" defer></script>
<link rel="stylesheet" href="style.css">
<link rel="icon" href="logo.ico" type="image/x-icon">
<script src="../script.js" defer></script>
<link rel="stylesheet" href="../style.css">
<link rel="icon" href="../logo.ico" type="image/x-icon">
<meta name="description" content="SportCreative - Profesionální digitální marketing pro sportovní kluby v Uherském Hradišti a Zlínském kraji. Specializujeme se na správu sociálních sítí, tvorbu videí, webdesign a online propagaci sportovních týmů.">
<meta name="keywords" content="digitální marketing Uherské Hradiště, správa sociálních sítí, sportovní marketing, tvorba videí pro sport, webdesign pro sportovní kluby, online propagace sportu, Zlínský kraj, fotbalový marketing, sportovní fotografie, grafický design">
<meta name="author" content="SportCreative">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://sportcreative.cz/">
<meta property="og:url" content="https://sportcreative.eu/">
<meta property="og:title" content="SportCreative | Profesionální digitální marketing pro sportovní kluby">
<meta property="og:description" content="Zvyšte viditelnost vašeho sportovního klubu. Specializujeme se na správu sociálních sítí, tvorbu videí a webdesign pro sportovní týmy.">
<meta property="og:image" content="https://sportcreative.cz/page-prev.png">
<meta property="og:image" content="https://sportcreative.eu/page-prev.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:locale" content="cs_CZ">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://sportcreative.cz/">
<meta property="twitter:url" content="https://sportcreative.eu/">
<meta property="twitter:title" content="SportCreative | Profesionální digitální marketing pro sportovní kluby">
<meta property="twitter:description" content="Zvyšte viditelnost vašeho sportovního klubu. Specializujeme se na správu sociálních sítí, tvorbu videí a webdesign pro sportovní týmy.">
<meta property="twitter:image" content="https://sportcreative.cz/page-prev.png">
<meta property="twitter:image" content="https://sportcreative.eu/page-prev.png">
<!-- Structured Data -->
<script type="application/ld+json">
[{
"@context": "https://schema.org",
"@type": "ProfessionalService",
"@id": "https://sportcreative.cz/#business",
"@id": "https://sportcreative.eu/#business",
"name": "SportCreative",
"image": [
"https://sportcreative.cz/logo.png",
"https://sportcreative.cz/page-prev.png"
"https://sportcreative.eu/logo.png",
"https://sportcreative.eu/page-prev.png"
],
"url": "https://sportcreative.cz/",
"url": "https://sportcreative.eu/",
"telephone": "+420775247633",
"priceRange": "Kč",
"hasOfferCatalog": {
@@ -106,9 +106,9 @@
"closes": "17:00"
}],
"sameAs": [
"https://www.facebook.com/vasstranka",
"https://www.instagram.com/vasucet",
"https://www.linkedin.com/company/vasfirma"
"https://www.facebook.com/sportcreative",
"https://www.instagram.com/sportcreative",
"https://www.linkedin.com/company/sportcreative-eu"
],
"areaServed": [{
"@type": "State",
@@ -126,7 +126,7 @@
"@type": "ListItem",
"position": 1,
"name": "Úvod",
"item": "https://sportcreative.cz/"
"item": "https://sportcreative.eu/"
}]
},
{
@@ -490,23 +490,23 @@
<div class="flex justify-between items-center py-4">
<!-- Logo -->
<div class="flex items-center">
<a href="index.html" class="logo">
<img src="header-logo.png" alt="SportCreative" class="logo">
<a href="../index.html" class="logo">
<img src="../header-logo.png" alt="SportCreative" class="logo">
</a>
</div>
<!-- Desktop Navigation -->
<nav class="hidden md:flex space-x-8">
<a href="index.html" class="text-gray-700 hover:text-sport-purple font-medium transition duration-150">Domů</a>
<a href="sluzby.html" class="text-gray-700 hover:text-sport-purple font-medium transition duration-150">Služby</a>
<a href="portfolio.html" class="text-gray-700 hover:text-sport-purple font-medium transition duration-150">Portfolio</a>
<a href="o-nas.html" class="text-gray-700 hover:text-sport-purple font-medium transition duration-150">O nás</a>
<a href="kontakt.html" class="text-gray-700 hover:text-sport-purple font-medium transition duration-150">Kontakt</a>
<a href="../index.html" class="text-gray-700 hover:text-sport-purple font-medium transition duration-150">Domů</a>
<a href="../sluzby.html" class="text-gray-700 hover:text-sport-purple font-medium transition duration-150">Služby</a>
<a href="../portfolio.html" class="text-gray-700 hover:text-sport-purple font-medium transition duration-150">Portfolio</a>
<a href="../o-nas.html" class="text-gray-700 hover:text-sport-purple font-medium transition duration-150">O nás</a>
<a href="../kontakt.html" class="text-gray-700 hover:text-sport-purple font-medium transition duration-150">Kontakt</a>
</nav>
<!-- CTA Button -->
<div class="hidden md:block">
<a href="kontakt.html" class="bg-sport-purple text-white px-6 py-2 rounded-full font-medium hover:shadow-lg transition duration-300">
<a href="../kontakt.html" class="bg-sport-purple text-white px-6 py-2 rounded-full font-medium hover:shadow-lg transition duration-300">
Nezávazná konzultace
</a>
</div>
@@ -522,14 +522,14 @@
<!-- Mobile Navigation -->
<div class="mobile-menu w-full absolute top-full left-0 bg-white shadow-lg">
<nav class="px-2 pt-2 pb-4 space-y-1">
<a href="index.html" class="block px-4 py-3 text-base font-medium text-gray-700 hover:bg-gray-50 hover:text-sport-purple rounded-lg transition-colors duration-200">Domů</a>
<a href="sluzby.html" class="block px-4 py-3 text-base font-medium text-gray-700 hover:bg-gray-50 hover:text-sport-purple rounded-lg transition-colors duration-200">Služby</a>
<a href="portfolio.html" class="block px-4 py-3 text-base font-medium text-gray-700 hover:bg-gray-50 hover:text-sport-purple rounded-lg transition-colors duration-200">Portfolio</a>
<a href="o-nas.html" class="block px-4 py-3 text-base font-medium text-gray-700 hover:bg-gray-50 hover:text-sport-purple rounded-lg transition-colors duration-200">O nás</a>
<a href="kontakt.html" class="block px-4 py-3 text-base font-medium text-gray-700 hover:bg-gray-50 hover:text-sport-purple rounded-lg transition-colors duration-200">Kontakt</a>
<a href="../index.html" class="block px-4 py-3 text-base font-medium text-gray-700 hover:bg-gray-50 hover:text-sport-purple rounded-lg transition-colors duration-200">Domů</a>
<a href="../sluzby.html" class="block px-4 py-3 text-base font-medium text-gray-700 hover:bg-gray-50 hover:text-sport-purple rounded-lg transition-colors duration-200">Služby</a>
<a href="../portfolio.html" class="block px-4 py-3 text-base font-medium text-gray-700 hover:bg-gray-50 hover:text-sport-purple rounded-lg transition-colors duration-200">Portfolio</a>
<a href="../o-nas.html" class="block px-4 py-3 text-base font-medium text-gray-700 hover:bg-gray-50 hover:text-sport-purple rounded-lg transition-colors duration-200">O nás</a>
<a href="../kontakt.html" class="block px-4 py-3 text-base font-medium text-gray-700 hover:bg-gray-50 hover:text-sport-purple rounded-lg transition-colors duration-200">Kontakt</a>
</nav>
<div class="px-4 py-3 border-t border-gray-100">
<a href="kontakt.html" class="block w-full text-center px-6 py-3 border border-transparent rounded-full text-base font-medium text-white bg-sport-purple hover:bg-sport-orange transition-all duration-300 hover:shadow-lg hover:-translate-y-0.5">
<a href="../kontakt.html" class="block w-full text-center px-6 py-3 border border-transparent rounded-full text-base font-medium text-white bg-sport-purple hover:bg-sport-orange transition-all duration-300 hover:shadow-lg hover:-translate-y-0.5">
Nezávazná konzultace
</a>
</div>
@@ -605,13 +605,40 @@
<p class="text-gray-900">Září 2024</p>
</div>
<div>
<h4 class="text-sm font-medium text-gray-500">Web</h4>
<h4 class="text-sm font-medium text-gray-500">E-shop Winnersport</h4>
<a href="https://www.winnersport.cz" target="_blank" class="text-sport-purple hover:underline">www.winnersport.cz</a>
</div>
<div>
<h4 class="text-sm font-medium text-gray-500">Instagram</h4>
<h4 class="text-sm font-medium text-gray-500">Web - ZEUS Sport</h4>
<a href="https://www.zeusport.cz/" target="_blank" class="text-sport-purple hover:underline">www.zeusport.cz</a>
</div>
<div>
<h4 class="text-sm font-medium text-gray-500">Web - Révvi Sport</h4>
<a href="https://www.revvisport.cz/" target="_blank" class="text-sport-purple hover:underline">www.zeusport.cz</a>
</div>
<div>
<h4 class="text-sm font-medium text-gray-500">Instagram - Winnersport</h4>
<a href="https://www.instagram.com/winnersport_cz/" target="_blank" class="text-sport-purple hover:underline">@winnersport_cz</a>
</div>
<div>
<h4 class="text-sm font-medium text-gray-500">Instagram - Masita</h4>
<a href="https://www.instagram.com/masita_cz/" target="_blank" class="text-sport-purple hover:underline">@masita_cz</a>
</div>
<div>
<h4 class="text-sm font-medium text-gray-500">Instagram - Révvi Sport</h4>
<a href="https://www.instagram.com/revvisport_cz/" target="_blank" class="text-sport-purple hover:underline">@revvisport_cz</a>
</div>
<div>
<h4 class="text-sm font-medium text-gray-500">Facebook - Winnersport</h4>
<a href="https://www.facebook.com/winnersportas" target="_blank" class="text-sport-purple hover:underline">@winnersportas</a>
</div>
<div>
<h4 class="text-sm font-medium text-gray-500">Facebook - Révvi Sport</h4>
<a href="https://www.facebook.com/profile.php?id=61571357696931" target="_blank" class="text-sport-purple hover:underline">@revvisport</a>
</div>
<div>
<h4 class="text-sm font-medium text-gray-500">Facebook - Masita</h4>
<a href="https://www.facebook.com/profile.php?id=100094388109257" target="_blank" class="text-sport-purple hover:underline">@masita</a>
</div>
</div>
</div>
@@ -664,132 +691,132 @@
<!-- Footer -->
<footer class="bg-gray-900 text-white">
<!-- Main Footer -->
<div class="container mx-auto px-4 sm:px-6 lg:px-8 py-12">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
<!-- Column 1: Logo & About -->
<div>
<div class="text-2xl font-bold mb-4">
<span class="text-sport-purple">Sport</span><span class="text-sport-orange">Creative</span>
</div>
<p class="text-gray-400 mb-4">
Digitální marketingová agentura specializovaná na sportovní týmy a organizace. Tvoříme obsah, který inspiruje a spojuje fanoušky.
</p>
<div class="flex space-x-4">
<!-- <a href="#" class="text-gray-400 hover:text-white transition duration-150">
<ion-icon name="logo-facebook" class="text-xl"></ion-icon>
</a> -->
<a href="https://www.instagram.com/sportcreative_cz/" target="_blank" aria-label="Instagram" alt="Instagram" class="text-gray-400 hover:text-white transition duration-150">
<ion-icon name="logo-instagram" class="text-xl"></ion-icon>
</a>
<!-- <a href="#" class="text-gray-400 hover:text-white transition duration-150">
<ion-icon name="logo-twitter" class="text-xl"></ion-icon>
</a> -->
<a href="https://www.linkedin.com/company/sportcreative-eu" target="_blank" aria-label="LinkedIn" alt="LinkedIn" class="text-gray-400 hover:text-white transition duration-150">
<ion-icon name="logo-linkedin" class="text-xl"></ion-icon>
</a>
</div>
</div>
<!-- Column 2: Services -->
<div>
<h3 class="text-lg font-semibold mb-4 text-white">Služby</h3>
<ul class="space-y-2">
<li>
<a href="sluzby/video-editing.html" class="text-gray-400 hover:text-white transition duration-150">Video Editing</a>
</li>
<li>
<a href="sluzby/sociální-sítě.html" class="text-gray-400 hover:text-white transition duration-150">Sociální sítě</a>
</li>
<li>
<a href="sluzby/tvorba-reels.html" class="text-gray-400 hover:text-white transition duration-150">Tvorba Reels</a>
</li>
<li>
<a href="sluzby/fotografie-video.html" class="text-gray-400 hover:text-white transition duration-150">Profi Fotografie & Video</a>
</li>
<li>
<a href="sluzby/web.html" class="text-gray-400 hover:text-white transition duration-150">Správa Webu</a>
</li>
<li>
<a href="sluzby/design.html" class="text-gray-400 hover:text-white transition duration-150">Grafický Design</a>
</li>
<li>
<a href="sluzby/marketing.html" class="text-gray-400 hover:text-white transition duration-150">Digitální Marketing</a>
</li>
</ul>
</div>
<!-- Column 3: Quick Links -->
<div>
<h3 class="text-lg font-semibold mb-4 text-white">Rychlé odkazy</h3>
<ul class="space-y-2">
<li>
<a href="index.html" class="text-gray-400 hover:text-white transition duration-150">Domů</a>
</li>
<li>
<a href="o-nas.html" class="text-gray-400 hover:text-white transition duration-150">O nás</a>
</li>
<li>
<a href="portfolio.html" class="text-gray-400 hover:text-white transition duration-150">Portfolio</a>
</li>
<li>
<a href="kariéra.html" class="text-gray-400 hover:text-white transition duration-150">Kariéra</a>
</li>
<li>
<a href="kontakt.html" class="text-gray-400 hover:text-white transition duration-150">Kontakt</a>
</li>
</ul>
</div>
<!-- Column 4: Contact Info -->
<div>
<h3 class="text-lg font-semibold mb-4 text-white">Kontakt</h3>
<ul class="space-y-3">
<!-- <li class="flex items-start">
<ion-icon name="location-outline" class="text-sport-orange text-xl mt-1 mr-2"></ion-icon>
<span class="text-gray-400">Sportovní 123, 150 00 Praha 5</span>
</li> -->
<li class="flex items-start">
<ion-icon name="call-outline" class="text-sport-orange text-xl mt-1 mr-2"></ion-icon>
<div>
<div class="text-gray-400">+420 775 247 633</div>
<div class="text-gray-400">+420 778 701 838</div>
</div>
</li>
<li class="flex items-center">
<ion-icon name="mail-outline" class="text-sport-orange text-xl mr-2 mt-1"></ion-icon>
<div>
<div class="text-gray-400 cursor-pointer hover:text-white transition-colors" onclick="copyEmailAndRedirect('info@sportcreative.eu')">info@sportcreative.eu</div>
<div class="text-sm text-sport-orange">Odpovídáme do 24 hodin</div>
</div>
</li>
<li class="flex items-start">
<ion-icon name="time-outline" class="text-sport-orange text-xl mt-1 mr-2"></ion-icon>
<span class="text-gray-400">Po-Ne: 8:00 - 20:00</span>
</li>
</ul>
</div>
</div>
</div>
<!-- Copyright -->
<div class="border-t border-gray-800 py-6">
<div class="container mx-auto px-4 sm:px-6 lg:px-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 text-sm mb-4 md:mb-0">
&copy; 2025 SportCreative. Všechna práva vyhrazena.
</p>
<div class="flex space-x-4 text-sm text-gray-400">
<a href="obchodni-podminky.html" class="hover:text-white transition duration-150">Podmínky použití</a>
<a href="gdpr.html" class="hover:text-white transition duration-150">Ochrana soukromí</a>
<a href="cookies.html" class="hover:text-white transition duration-150">Cookies</a>
</div>
</div>
</div>
<!-- Main Footer -->
<div class="container mx-auto px-4 sm:px-6 lg:px-8 py-12">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
<!-- Column 1: Logo & About -->
<div>
<div class="text-2xl font-bold mb-4">
<span class="text-sport-purple">Sport</span><span class="text-sport-orange">Creative</span>
</div>
<p class="text-gray-400 mb-4">
Digitální marketingová agentura specializovaná na sportovní týmy a organizace. Tvoříme obsah, který inspiruje a spojuje fanoušky.
</p>
<div class="flex space-x-4">
<!-- <a href="#" class="text-gray-400 hover:text-white transition duration-150">
<ion-icon name="logo-facebook" class="text-xl"></ion-icon>
</a> -->
<a href="https://www.instagram.com/sportcreative_cz/" target="_blank" aria-label="Instagram" alt="Instagram" class="text-gray-400 hover:text-white transition duration-150">
<ion-icon name="logo-instagram" class="text-xl"></ion-icon>
</a>
<!-- <a href="#" class="text-gray-400 hover:text-white transition duration-150">
<ion-icon name="logo-twitter" class="text-xl"></ion-icon>
</a> -->
<a href="https://www.linkedin.com/company/sportcreative-eu" target="_blank" aria-label="LinkedIn" alt="LinkedIn" class="text-gray-400 hover:text-white transition duration-150">
<ion-icon name="logo-linkedin" class="text-xl"></ion-icon>
</a>
</div>
</div>
<!-- Column 2: Services -->
<div>
<h3 class="text-lg font-semibold mb-4 text-white">Služby</h3>
<ul class="space-y-2">
<li>
<a href="../sluzby/video-editing.html" class="text-gray-400 hover:text-white transition duration-150">Video Editing</a>
</li>
<li>
<a href="../sluzby/sociální-sítě.html" class="text-gray-400 hover:text-white transition duration-150">Sociální sítě</a>
</li>
<li>
<a href="../sluzby/tvorba-reels.html" class="text-gray-400 hover:text-white transition duration-150">Tvorba Reels</a>
</li>
<li>
<a href="../sluzby/fotografie-video.html" class="text-gray-400 hover:text-white transition duration-150">Profi Fotografie & Video</a>
</li>
<li>
<a href="../sluzby/web.html" class="text-gray-400 hover:text-white transition duration-150">Správa Webu</a>
</li>
<li>
<a href="../sluzby/design.html" class="text-gray-400 hover:text-white transition duration-150">Grafický Design</a>
</li>
<li>
<a href="../sluzby/marketing.html" class="text-gray-400 hover:text-white transition duration-150">Digitální Marketing</a>
</li>
</ul>
</div>
<!-- Column 3: Quick Links -->
<div>
<h3 class="text-lg font-semibold mb-4 text-white">Rychlé odkazy</h3>
<ul class="space-y-2">
<li>
<a href="../index.html" class="text-gray-400 hover:text-white transition duration-150">Domů</a>
</li>
<li>
<a href="../o-nas.html" class="text-gray-400 hover:text-white transition duration-150">O nás</a>
</li>
<li>
<a href="../portfolio.html" class="text-gray-400 hover:text-white transition duration-150">Portfolio</a>
</li>
<li>
<a href="../kariéra.html" class="text-gray-400 hover:text-white transition duration-150">Kariéra</a>
</li>
<li>
<a href="../kontakt.html" class="text-gray-400 hover:text-white transition duration-150">Kontakt</a>
</li>
</ul>
</div>
<!-- Column 4: Contact Info -->
<div>
<h3 class="text-lg font-semibold mb-4 text-white">Kontakt</h3>
<ul class="space-y-3">
<!-- <li class="flex items-start">
<ion-icon name="location-outline" class="text-sport-orange text-xl mt-1 mr-2"></ion-icon>
<span class="text-gray-400">Sportovní 123, 150 00 Praha 5</span>
</li> -->
<li class="flex items-start">
<ion-icon name="call-outline" class="text-sport-orange text-xl mt-1 mr-2"></ion-icon>
<div>
<div class="text-gray-400">+420 775 247 633</div>
<div class="text-gray-400">+420 778 701 838</div>
</div>
</li>
<li class="flex items-center">
<ion-icon name="mail-outline" class="text-sport-orange text-xl mr-2 mt-1"></ion-icon>
<div>
<div class="text-gray-400 cursor-pointer hover:text-white transition-colors" onclick="copyEmailAndRedirect('info@sportcreative.eu')">info@sportcreative.eu</div>
<div class="text-sm text-sport-orange">Odpovídáme do 24 hodin</div>
</div>
</li>
<li class="flex items-start">
<ion-icon name="time-outline" class="text-sport-orange text-xl mt-1 mr-2"></ion-icon>
<span class="text-gray-400">Po-Ne: 8:00 - 20:00</span>
</li>
</ul>
</div>
</div>
</div>
<!-- Copyright -->
<div class="border-t border-gray-800 py-6">
<div class="container mx-auto px-4 sm:px-6 lg:px-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-400 text-sm mb-4 md:mb-0">
&copy; 2025 SportCreative. Všechna práva vyhrazena.
</p>
<div class="flex space-x-4 text-sm text-gray-400">
<a href="../obchodni-podminky.html" class="hover:text-white transition duration-150">Podmínky použití</a>
<a href="../gdpr.html" class="hover:text-white transition duration-150">Ochrana soukromí</a>
<a href="../cookies.html" class="hover:text-white transition duration-150">Cookies</a>
</div>
</div>
</div>
</footer>
<!-- Back to Top Button -->
<button class="fixed bottom-6 right-6 bg-sport-orange rounded-full shadow-lg opacity-0 invisible transition-all duration-300 hover:bg-sport-purple hover:scale-110" id="backToTop">
<ion-icon name="arrow-up-outline"></ion-icon>
<ion-icon name="arrow-up-outline"></ion-icon>
</button>
<!-- Ionicons Script - Placed at the end for performance -->
@@ -797,161 +824,161 @@
<!-- Simple JavaScript for Back to Top functionality -->
<script>
// Copy email to clipboard and redirect to contact page
function copyEmailAndRedirect(email) {
// Copy email to clipboard
navigator.clipboard.writeText(email).then(function() {
// Show copied tooltip or feedback if needed
console.log('Email zkopírován do schránky');
// Redirect to contact page
window.location.href = 'kontakt.html';
}).catch(function(err) {
console.error('Nepodařilo se zkopírovat email: ', err);
// Still redirect even if copy fails
window.location.href = 'kontakt.html';
});
}
// Copy email to clipboard and redirect to contact page
function copyEmailAndRedirect(email) {
// Copy email to clipboard
navigator.clipboard.writeText(email).then(function() {
// Show copied tooltip or feedback if needed
console.log('Email zkopírován do schránky');
// Redirect to contact page
window.location.href = '../kontakt.html';
}).catch(function(err) {
console.error('Nepodařilo se zkopírovat email: ', err);
// Still redirect even if copy fails
window.location.href = '../kontakt.html';
});
}
document.addEventListener('DOMContentLoaded', function() {
const backToTopButton = document.getElementById('backToTop');
window.addEventListener('scroll', function() {
if (window.pageYOffset > 300) {
backToTopButton.classList.remove('opacity-0', 'invisible');
backToTopButton.classList.add('opacity-100', 'visible');
} else {
backToTopButton.classList.remove('opacity-100', 'visible');
backToTopButton.classList.add('opacity-0', 'invisible');
}
});
backToTopButton.addEventListener('click', function() {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
});
document.addEventListener('DOMContentLoaded', function() {
const backToTopButton = document.getElementById('backToTop');
window.addEventListener('scroll', function() {
if (window.pageYOffset > 300) {
backToTopButton.classList.remove('opacity-0', 'invisible');
backToTopButton.classList.add('opacity-100', 'visible');
} else {
backToTopButton.classList.remove('opacity-100', 'visible');
backToTopButton.classList.add('opacity-0', 'invisible');
}
});
backToTopButton.addEventListener('click', function() {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
});
</script>
<script src="script.js" defer></script>
<script src="../script.js" defer></script>
<style>
/* Cookie Consent Styles */
.cookie-consent {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 9999;
padding: 16px;
display: flex;
justify-content: center;
transition: transform 0.3s ease;
}
.cookie-consent.hidden {
transform: translateY(100%);
}
/* Cookie Consent Styles */
.cookie-consent {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 9999;
padding: 16px;
display: flex;
justify-content: center;
transition: transform 0.3s ease;
}
.cookie-consent.hidden {
transform: translateY(100%);
}
.cookie-consent-banner {
background: white;
border-radius: 15px;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
0 8px 10px -6px rgba(0, 0, 0, 0.1);
padding: 1.5rem 1.5rem 1.5rem 1.25rem;
max-width: 800px;
width: 100%;
display: flex;
align-items: center;
gap: 1rem;
position: relative;
overflow: hidden;
}
.cookie-message {
flex: 1;
font-size: 1rem;
line-height: 1.5;
color: #333;
}
.cookie-link {
color: #6c38d9;
text-decoration: none;
font-weight: 600;
margin-left: 0.25rem;
transition: 0.3s;
}
.cookie-link:hover {
text-decoration: underline;
}
.cookie-button {
border: none;
border-radius: 9999px;
padding: 0.6rem 1.75rem;
font-weight: 600;
font-size: 0.95rem;
line-height: 1.5;
white-space: nowrap;
min-width: 120px;
text-align: center;
background: linear-gradient(135deg, #6c38d9 0%, #8a5ad1 100%);
color: white;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-button:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
@media (max-width: 767px) {
.cookie-consent-banner {
background: white;
border-radius: 15px;
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1),
0 8px 10px -6px rgba(0, 0, 0, 0.1);
padding: 1.5rem 1.5rem 1.5rem 1.25rem;
max-width: 800px;
width: 100%;
display: flex;
align-items: center;
gap: 1rem;
position: relative;
overflow: hidden;
}
.cookie-message {
flex: 1;
font-size: 1rem;
line-height: 1.5;
color: #333;
}
.cookie-link {
color: #6c38d9;
text-decoration: none;
font-weight: 600;
margin-left: 0.25rem;
transition: 0.3s;
}
.cookie-link:hover {
text-decoration: underline;
flex-direction: column;
text-align: center;
}
.cookie-button {
border: none;
border-radius: 9999px;
padding: 0.6rem 1.75rem;
font-weight: 600;
font-size: 0.95rem;
line-height: 1.5;
white-space: nowrap;
min-width: 120px;
text-align: center;
background: linear-gradient(135deg, #6c38d9 0%, #8a5ad1 100%);
color: white;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-button:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
@media (max-width: 767px) {
.cookie-consent-banner {
flex-direction: column;
text-align: center;
}
.cookie-button {
width: 100%;
margin-top: 1rem;
}
width: 100%;
margin-top: 1rem;
}
}
</style>
<!-- Cookie Consent HTML -->
<div id="cookieConsent" class="cookie-consent hidden">
<div class="cookie-consent-banner">
<p class="cookie-message">
Pro zajištění nejlepšího zážitku používáme cookies. Pokračováním souhlasíte s naším
<a href="cookies.html" class="cookie-link" target="_blank" rel="noopener noreferrer">
sběrem a používáním dat
</a>
</p>
<button id="cookieConsentButton" class="cookie-button">Rozumím</button>
</div>
<div class="cookie-consent-banner">
<p class="cookie-message">
Pro zajištění nejlepšího zážitku používáme cookies. Pokračováním souhlasíte s naším
<a href="cookies.html" class="cookie-link" target="_blank" rel="noopener noreferrer">
sběrem a používáním dat
</a>
</p>
<button id="cookieConsentButton" class="cookie-button">Rozumím</button>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const cookieConsent = document.getElementById('cookieConsent');
const consentButton = document.getElementById('cookieConsentButton');
const consentKey = 'cookieConsentAccepted';
// Check if consent was already given
if (!localStorage.getItem(consentKey)) {
cookieConsent.classList.remove('hidden');
}
// Handle button click
consentButton.addEventListener('click', function() {
localStorage.setItem(consentKey, 'true');
cookieConsent.classList.add('hidden');
});
document.addEventListener('DOMContentLoaded', function() {
const cookieConsent = document.getElementById('cookieConsent');
const consentButton = document.getElementById('cookieConsentButton');
const consentKey = 'cookieConsentAccepted';
// Check if consent was already given
if (!localStorage.getItem(consentKey)) {
cookieConsent.classList.remove('hidden');
}
// Handle button click
consentButton.addEventListener('click', function() {
localStorage.setItem(consentKey, 'true');
cookieConsent.classList.add('hidden');
});
});
</script>
</body>