Desbloquea todos los bloques y plantillas premium con All-Access desde 20 € / 3 meses, cancela cuando quieras. Consigue All-Access
Todos los bloques
Gratis Portada

Clinova Hero

A hero block extracted from the Clinova template, available in Tailwind CSS.

0 12
Clinova Hero preview
clinova.html
<!DOCTYPE html>
<html lang="en">
<head>
  <script>
    window.FontAwesomeConfig = { autoReplaceSvg: 'nest' };
  </script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Clinova Hero | Tailwind CSS UI Block</title>
  <meta name="description" content="A hero block extracted from the Clinova template, available in Tailwind CSS.">
  <meta name="keywords" content="Clinova, Tailwind CSS template, HTML website template, health template, medical clinic, family doctor, preventive care, doctor profiles, responsive healthcare design">
  <meta name="author" content="Let's templates">
  <link rel="canonical" href="">

  <meta property="og:type" content="product">
  <meta property="og:site_name" content="Let's templates">
  <meta property="og:locale" content="en_US">
  <meta property="og:url" content="">
  <meta property="og:title" content="Clinova | Tailwind CSS Health Clinic Template">
  <meta property="og:description" content="A calm, editorial Tailwind CSS health template for clinics, family practices, and preventive care providers with doctor profiles, health programs, membership pricing, and online booking.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Clinova template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Clinova | Tailwind CSS Health Clinic Template">
  <meta name="twitter:description" content="A calm, editorial Tailwind CSS health template for clinics, family practices, and preventive care providers with doctor profiles, health programs, membership pricing, and online booking.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Clinova template preview">
  <script src="https://cdn.tailwindcss.com/3.4.17"></script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link href="https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&amp;family=Inter:wght@400;500&amp;display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            navy: '#0e1a3a',
            teal: '#4b7b8a',
            mist: '#f4f4f3',
            frame: '#eeeff1',
            ash: '#9b9b9b'
          },
          fontFamily: {
            sans: ['Inter', 'ui-sans-serif', 'system-ui', 'sans-serif'],
            display: ['Archivo', 'ui-sans-serif', 'system-ui', 'sans-serif']
          }
        }
      }
    };
  </script>
  <style>
    @view-transition { navigation: auto; }
    ::view-transition-old(root) { animation: 180ms ease-out both page-fade-out; }
    ::view-transition-new(root) { animation: 220ms ease-in both page-fade-in; }
    @keyframes page-fade-out { to { opacity: 0; } }
    @keyframes page-fade-in { from { opacity: 0; } }
    html { scroll-behavior: smooth; }
    .font-display { letter-spacing: -0.035em; }
    .no-scrollbar { scrollbar-width: none; }
    .no-scrollbar::-webkit-scrollbar { display: none; }
    details > summary::-webkit-details-marker { display: none; }
    [data-word] { transition: color .35s ease; }
    .reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--reveal-delay, 0ms); }
    .reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      [data-word] { transition: none; }
      ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    }
  </style>
</head>
<body class="bg-frame font-sans text-navy antialiased overflow-x-hidden">
<!-- block:start hero -->
      <section id="hero" class="px-2 md:px-2.5">
        <div class="relative overflow-hidden rounded-2xl md:rounded-3xl aspect-[3/4] sm:aspect-[4/3] lg:aspect-[1298/730]">
          <img src="https://images.unsplash.com/photo-1762343941824-85b9676249a4?auto=format&fit=crop&w=2000&q=80" alt="Two young women smiling down at the camera against a clear blue sky" class="absolute inset-0 h-full w-full object-cover object-[60%_center]">
          <div class="absolute inset-0 bg-gradient-to-r from-navy/35 via-transparent to-transparent"></div>
          <div class="absolute left-6 top-[26%] max-w-[260px] text-white md:left-16">
            <p class="font-display text-3xl font-semibold">Since 2018</p>
            <p class="mt-4 text-sm leading-relaxed text-white/90">From yearly check-ups to everyday wellbeing, we make healthcare feel personal, easy and close to home.</p>
          </div>
          <h1 class="absolute bottom-6 left-5 font-display text-[17vw] font-bold leading-[0.85] tracking-[-0.05em] text-white md:bottom-10 md:left-16 md:text-[12vw] lg:text-[150px]">live well<span class="text-white/80">.</span></h1>
        </div>
      </section>
      <!-- block:end hero -->
