Unlock every premium block and template with All-Access from $20 / 3 months, cancel anytime. Get All-Access
All blocks
Free Navbar

Mintry Menú de navegación

A menú de navegación block extracted from the Mintry template, available in Tailwind CSS.

0 0
Mintry Menú de navegación preview
mintry.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>Mintry Navbar | Tailwind CSS UI Block</title>
  <meta name="description" content="A navbar block extracted from the Mintry template, available in Tailwind CSS.">
  <meta name="keywords" content="Mintry, Tailwind CSS template, HTML website template, dentist template, dental clinic website, dental practice template, treatments and fees page, appointment request form, health template">
  <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="Mintry | Tailwind CSS Health &amp; Fitness Template">
  <meta property="og:description" content="A bright Tailwind CSS template for dentists and dental clinics, with a bold headline over a portrait panel, a visit finder, a dentist switcher, reviews, treatments, fees and a booking request form.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Mintry template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Mintry | Tailwind CSS Health &amp; Fitness Template">
  <meta name="twitter:description" content="A bright Tailwind CSS template for dentists and dental clinics, with a bold headline over a portrait panel, a visit finder, a dentist switcher, reviews, treatments, fees and a booking request form.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Mintry template preview">
  <script src="https://cdn.tailwindcss.com/3.4.17"></script>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link href="https://fonts.googleapis.com/css2?family=Hind:wght@400;500;600;700&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            ink: { DEFAULT: '#1d2327', soft: '#4a545b', mute: '#69747b' },
            mist: { DEFAULT: '#f1f2f4', deep: '#e3e5e8' },
            mint: { DEFAULT: '#d4ece5', deep: '#a9d6ca', dark: '#1f5b50' },
            coral: { DEFAULT: '#e8607c', deep: '#c9415f' },
            line: '#dfe2e5'
          },
          fontFamily: {
            sans: ['Hind', 'sans-serif']
          }
        }
      }
    }
  </script>
  <style>
    @view-transition { navigation: auto; }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .slash { font-size: .95rem; color: #69747b; }
    .slash::before { content: "/ "; color: #e8607c; }
    .underlined { text-decoration: underline; text-decoration-thickness: .07em; text-underline-offset: .12em; }
    .outline-word { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .95); font-weight: 700; line-height: .8; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; user-select: none; }
    .disc { display: inline-flex; align-items: center; justify-content: center; border-radius: 9999px; background: #e8607c; color: #fff; transition: transform .3s ease, background-color .3s ease; }
    a:hover > .disc, button:hover > .disc, a.disc:hover { transform: scale(1.06); background: #c9415f; }
    .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) { .disc { transition: none; } }
  </style>
</head>
<body class="bg-white font-sans text-ink antialiased">
<!-- block:start navbar -->
  <header class="absolute inset-x-0 top-0 z-40">
    <div class="mx-auto flex max-w-[1500px] items-center justify-between gap-6 px-5 py-5 md:px-10 md:py-8">
      <a href="index.html" class="flex items-center gap-3 text-2xl font-bold leading-none">
        <span class="relative block h-8 w-8" aria-hidden="true"><span class="absolute left-0 top-0 h-5 w-5 rounded-full bg-coral"></span><span class="absolute bottom-0 right-0 h-5 w-5 rounded-full bg-mint-deep mix-blend-multiply"></span></span>
        Mintry
      </a>
      <nav aria-label="Main" class="hidden items-center gap-9 lg:flex">
          <a href="treatments.html" class="border-b-2 border-transparent pb-1 font-medium transition hover:border-coral">Treatments</a>
          <a href="fees.html" class="border-b-2 border-transparent pb-1 font-medium transition hover:border-coral">Fees</a>
          <a href="about.html" class="border-b-2 border-transparent pb-1 font-medium transition hover:border-coral">The practice</a>
          <a href="contact.html" class="border-b-2 border-transparent pb-1 font-medium transition hover:border-coral">Contact</a>
        <a href="tel:+441225555014" class="font-semibold"><i class="fa-solid fa-phone mr-2 text-sm text-coral"></i>01225 555 014</a>
      </nav>
      <button type="button" data-menu-toggle aria-controls="mobile-menu" aria-expanded="false" aria-label="Open the menu" class="flex h-11 w-11 items-center justify-center rounded-full bg-ink text-white lg:hidden"><i class="fa-solid fa-bars"></i></button>
    </div>
    <div id="mobile-menu" hidden class="mx-5 rounded-2xl bg-white p-6 shadow-xl lg:hidden">
      <nav aria-label="Mobile" class="flex flex-col">
        <a href="index.html" aria-current="page" class="border-b border-line py-3 text-lg font-semibold text-coral-deep">Home</a>
          <a href="treatments.html" class="border-b border-line py-3 text-lg font-semibold">Treatments</a>
          <a href="fees.html" class="border-b border-line py-3 text-lg font-semibold">Fees</a>
          <a href="about.html" class="border-b border-line py-3 text-lg font-semibold">The practice</a>
          <a href="contact.html" class="border-b border-line py-3 text-lg font-semibold">Contact</a>
        <a href="tel:+441225555014" class="mt-4 font-semibold"><i class="fa-solid fa-phone mr-2 text-sm text-coral"></i>01225 555 014</a>
      </nav>
    </div>
  </header>
  <!-- block:end navbar -->
<script>
    document.querySelectorAll("[data-menu-toggle]").forEach((toggle) => {
      const menu = document.getElementById(toggle.getAttribute("aria-controls"));
      if (!menu) return;
      toggle.addEventListener("click", () => {
        const open = toggle.getAttribute("aria-expanded") !== "true";
        toggle.setAttribute("aria-expanded", String(open));
        menu.hidden = !open;
      });
    });

    const tabGroup = (root, name) => {
      const tabs = [...root.querySelectorAll(`[data-${name}-tab]`)];
      const show = (tab) => {
        const key = tab.getAttribute(`data-${name}-tab`);
        tabs.forEach((other) => { other.setAttribute("aria-selected", String(other === tab)); other.tabIndex = other === tab ? 0 : -1; });
        root.querySelectorAll(`[data-${name}-panel]`).forEach((panel) => { panel.hidden = panel.getAttribute(`data-${name}-panel`) !== key; });
        root.querySelectorAll(`[data-${name}-photo]`).forEach((photo) => { photo.hidden = photo.getAttribute(`data-${name}-photo`) !== key; });
      };
      tabs.forEach((tab, index) => {
        tab.tabIndex = tab.getAttribute("aria-selected") === "true" ? 0 : -1;
        tab.addEventListener("click", () => show(tab));
        tab.addEventListener("keydown", (event) => {
          if (event.key !== "ArrowRight" && event.key !== "ArrowLeft") return;
          const next = tabs[(index + (event.key === "ArrowRight" ? 1 : -1) + tabs.length) % tabs.length];
          next.focus();
          show(next);
        });
      });
    };
    document.querySelectorAll("[data-finder]").forEach((root) => tabGroup(root, "finder"));
    document.querySelectorAll("[data-team]").forEach((root) => tabGroup(root, "team"));

    document.querySelectorAll("[data-hours]").forEach((list) => {
      const row = list.querySelector(`[data-day="${new Date().getDay()}"]`);
      if (!row) return;
      row.style.color = "#1d2327";
      row.style.fontWeight = "700";
    });

    (() => {
      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>

From this template

Mintry screenshot

Health & Fitness

Mintry

Unlimited access to all products

Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.

$20 / 3 months or $60 / year
Get Unlimited Access