Desbloquea todos los bloques y plantillas premium con All-Access desde 20 € / 3 meses, cancela cuando quieras. Consigue All-Access
Todos los bloques
Gratis Menú de navegación

Ledgewell Navbar

A navbar block extracted from the Ledgewell template, available in Tailwind CSS.

0 5
Ledgewell Navbar preview

Descargar el código

Licencia comercial

Descarga gratis · hasta 5 bloques al día. Ilimitado con All-Access

ledgewell.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>Ledgewell Navbar | Tailwind CSS UI Block</title>
  <meta name="description" content="A navbar block extracted from the Ledgewell template, available in Tailwind CSS.">
  <meta name="keywords" content="Ledgewell, Tailwind CSS template, HTML website template, fintech template, investment management, asset manager, wealth management, fund website, portfolio builder, financial advisor website">
  <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="Ledgewell | Tailwind CSS Fintech Template">
  <meta property="og:description" content="A dark, research-led Tailwind CSS template for investment managers, with a portfolio builder, strategy factsheets, research notes and a fee calculator.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Ledgewell template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Ledgewell | Tailwind CSS Fintech Template">
  <meta name="twitter:description" content="A dark, research-led Tailwind CSS template for investment managers, with a portfolio builder, strategy factsheets, research notes and a fee calculator.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Ledgewell 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=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Outfit:wght@200;300;400;500;600&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: { night: { DEFAULT: '#0a0e16', panel: '#111725', line: '#263045' }, fog: '#8a94a8', bone: '#f3f1ec', brass: { DEFAULT: '#c9a86a', soft: '#e6d6b4', deep: '#9c7c42' } },
          fontFamily: { serif: ['"Cormorant Garamond"', 'serif'], sans: ['Outfit', '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; }
    [hidden] { display: none !important; }
    .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; }
    .scroll-cue { animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
    @keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
    .chart-line { transition: stroke-dashoffset 1.4s ease-out; }
    .builder-chip:has(input:checked) { background: #c9a86a; border-color: #c9a86a; color: #0a0e16; }
    .builder-chip:has(input:focus-visible), .interest-chip:has(input:focus-visible) { outline: 2px solid #e6d6b4; outline-offset: 2px; }
    .interest-chip:has(input:checked) { background: #0a0e16; border-color: #0a0e16; color: #f3f1ec; }
    .donut-segment { transition: stroke-dasharray .5s ease, stroke-dashoffset .5s ease; }
    .rail { scrollbar-width: none; }
    .rail::-webkit-scrollbar { display: none; }
    input[type="range"] { accent-color: #c9a86a; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
      .scroll-cue { animation: none; }
      .chart-line, .donut-segment { transition: none; }
    }
  </style>
</head>
<body class="bg-night font-sans font-light text-bone antialiased">
<!-- block:start navbar -->
  <header class="absolute inset-x-0 top-0 z-30">
    <nav class="mx-auto flex max-w-7xl items-center justify-between gap-6 px-5 py-7 md:px-10" aria-label="Main">
      <a href="index.html" class="flex items-center gap-3 text-bone">
        <svg class="h-8 w-8 text-brass" viewBox="0 0 32 32" fill="none" stroke="currentColor" stroke-width="1.6" aria-hidden="true"><path d="M3 22 16 9l13 13"/><path d="M9 26l7-7 7 7"/></svg>
        <span class="font-serif text-xl font-semibold uppercase tracking-[0.32em]">Ledgewell</span>
      </a>
      <div class="flex items-center gap-6 text-[0.7rem] font-normal uppercase tracking-[0.4em] md:gap-12">
        <a href="#letter" class="hidden transition hover:text-brass sm:inline">Subscribe</a>
        <button type="button" data-menu-toggle aria-controls="site-menu" aria-expanded="false" class="group flex items-center gap-3 uppercase tracking-[0.4em]">
          Menu
          <svg class="h-7 w-5 transition group-hover:translate-x-1" viewBox="0 0 20 28" fill="none" stroke="currentColor" stroke-width="1.4" aria-hidden="true"><path d="M4 2l12 12L4 26"/></svg>
        </button>
      </div>
    </nav>
    <div id="site-menu" class="fixed inset-0 z-50 hidden overflow-y-auto bg-night text-bone" role="dialog" aria-modal="true" aria-label="Site menu">
      <div class="mx-auto grid min-h-full max-w-7xl gap-10 px-5 py-7 md:grid-cols-[1.3fr_1fr] md:px-10">
        <div class="flex flex-col">
          <div class="flex items-center justify-between">
            <a href="index.html" class="font-serif text-xl font-semibold uppercase tracking-[0.32em]">Ledgewell</a>
            <button type="button" data-menu-close class="flex items-center gap-3 text-[0.7rem] uppercase tracking-[0.4em] hover:text-brass md:hidden">Close <i class="fa-solid fa-xmark" aria-hidden="true"></i></button>
          </div>
          <ul class="mt-14 grid gap-2 md:mt-24">
              <li class="border-b border-night-line">
                <a href="index.html" aria-current="page" class="group flex items-baseline gap-6 py-4 text-4xl font-extralight transition hover:text-brass md:text-6xl text-brass">
                  <span class="font-serif text-base italic text-fog">01</span>
                  Home
                  <i class="fa-solid fa-arrow-right ml-auto text-base opacity-0 transition group-hover:opacity-100" aria-hidden="true"></i>
                </a>
              </li>
              <li class="border-b border-night-line">
                <a href="strategies.html"  class="group flex items-baseline gap-6 py-4 text-4xl font-extralight transition hover:text-brass md:text-6xl ">
                  <span class="font-serif text-base italic text-fog">02</span>
                  Strategies
                  <i class="fa-solid fa-arrow-right ml-auto text-base opacity-0 transition group-hover:opacity-100" aria-hidden="true"></i>
                </a>
              </li>
              <li class="border-b border-night-line">
                <a href="research.html"  class="group flex items-baseline gap-6 py-4 text-4xl font-extralight transition hover:text-brass md:text-6xl ">
                  <span class="font-serif text-base italic text-fog">03</span>
                  Research
                  <i class="fa-solid fa-arrow-right ml-auto text-base opacity-0 transition group-hover:opacity-100" aria-hidden="true"></i>
                </a>
              </li>
              <li class="border-b border-night-line">
                <a href="about.html"  class="group flex items-baseline gap-6 py-4 text-4xl font-extralight transition hover:text-brass md:text-6xl ">
                  <span class="font-serif text-base italic text-fog">04</span>
                  About
                  <i class="fa-solid fa-arrow-right ml-auto text-base opacity-0 transition group-hover:opacity-100" aria-hidden="true"></i>
                </a>
              </li>
              <li class="border-b border-night-line">
                <a href="pricing.html"  class="group flex items-baseline gap-6 py-4 text-4xl font-extralight transition hover:text-brass md:text-6xl ">
                  <span class="font-serif text-base italic text-fog">05</span>
                  Fees
                  <i class="fa-solid fa-arrow-right ml-auto text-base opacity-0 transition group-hover:opacity-100" aria-hidden="true"></i>
                </a>
              </li>
              <li class="border-b border-night-line">
                <a href="contact.html"  class="group flex items-baseline gap-6 py-4 text-4xl font-extralight transition hover:text-brass md:text-6xl ">
                  <span class="font-serif text-base italic text-fog">06</span>
                  Contact
                  <i class="fa-solid fa-arrow-right ml-auto text-base opacity-0 transition group-hover:opacity-100" aria-hidden="true"></i>
                </a>
              </li>
          </ul>
        </div>
        <div class="flex flex-col gap-8 md:border-l md:border-night-line md:pl-10">
          <button type="button" data-menu-close class="hidden items-center gap-3 self-end text-[0.7rem] uppercase tracking-[0.4em] hover:text-brass md:flex">Close <i class="fa-solid fa-xmark" aria-hidden="true"></i></button>
          <img src="https://images.unsplash.com/photo-1496307653780-42ee777d4833?auto=format&fit=crop&w=900&h=700&q=80" alt="Pale glass tower rising to a sharp peak against a white sky" class="aspect-[4/3] w-full object-cover grayscale md:mt-16">
          <div class="grid gap-6 text-sm text-fog sm:grid-cols-2">
            <div>
              <p class="text-[0.65rem] uppercase tracking-[0.4em] text-brass">Client desk</p>
              <p class="mt-3 text-bone">+44 20 7946 0321</p>
              <p>clients@ledgewell.com</p>
            </div>
            <div>
              <p class="text-[0.65rem] uppercase tracking-[0.4em] text-brass">Office</p>
              <p class="mt-3 text-bone">14 Calder Row</p>
              <p>London EC2V 7HQ</p>
            </div>
          </div>
        </div>
      </div>
    </div>
  </header>
  <!-- block:end navbar -->
<script>
    (() => {
      const menu = document.getElementById('site-menu');
      const toggles = document.querySelectorAll('[data-menu-toggle]');
      if (!menu) return;
      const setOpen = (open) => {
        menu.classList.toggle('hidden', !open);
        document.documentElement.classList.toggle('overflow-hidden', open);
        toggles.forEach((button) => button.setAttribute('aria-expanded', String(open)));
        if (open) menu.querySelector('a, button')?.focus();
      };
      toggles.forEach((button) => button.addEventListener('click', () => setOpen(button.getAttribute('aria-expanded') !== 'true')));
      menu.querySelectorAll('[data-menu-close], a[href^="#"], a[href*=".html#"]').forEach((item) => item.addEventListener('click', () => setOpen(false)));
      document.addEventListener('keydown', (event) => { if (event.key === 'Escape' && !menu.classList.contains('hidden')) { setOpen(false); toggles[0]?.focus(); } });
    })();

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

    (() => {
      const charts = document.querySelectorAll('[data-chart]');
      if (!charts.length || navigator.webdriver || !('IntersectionObserver' in window) || matchMedia('(prefers-reduced-motion: reduce)').matches) return;
      const observer = new IntersectionObserver((entries) => {
        entries.forEach(({ isIntersecting, target }) => {
          if (!isIntersecting) return;
          observer.unobserve(target);
          target.querySelectorAll('[data-chart-line]').forEach((line) => { line.style.strokeDashoffset = '0'; });
        });
      }, { threshold: 0.3 });
      charts.forEach((chart) => {
        chart.querySelectorAll('[data-chart-line]').forEach((line) => {
          const length = line.getTotalLength();
          line.style.transition = 'none';
          line.style.strokeDasharray = length;
          line.style.strokeDashoffset = length;
          line.getBoundingClientRect();
          line.style.transition = '';
        });
        observer.observe(chart);
      });
    })();

    document.querySelectorAll('[data-builder]').forEach((root) => {
      const form = root.querySelector('[data-builder-form]');
      const mixes = {
        1: [20, 55, 8, 7, 10], 2: [30, 48, 8, 7, 7], 3: [40, 40, 9, 6, 5], 4: [52, 30, 9, 6, 3],
        5: [62, 22, 9, 5, 2], 6: [72, 14, 8, 4, 2], 7: [82, 6, 7, 4, 1]
      };
      const labels = ['Equities', 'Bonds', 'Real assets', 'Alternatives', 'Cash'];
      const plans = [
        [2, 'Capital Preservation', 'Short-dated, high-grade bonds and cash, built for money you may need within a few years.'],
        [3, 'Steady Income', 'Bonds and dependable dividend payers, aiming for a regular income with modest swings.'],
        [5, 'Balanced Growth', 'A global mix that leans on quality companies and keeps a third in bonds and real assets to soften the bad years.'],
        [6, 'Global Quality', 'Mostly durable, cash-generative companies, with a slim bond buffer for patient owners.'],
        [7, 'Long Horizon', 'A concentrated, growth-heavy portfolio for money that will not be touched for a decade or more.']
      ];
      const money = (value) => value >= 1e6 ? `$${(value / 1e6).toFixed(2)}m` : `$${Math.round(value / 1000)}k`;
      const update = () => {
        const risk = Number(form.risk.value);
        const horizon = Number(form.querySelector('[name="horizon"]:checked')?.value || 10);
        const goal = form.querySelector('[name="goal"]:checked')?.value || 'growth';
        const amount = Math.max(Number(form.amount.value) || 0, 0);
        const mix = [...mixes[risk]];
        if (goal === 'income') { const shift = Math.min(8, mix[0] - 10); mix[0] -= shift; mix[1] += shift; }
        let offset = 0;
        labels.forEach((label, index) => {
          const segment = root.querySelector(`[data-builder-segment="${label}"]`);
          segment.setAttribute('stroke-dasharray', `${mix[index]} ${100 - mix[index]}`);
          segment.setAttribute('stroke-dashoffset', String(-offset));
          offset += mix[index];
          root.querySelector(`[data-builder-value="${label}"]`).textContent = `${mix[index]}%`;
        });
        const rate = (1.6 + mix[0] * 0.07 + mix[1] * 0.03) / 100;
        const vol = (2 + mix[0] * 0.19) / 100;
        const mid = amount * (1 + rate) ** horizon;
        const low = amount * Math.max(1 + rate - vol * 0.55, 0.9) ** horizon;
        const high = amount * (1 + rate + vol * 0.45) ** horizon;
        const y = (value) => Math.max(8, 110 - ((value - amount) / Math.max(high - amount, 1)) * 80);
        root.querySelector('[data-builder-fan]').setAttribute('points', `0,110 300,${y(high).toFixed(1)} 300,${y(low).toFixed(1)}`);
        root.querySelector('[data-builder-central]').setAttribute('points', `0,110 300,${y(mid).toFixed(1)}`);
        root.querySelector('[data-builder-low]').textContent = money(low);
        root.querySelector('[data-builder-mid]').textContent = money(mid);
        root.querySelector('[data-builder-high]').textContent = money(high);
        root.querySelector('[data-builder-return]').textContent = `${(rate * 100).toFixed(1)}%`;
        root.querySelector('[data-builder-vol]').textContent = `${(vol * 100).toFixed(1)}%`;
        root.querySelector('[data-builder-risk-label]').textContent = `${risk} of 7`;
        const effective = goal === 'income' ? Math.min(risk, 4) : risk;
        const plan = plans.find(([max]) => effective <= max) || plans[plans.length - 1];
        root.querySelector('[data-builder-strategy]').textContent = plan[1];
        root.querySelector('[data-builder-note]').textContent = plan[2];
      };
      form.addEventListener('input', update);
      form.addEventListener('change', update);
      form.addEventListener('submit', (event) => event.preventDefault());
      update();
    });

    document.querySelectorAll('[data-rail-root]').forEach((root) => {
      const rail = root.querySelector('[data-rail]');
      const step = () => (rail.querySelector('article')?.offsetWidth || 320) + 24;
      root.querySelector('[data-rail-prev]')?.addEventListener('click', () => rail.scrollBy({ left: -step(), behavior: 'smooth' }));
      root.querySelector('[data-rail-next]')?.addEventListener('click', () => rail.scrollBy({ left: step(), behavior: 'smooth' }));
    });

    document.querySelectorAll('[data-voices]').forEach((root) => {
      const tabs = [...root.querySelectorAll('[data-voice-tab]')];
      const select = (tab) => {
        tabs.forEach((item) => {
          const selected = item === tab;
          item.setAttribute('aria-selected', String(selected));
          item.tabIndex = selected ? 0 : -1;
          document.getElementById(item.getAttribute('aria-controls')).hidden = !selected;
        });
      };
      tabs.forEach((tab, index) => {
        tab.tabIndex = index === 0 ? 0 : -1;
        tab.addEventListener('click', () => select(tab));
        tab.addEventListener('keydown', (event) => {
          if (!['ArrowRight', 'ArrowLeft'].includes(event.key)) return;
          const next = tabs[(index + (event.key === 'ArrowRight' ? 1 : tabs.length - 1)) % tabs.length];
          select(next);
          next.focus();
        });
      });
    });

    document.querySelectorAll('[data-letter-form]').forEach((form) => {
      form.addEventListener('submit', (event) => {
        event.preventDefault();
        const topics = [...form.querySelectorAll('[name="interests"]:checked')].map((input) => input.parentElement.textContent.trim());
        form.querySelector('[data-letter-status]').textContent = `Thank you. Your first letter arrives next month${topics.length ? `, covering ${topics.join(', ').toLowerCase()}` : ''}.`;
        form.reset();
      });
    });
  </script>
<!-- Optional credit — delete this block if you prefer a clean footer -->
<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

Ledgewell screenshot Premium

Finanzas y fintech

Ledgewell

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