Fotky

Vložte svůj text...

původní banner kontaktujte nás:

<script>(function(){ var SELS = ['header','.wnd-header','.site-header','nav[role="navigation"]','.wnd-nav','.wnd-menu']; function findHeader(){ for (var i=0;i<SELS.length;i++){ var el = document.querySelector(SELS[i]); if(!el) continue; var r = el.getBoundingClientRect(); if (r.width>0 && r.height>0) return el; } return document.querySelector('header, nav'); } function applyFixedHeader(){ var header = findHeader(); if(!header) return; if (header.__fixedApplied) return; header.__fixedApplied = true; var bg = getComputedStyle(header).backgroundColor || '#fff'; header.style.position = 'fixed'; header.style.top = '0'; header.style.left = '0'; header.style.right = '0'; header.style.zIndex = '50000'; header.style.background = bg; header.style.boxShadow = '0 4px 16px rgba(0,0,0,.08)'; function setOffsets(){ var h = Math.max(header.offsetHeight||0, header.getBoundingClientRect().height||0) || 80; document.body.style.paddingTop = h + 'px'; var style = document.getElementById('rr-sticky-offset-style'); if(!style){ style = document.createElement('style'); style.id='rr-sticky-offset-style'; document.head.appendChild(style); } style.textContent = '[id]{scroll-margin-top:'+(h+10)+'px} html{scroll-behavior:smooth;}'; } setOffsets(); if ('ResizeObserver' in window){ new ResizeObserver(setOffsets).observe(header); } window.addEventListener('load', setOffsets); window.addEventListener('resize', setOffsets); setTimeout(setOffsets, 600); } if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', applyFixedHeader); else applyFixedHeader(); if (window.__rrCardInjected) return; window.__rrCardInjected = true; var LOGO = "https://8df978a6b1.clvaw-cdnwnd.com/b29bb4bc85a9a5df440067f5a6d83c94/200000120-a9507a9508/RR-Cleaning-logo-background-13.webp"; var rawPath = (location.pathname||"/").toLowerCase(); var path = rawPath.replace(/\/+$/,''); var htmlLang = (document.documentElement.getAttribute('lang')||'').toLowerCase(); var isEN = htmlLang.startsWith('en') || path==="/en" || path.indexOf("/en/")===0; var hideOnReservation = /(^|\/)rezervace(\/|$)/.test(path); if (hideOnReservation) return; function injectBanner(){ var css = ":root{--rr-brand:#0B676E;--rr-text:#111827;--rr-muted:#6b7280;--rr-card:#fff;--rr-border:#0B676E;--rr-shadow:0 12px 36px rgba(0,0,0,.16);--rr-radius:16px;--rr-w:320px;}" + "#rr-float-card{position:fixed;right:18px;top:110px;width:var(--rr-w);background:var(--rr-card);border:2px solid var(--rr-border);border-radius:var(--rr-radius);box-shadow:var(--rr-shadow);z-index:80000;font-family:inherit;color:var(--rr-text);overflow:hidden;text-align:center}" + "#rr-float-card .rr-close{position:absolute;top:8px;right:10px;background:transparent;border:0;font-size:20px;cursor:pointer;color:#6b7280}" + "#rr-float-card .rr-header{padding:10px 16px 0 16px}" + "#rr-float-card .rr-logo{height:50px;width:auto;margin:0 auto;display:block}" + "#rr-float-card .rr-body{padding:6px 16px 14px}" + "#rr-float-card .rr-title{margin:6px 0;font-size:24px;font-weight:700}" + "#rr-float-card .rr-sub{margin:0 0 12px;font-size:13.5px;color:var(--rr-muted)}" + "#rr-float-card .rr-btn{display:block;width:calc(100% - 32px);margin:8px auto 0 auto;padding:9px 12px;border-radius:9px;background:var(--rr-brand);color:#fff;text-decoration:none;font-weight:700;text-align:center;transition:all .22s ease}" + "#rr-float-card .rr-btn:hover{filter:brightness(1.15);transform:scale(1.02)}" + "#rr-float-card .rr-contact{margin-top:10px;font-size:13.5px;color:var(--rr-muted)}" + "#rr-float-card .rr-link{color:var(--rr-brand);text-decoration:none;font-weight:600}" + "@media(max-width:768px){" + "#rr-float-card{" + "width:170px;" + "right:10px;" + "left:auto;" + "top:85px;" + "bottom:auto;" + "transform:none !important;" + "}" + "#rr-float-card .rr-header{padding:8px 10px 0 10px}" + "#rr-float-card .rr-logo{height:24px}" + "#rr-float-card .rr-title{font-size:13px;margin:3px 0}" + "#rr-float-card .rr-sub{display:none}" + "#rr-float-card .rr-body{padding:6px 10px 10px}" + "#rr-float-card .rr-btn{width:calc(100% - 12px);padding:6px;border-radius:7px;font-size:11px;margin-top:4px}" + "#rr-float-card .rr-contact{display:none}" + "#rr-float-card .rr-close{font-size:14px;top:4px;right:6px}" + "}"; var styleEl = document.createElement('style'); styleEl.appendChild(document.createTextNode(css)); document.head.appendChild(styleEl); var TITLE = isEN ? "Contact us" : "Kontaktujte nás"; var SUB = isEN ? "Leave a message and we'll get back to you shortly." : "Zanechte nám zprávu a brzy se vám ozveme."; var CTA_TXT = isEN ? "Send a request" : "Odeslat poptávku"; var CTA_HREF= isEN ? "/en/rezervace" : "/rezervace"; var PHONE_TXT = isEN ? "+420 776 183 215" : "776 183 215"; var card = document.createElement('div'); card.id = 'rr-float-card'; card.setAttribute('role','dialog'); card.setAttribute('aria-label','Contact form'); card.innerHTML = '<button class="rr-close" aria-label="'+(isEN?'Close':'Zavřít')+'">×</button>'+ '<div class="rr-header"><img class="rr-logo" alt="RR Cleaning" src="'+LOGO+'"></div>'+ '<div class="rr-body">'+ '<h2 class="rr-title">'+TITLE+'</h2>'+ '<p class="rr-sub">'+SUB+'</p>'+ '<a class="rr-btn" href="'+CTA_HREF+'">'+CTA_TXT+'</a>'+ '<div class="rr-contact">'+ '<a class="rr-link" href="tel:+420776183215">'+PHONE_TXT+'</a><br>'+ '<a class="rr-link" href="mailto:info@rrcleaning.cz">info@rrcleaning.cz</a>'+ '</div>'+ '</div>'; document.body.appendChild(card); var closeBtn = card.querySelector('.rr-close'); if (closeBtn) closeBtn.addEventListener('click', function(){ card.style.display='none'; }); } var start = function(){ setTimeout(injectBanner, 120); }; if (document.readyState==='loading') document.addEventListener('DOMContentLoaded', start); else start();})();</script>