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

Catenar Portada

A portada block extracted from the Catenar template, available in Tailwind CSS.

0 0
Catenar Portada preview

Descargar el código

Licencia comercial

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

catenar.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>Catenar Hero | Tailwind CSS UI Block</title>
  <meta name="description" content="A hero block extracted from the Catenar template, available in Tailwind CSS.">
  <meta name="keywords" content="Catenar, Tailwind CSS template, HTML website template, structural engineering website, engineering consultancy template, consulting template, project case study, span calculator, technical consultancy website, business 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="Catenar | Tailwind CSS Consulting Template">
  <meta property="og:description" content="A Tailwind CSS template for structural engineers and technical consultancies, with azure headlines, hairline figures, line-drawn structures, a live span sketcher, a carbon chart and a multi-step enquiry form.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Catenar template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Catenar | Tailwind CSS Consulting Template">
  <meta name="twitter:description" content="A Tailwind CSS template for structural engineers and technical consultancies, with azure headlines, hairline figures, line-drawn structures, a live span sketcher, a carbon chart and a multi-step enquiry form.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Catenar 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=IBM+Plex+Mono:wght@400;500&family=Inter+Tight:wght@100;200;400;500;600&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            ice: '#e8edf3',
            paper: '#f4f7fa',
            azure: { DEFAULT: '#1b8fe6', deep: '#0b5fa8' },
            navy: '#16327a',
            ink: { DEFAULT: '#1f2c3b', mute: '#566475' },
            line: '#c3cfdc'
          },
          fontFamily: {
            sans: ['"Inter Tight"', 'sans-serif'],
            mono: ['"IBM Plex Mono"', 'monospace']
          }
        }
      }
    }
  </script>
  <style>
    @view-transition { navigation: auto; }
    html { scroll-behavior: smooth; }
    [hidden] { display: none !important; }
    .headline { font-weight: 500; letter-spacing: -.025em; line-height: 1.02; color: #1b8fe6; }
    .figure { font-weight: 100; letter-spacing: -.03em; line-height: .9; color: #1b8fe6; font-variant-numeric: tabular-nums; }
    .anno { font-family: "IBM Plex Mono", monospace; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
    .drawing * { vector-effect: non-scaling-stroke; }
    .rail { scroll-snap-type: x mandatory; scrollbar-width: none; }
    .rail::-webkit-scrollbar { display: none; }
    .rail > * { scroll-snap-align: start; }

    /* Side dots: the current section's dot sits inside a pale disc with a short arc, like a dial. */
    .dots a { position: relative; display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 9999px; }
    .dots a::before { content: ""; height: .375rem; width: .375rem; border-radius: 9999px; background: #1b8fe6; }
    .dots a[aria-current="true"] { background: #d3e2f2; }
    .dots a[aria-current="true"]::after { content: ""; position: absolute; inset: -1px; border-radius: 9999px; border: 2px solid transparent; border-top-color: #1b8fe6; transform: rotate(35deg); }

    .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; }
    .bar { transform-origin: bottom; transition: transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
    .reveal-ready [data-reveal]:not(.is-visible) .bar { transform: scaleY(0); }
    @media (prefers-reduced-motion: reduce) { .bar { transition: none; } }
  </style>
</head>
<body class="bg-ice font-sans text-ink antialiased">
<!-- block:start hero -->
  <section id="top" class="relative overflow-hidden">
    <div class="relative z-10 mx-auto max-w-[1500px] px-5 pb-10 pt-36 md:px-12 md:pt-48 lg:pb-28 xl:pl-[17vw]">
      <h1 class="headline max-w-3xl text-[clamp(3rem,7.4vw,6.5rem)]">Structures that hold their nerve.</h1>
      <p class="mt-8 max-w-md text-lg text-ink-mute md:text-xl">Catenar is a practice of sixteen structural engineers. We size the frames, bridges and awkward roofs that other people draw, and we show the working.</p>
      <div class="mt-10 flex flex-wrap items-center gap-x-8 gap-y-4">
        <a href="contact.html" class="rounded-full bg-azure px-7 py-3.5 font-medium text-white transition hover:bg-azure-deep">Start a project</a>
        <a href="#sketch" class="inline-flex items-center gap-3 font-medium text-azure-deep">Sketch a span <span class="flex h-9 w-9 items-center justify-center rounded-full bg-[#d3e2f2]"><i class="fa-solid fa-caret-down"></i></span></a>
      </div>
      <dl class="mt-16 grid max-w-3xl grid-cols-2 gap-x-8 gap-y-10 md:mt-24 md:grid-cols-[auto_1fr] md:gap-x-24">
        <div>
          <dd class="figure text-[clamp(5.5rem,13vw,13rem)]">84</dd>
          <dt class="mt-5 max-w-[12rem] text-ink-mute">metres, the longest span we have drawn so far</dt>
        </div>
        <div>
          <dd class="figure text-[clamp(5.5rem,13vw,13rem)]">212</dd>
          <dt class="mt-5 max-w-[14rem] text-ink-mute">structures standing, from garden rooms to a 27-storey tower</dt>
        </div>
      </dl>
    </div>
    <svg viewBox="0 0 1100 700" class="drawing pointer-events-none relative -mr-[30%] ml-[8%] w-[125%] max-w-none lg:absolute lg:-right-[12vw] lg:top-[16%] lg:m-0 lg:w-[68vw]" fill="none" role="img" aria-label="Line drawing of a tied-arch footbridge with its hangers, deck ribs and bracing">
      <g stroke="#a3b8cf" stroke-width="1">
          <path d="M120.0 480.0L146.9 440.9L173.9 404.3L200.8 370.3L227.8 338.8L254.7 309.9L281.7 283.5L308.6 259.7L335.5 238.4L362.5 219.7L389.4 203.6L416.4 189.9L443.3 178.9L470.3 170.4L497.2 164.4L524.1 161.0L551.1 160.1L578.0 161.8L605.0 166.1L631.9 172.9L658.9 182.2L685.8 194.1L712.7 208.5L739.7 225.5L766.6 245.1L793.6 267.2L820.5 291.8L847.5 319.0L874.4 348.8"/>
          <path d="M120.0 480.0L874.4 348.8"/>
          <path d="M146.9 440.9L146.9 475.3M173.9 404.3L173.9 470.6M200.8 370.3L200.8 465.9M227.8 338.8L227.8 461.3M254.7 309.9L254.7 456.6M281.7 283.5L281.7 451.9M308.6 259.7L308.6 447.2M335.5 238.4L335.5 442.5M362.5 219.7L362.5 437.8M389.4 203.6L389.4 433.1M416.4 189.9L416.4 428.5M443.3 178.9L443.3 423.8M470.3 170.4L470.3 419.1M497.2 164.4L497.2 414.4M524.1 161.0L524.1 409.7M551.1 160.1L551.1 405.0M578.0 161.8L578.0 400.3M605.0 166.1L605.0 395.7M631.9 172.9L631.9 391.0M658.9 182.2L658.9 386.3M685.8 194.1L685.8 381.6M712.7 208.5L712.7 376.9M739.7 225.5L739.7 372.2M766.6 245.1L766.6 367.5M793.6 267.2L793.6 362.9M820.5 291.8L820.5 358.2M847.5 319.0L847.5 353.5"/>
          <path d="M213.5 551.4L240.4 512.3L267.4 475.7L294.3 441.7L321.3 410.2L348.2 381.3L375.2 354.9L402.1 331.1L429.0 309.8L456.0 291.1L482.9 275.0L509.9 261.3L536.8 250.3L563.8 241.8L590.7 235.8L617.6 232.4L644.6 231.5L671.5 233.2L698.5 237.5L725.4 244.3L752.4 253.6L779.3 265.5L806.2 279.9L833.2 296.9L860.1 316.5L887.1 338.6L914.0 363.2L941.0 390.4L967.9 420.2"/>
          <path d="M213.5 551.4L967.9 420.2"/>
          <path d="M240.4 512.3L240.4 546.7M267.4 475.7L267.4 542.0M294.3 441.7L294.3 537.3M321.3 410.2L321.3 532.7M348.2 381.3L348.2 528.0M375.2 354.9L375.2 523.3M402.1 331.1L402.1 518.6M429.0 309.8L429.0 513.9M456.0 291.1L456.0 509.2M482.9 275.0L482.9 504.5M509.9 261.3L509.9 499.9M536.8 250.3L536.8 495.2M563.8 241.8L563.8 490.5M590.7 235.8L590.7 485.8M617.6 232.4L617.6 481.1M644.6 231.5L644.6 476.4M671.5 233.2L671.5 471.7M698.5 237.5L698.5 467.1M725.4 244.3L725.4 462.4M752.4 253.6L752.4 457.7M779.3 265.5L779.3 453.0M806.2 279.9L806.2 448.3M833.2 296.9L833.2 443.6M860.1 316.5L860.1 438.9M887.1 338.6L887.1 434.3M914.0 363.2L914.0 429.6M941.0 390.4L941.0 424.9"/>
        <path d="M120.0 480.0L213.5 551.4M120.0 480.0L213.5 551.4M146.9 475.3L240.4 546.7M146.9 440.9L240.4 512.3M173.9 470.6L267.4 542.0M173.9 404.3L267.4 475.7M200.8 465.9L294.3 537.3M200.8 370.3L294.3 441.7M227.8 461.3L321.3 532.7M227.8 338.8L321.3 410.2M254.7 456.6L348.2 528.0M254.7 309.9L348.2 381.3M281.7 451.9L375.2 523.3M281.7 283.5L375.2 354.9M308.6 447.2L402.1 518.6M308.6 259.7L402.1 331.1M335.5 442.5L429.0 513.9M335.5 238.4L429.0 309.8M362.5 437.8L456.0 509.2M362.5 219.7L456.0 291.1M389.4 433.1L482.9 504.5M389.4 203.6L482.9 275.0M416.4 428.5L509.9 499.9M416.4 189.9L509.9 261.3M443.3 423.8L536.8 495.2M443.3 178.9L536.8 250.3M470.3 419.1L563.8 490.5M470.3 170.4L563.8 241.8M497.2 414.4L590.7 485.8M497.2 164.4L590.7 235.8M524.1 409.7L617.6 481.1M524.1 161.0L617.6 232.4M551.1 405.0L644.6 476.4M551.1 160.1L644.6 231.5M578.0 400.3L671.5 471.7M578.0 161.8L671.5 233.2M605.0 395.7L698.5 467.1M605.0 166.1L698.5 237.5M631.9 391.0L725.4 462.4M631.9 172.9L725.4 244.3M658.9 386.3L752.4 457.7M658.9 182.2L752.4 253.6M685.8 381.6L779.3 453.0M685.8 194.1L779.3 265.5M712.7 376.9L806.2 448.3M712.7 208.5L806.2 279.9M739.7 372.2L833.2 443.6M739.7 225.5L833.2 296.9M766.6 367.5L860.1 438.9M766.6 245.1L860.1 316.5M793.6 362.9L887.1 434.3M793.6 267.2L887.1 338.6M820.5 358.2L914.0 429.6M820.5 291.8L914.0 363.2M847.5 353.5L941.0 424.9M847.5 319.0L941.0 390.4M874.4 348.8L967.9 420.2M874.4 348.8L967.9 420.2"/>
      </g>
      <path stroke="#1b8fe6" stroke-width="1" stroke-dasharray="5 6" d="M146.9 440.9L267.4 475.7M173.9 404.3L294.3 441.7M200.8 370.3L321.3 410.2M227.8 338.8L348.2 381.3M254.7 309.9L375.2 354.9M281.7 283.5L402.1 331.1M308.6 259.7L429.0 309.8M335.5 238.4L456.0 291.1M362.5 219.7L482.9 275.0M389.4 203.6L509.9 261.3M416.4 189.9L536.8 250.3M443.3 178.9L563.8 241.8M470.3 170.4L590.7 235.8M497.2 164.4L617.6 232.4M524.1 161.0L644.6 231.5M551.1 160.1L671.5 233.2M578.0 161.8L698.5 237.5M605.0 166.1L725.4 244.3M631.9 172.9L752.4 253.6M658.9 182.2L779.3 265.5M685.8 194.1L806.2 279.9M712.7 208.5L833.2 296.9M739.7 225.5L860.1 316.5M766.6 245.1L887.1 338.6M793.6 267.2L914.0 363.2M820.5 291.8L941.0 390.4"/>
      <path stroke="#16327a" stroke-width="1.4" d="M456.0 291.1L456.0 509.2M482.9 275.0L482.9 504.5M509.9 261.3L509.9 499.9M536.8 250.3L536.8 495.2M563.8 241.8L563.8 490.5M362.5 437.8L456.0 509.2M365.2 437.4L458.7 508.8M367.9 436.9L461.4 508.3M370.6 436.4L464.1 507.8M373.3 436.0L466.8 507.4M376.0 435.5L469.5 506.9M378.7 435.0L472.2 506.4M381.3 434.5L474.8 505.9M384.0 434.1L477.5 505.5M386.7 433.6L480.2 505.0M389.4 433.1L482.9 504.5"/>
      <g stroke="#1b8fe6" stroke-width="1">
        <path stroke-dasharray="3 5" d="M252.0 580.8L1006.4 449.6"/>
        <path d="M243.8 574.5L260.3 587.1M998.2 443.3L1014.7 455.9"/>
          <circle cx="120.0" cy="480.0" r="6" fill="#e8edf3"/>
          <path d="M120.0 446.0v22m-4 -6l4 6l4 -6"/>
          <circle cx="874.4" cy="348.8" r="6" fill="#e8edf3"/>
          <path d="M874.4 314.8v22m-4 -6l4 6l4 -6"/>
          <circle cx="213.5" cy="551.4" r="6" fill="#e8edf3"/>
          <path d="M213.5 517.4v22m-4 -6l4 6l4 -6"/>
          <circle cx="967.9" cy="420.2" r="6" fill="#e8edf3"/>
          <path d="M967.9 386.2v22m-4 -6l4 6l4 -6"/>
      </g>
    </svg>
  </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);
      });
    });

    // Side dots follow the section in view.
    document.querySelectorAll("[data-dots]").forEach((root) => {
      const links = [...root.querySelectorAll("a")];
      const targets = links.map((link) => document.querySelector(link.getAttribute("href"))).filter(Boolean);
      if (!targets.length || !("IntersectionObserver" in window)) return;
      const mark = (id) => links.forEach((link) => link.setAttribute("aria-current", String(link.getAttribute("href") === `#${id}`)));
      mark(targets[0].id);
      const observer = new IntersectionObserver((entries) => {
        entries.forEach((entry) => { if (entry.isIntersecting) mark(entry.target.id); });
      }, { rootMargin: "-45% 0px -45% 0px" });
      targets.forEach((target) => observer.observe(target));
    });

    // Discipline tabs.
    document.querySelectorAll("[data-tabs]").forEach((root) => {
      const tabs = [...root.querySelectorAll('[role="tab"]')];
      const select = (tab) => tabs.forEach((other) => {
        other.setAttribute("aria-selected", String(other === tab));
        document.getElementById(other.getAttribute("aria-controls")).hidden = other !== tab;
      });
      tabs.forEach((tab, index) => {
        tab.addEventListener("click", () => select(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();
          select(next);
        });
      });
    });

    // Sketch a span: rule-of-thumb sizing, drawn to scale beside a 1.75 m person.
    document.querySelectorAll("[data-sketch]").forEach((root) => {
      const form = root.querySelector("[data-sketch-form]");
      const svg = root.querySelector("[data-sketch-drawing]");
      if (!form || !svg) return;
      const rules = {
        steel: { label: "Steel truss", ratio: { roof: 15, floor: 12, bridge: 18 }, kgPerM: (span) => 55 + span * 4.2, carbon: 1.55 },
        timber: { label: "Glulam arch", ratio: { roof: 7, floor: 6, bridge: 8 }, kgPerM: (span) => 38 + span * 2.6, carbon: 0.28 },
        concrete: { label: "Concrete beam", ratio: { roof: 20, floor: 16, bridge: 22 }, kgPerM: (span) => 420 + span * 30, carbon: 0.16 }
      };
      const fmt = (value, digits = 0) => value.toLocaleString("en-GB", { minimumFractionDigits: digits, maximumFractionDigits: digits });
      const update = () => {
        const data = new FormData(form);
        const span = Number(data.get("span"));
        const material = data.get("material");
        const use = data.get("use");
        const rule = rules[material];
        const ratio = rule.ratio[use];
        const depth = Math.ceil(span * 1000 / ratio / 25) * 25;
        const weight = rule.kgPerM(span) * span / 1000;
        const carbon = weight * rule.carbon;

        // Geometry: the drawn length grows with the span; depth and the person are to the same scale.
        const length = 420 + (span - 6) / 54 * 440;
        const x0 = (960 - length) / 2;
        const x1 = x0 + length;
        const base = 205;
        const scale = length / span;
        const d = depth / 1000 * scale;
        const top = base - d;
        let bays = Math.min(24, Math.max(4, 2 * Math.round(span * 1000 / depth / 2)));
        let dark = "";
        let light = "";
        if (material === "steel") {
          const step = length / bays;
          dark = `M${x0} ${base}H${x1}M${x0} ${top}H${x1}`;
          for (let i = 0; i <= bays; i++) dark += `M${x0 + i * step} ${base}V${top}`;
          for (let i = 0; i < bays; i++) light += i < bays / 2 ? `M${x0 + i * step} ${top}L${x0 + (i + 1) * step} ${base}` : `M${x0 + (i + 1) * step} ${top}L${x0 + i * step} ${base}`;
        } else if (material === "timber") {
          bays = Math.min(20, Math.max(6, 2 * Math.round(span / 6)));
          const step = length / bays;
          const y = (i) => base - d * 4 * (i / bays) * (1 - i / bays);
          dark = `M${x0} ${base}H${x1}M${x0} ${base}`;
          for (let i = 1; i <= bays; i++) dark += `L${x0 + i * step} ${y(i)}`;
          for (let i = 1; i < bays; i++) light += `M${x0 + i * step} ${base}V${y(i)}`;
        } else {
          bays = Math.min(20, Math.max(4, Math.round(span / 3)));
          const step = length / bays;
          dark = `M${x0} ${top}H${x1}V${base}H${x0}Z`;
          const r = Math.max(2, Math.min(d * .28, step * .3));
          for (let i = 0; i < bays; i++) light += `M${x0 + (i + .5) * step - r} ${base - d / 2}a${r} ${r} 0 1 0 ${2 * r} 0a${r} ${r} 0 1 0 ${-2 * r} 0`;
        }
        const person = 1.75 * scale;
        const px = x0 + length * (material === "timber" ? .5 : .72);
        const head = person * .075;
        const figure = `M${px} ${top - person * .86}V${top - person * .4}M${px} ${top - person * .4}l${-person * .1} ${person * .4}M${px} ${top - person * .4}l${person * .1} ${person * .4}M${px - person * .12} ${top - person * .62}H${px + person * .12}`;
        svg.innerHTML = `
          <path stroke="#16327a" stroke-width="1.3" d="${dark}"/>
          <path stroke="#1b8fe6" stroke-width="1" d="${light}"/>
          <path stroke="#566475" stroke-width="1" d="${figure}"/><circle cx="${px}" cy="${top - person * .86 - head}" r="${head}" stroke="#566475"/>
          <path stroke="#1b8fe6" stroke-dasharray="3 5" d="M${x0} 250H${x1}"/>
          <path stroke="#1b8fe6" d="M${x0} 240V260M${x1} 240V260M${x0 - 12} ${base + 18}L${x0} ${base}L${x0 + 12} ${base + 18}ZM${x1 - 12} ${base + 18}L${x1} ${base}L${x1 + 12} ${base + 18}Z"/>
          <text x="480" y="280" text-anchor="middle" fill="#0b5fa8" font-family="IBM Plex Mono, monospace" font-size="14">${span} m</text>`;

        root.querySelector("[data-sketch-span-label]").textContent = span;
        root.querySelector("[data-sketch-depth]").textContent = fmt(depth);
        root.querySelector("[data-sketch-weight]").textContent = fmt(weight, weight < 100 ? 1 : 0);
        root.querySelector("[data-sketch-carbon]").textContent = fmt(carbon, carbon < 100 ? 1 : 0);
        root.querySelector("[data-sketch-note]").textContent = `${rule.label}, ${bays} bays, span-to-${material === "timber" ? "rise" : "depth"} ${ratio}`;
        root.querySelector("[data-sketch-link]").href = `contact.html?span=${span}&material=${material}&use=${use}`;
      };
      form.addEventListener("input", update);
      form.addEventListener("submit", (event) => event.preventDefault());
      update();
    });

    // Project rail arrows.
    document.querySelectorAll("[data-rail]").forEach((root) => {
      const track = root.querySelector("[data-rail-track]");
      const move = (direction) => track.scrollBy({ left: direction * Math.min(track.clientWidth * .8, 460), behavior: "smooth" });
      root.querySelector("[data-rail-prev]")?.addEventListener("click", () => move(-1));
      root.querySelector("[data-rail-next]")?.addEventListener("click", () => move(1));
    });

    // Stage ring: the arc fills up to the chosen stage.
    document.querySelectorAll("[data-ring]").forEach((root) => {
      const tabs = [...root.querySelectorAll('[role="tab"]')];
      const arc = root.querySelector("[data-ring-arc]");
      const number = root.querySelector("[data-ring-number]");
      let current = 0;
      const show = (index) => {
        current = (index + tabs.length) % tabs.length;
        tabs.forEach((tab, i) => {
          tab.setAttribute("aria-selected", String(i === current));
          document.getElementById(tab.getAttribute("aria-controls")).hidden = i !== current;
        });
        arc.setAttribute("stroke-dasharray", `${Math.max(current, .15)} ${tabs.length}`);
        number.textContent = current + 1;
      };
      tabs.forEach((tab, index) => tab.addEventListener("click", () => show(index)));
      root.querySelector("[data-ring-prev]")?.addEventListener("click", () => show(current - 1));
      root.querySelector("[data-ring-next]")?.addEventListener("click", () => show(current + 1));
    });

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

Catenar screenshot Premium

Servicios profesionales

Catenar

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