<script>
    document.querySelectorAll("[data-menu-toggle]").forEach((button) => {
      const menu = document.getElementById(button.getAttribute("aria-controls"));
      if (!menu) return;
      button.addEventListener("click", () => {
        const open = button.getAttribute("aria-expanded") === "true";
        button.setAttribute("aria-expanded", String(!open));
        menu.classList.toggle("hidden", open);
      });
    });

    document.querySelectorAll("details").forEach((item) => {
      const summary = item.querySelector("summary");
      item.addEventListener("toggle", () => summary?.setAttribute("aria-expanded", String(item.open)));
    });

    document.querySelectorAll("[data-word-reveal]").forEach((paragraph) => {
      const words = [...paragraph.querySelectorAll("[data-word]")];
      if (navigator.webdriver || matchMedia("(prefers-reduced-motion: reduce)").matches) return;
      const paint = () => {
        const rect = paragraph.getBoundingClientRect();
        const progress = Math.min(1, Math.max(0, (innerHeight * 0.85 - rect.top) / (rect.height + innerHeight * 0.35)));
        const lit = Math.round(words.length * progress);
        words.forEach((word, index) => {
          word.classList.toggle("text-navy", index < Math.max(lit, 17));
          word.classList.toggle("text-ash", index >= Math.max(lit, 17));
        });
      };
      addEventListener("scroll", paint, { passive: true });
      paint();
    });

    document.querySelectorAll("[data-values]").forEach((section) => {
      const images = [...section.querySelectorAll("[data-value-image]")];
      const panels = [...section.querySelectorAll("[data-value-panel]")];
      const tabs = [...section.querySelectorAll("[data-value-tab]")];
      let index = 0;
      const show = (next) => {
        index = (next + panels.length) % panels.length;
        images.forEach((image, i) => image.classList.toggle("opacity-0", i !== index));
        panels.forEach((panel, i) => { panel.hidden = i !== index; });
        tabs.forEach((tab, i) => tab.setAttribute("aria-selected", String(i === index)));
      };
      tabs.forEach((tab) => tab.addEventListener("click", () => show(Number(tab.dataset.valueTab))));
      section.querySelector("[data-value-prev]")?.addEventListener("click", () => show(index - 1));
      section.querySelector("[data-value-next]")?.addEventListener("click", () => show(index + 1));
    });

    document.querySelectorAll("[data-carousel]").forEach((carousel) => {
      const track = carousel.querySelector("[data-carousel-track]");
      const slides = [...track.children];
      let index = 0;
      const perView = () => Math.max(1, Math.round(track.clientWidth / slides[0].clientWidth));
      const maxIndex = () => Math.max(0, slides.length - perView());
      const render = () => { track.style.transform = `translateX(-${index * slides[0].clientWidth}px)`; };
      const go = (next) => { const max = maxIndex(); index = next > max ? 0 : next < 0 ? max : next; render(); };
      carousel.querySelector("[data-carousel-prev]")?.addEventListener("click", () => go(index - 1));
      carousel.querySelector("[data-carousel-next]")?.addEventListener("click", () => go(index + 1));
      addEventListener("resize", () => go(Math.min(index, maxIndex())));
    });

    document.querySelectorAll("[data-callback]").forEach((form) => {
      form.addEventListener("submit", (event) => {
        event.preventDefault();
        const note = form.parentElement.querySelector("[data-callback-note]");
        if (note) note.hidden = false;
        form.reset();
      });
    });

    (() => {
      const counters = document.querySelectorAll("[data-count-to]");
      if (!counters.length || navigator.webdriver || matchMedia("(prefers-reduced-motion: reduce)").matches || !("IntersectionObserver" in window)) return;
      const observer = new IntersectionObserver((entries) => {
        entries.forEach(({ isIntersecting, target }) => {
          if (!isIntersecting) return;
          observer.unobserve(target);
          const end = Number(target.dataset.countTo);
          const suffix = target.dataset.countSuffix || "";
          const start = performance.now();
          const tick = (now) => {
            const progress = Math.min((now - start) / 1200, 1);
            target.textContent = Math.round(end * progress).toLocaleString() + suffix;
            if (progress < 1) requestAnimationFrame(tick);
          };
          requestAnimationFrame(tick);
        });
      });
      counters.forEach((counter) => observer.observe(counter));
    })();

    (() => {
      const items = document.querySelectorAll("[data-reveal]");
      const skip = navigator.webdriver || !("IntersectionObserver" in window) || matchMedia("(prefers-reduced-motion: reduce)").matches;
      if (!items.length || skip) return;
      document.documentElement.classList.add("reveal-ready");
      const observer = new IntersectionObserver((entries) => {
        entries.forEach((entry) => {
          if (!entry.isIntersecting) return;
          entry.target.classList.add("is-visible");
          observer.unobserve(entry.target);
        });
      }, { rootMargin: "0px 0px -10% 0px" });
      items.forEach((item) => observer.observe(item));
    })();
  </script>
<p class="lt-built-with" style="margin:0;padding:12px 16px;text-align:center;font:500 11px/1.4 system-ui,-apple-system,sans-serif;color:#9ca3af;">Built with <a href="https://letstemplates.com" style="color:#059669;text-decoration:none;">Let's templates</a></p>
</body>
</html>

De esta plantilla

Clinova screenshot

Salud y fitness

Clinova

Acceso ilimitado a todos los productos

Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.

20 € / 3 meses o 60 € / año
Conseguir acceso ilimitado