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

Torchwell Gallery

A gallery block extracted from the Torchwell template, available in Tailwind CSS.

0 18
Torchwell Gallery preview

Descargar el código

Licencia comercial

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

torchwell.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>Torchwell Gallery | Tailwind CSS UI Block</title>
  <meta name="description" content="A gallery block extracted from the Torchwell template, available in Tailwind CSS.">
  <meta name="keywords" content="Torchwell, Tailwind CSS template, HTML website template, agency template, creative studio website, branding agency, design studio portfolio, web design agency, case study page, agency pricing">
  <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="Torchwell | Tailwind CSS Agency Template">
  <meta property="og:description" content="A bold Tailwind CSS agency template for creative studios, with a giant wordmark hero, a project deck, a process dial and scattered testimonial cards.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Torchwell template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Torchwell | Tailwind CSS Agency Template">
  <meta name="twitter:description" content="A bold Tailwind CSS agency template for creative studios, with a giant wordmark hero, a project deck, a process dial and scattered testimonial cards.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Torchwell 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=Anton&family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: { ember: { DEFAULT: '#ff6633', soft: '#ff9a74' }, cream: '#f8f0e1', ink: '#171717', wine: { DEFAULT: '#3d0404', deep: '#240202' } },
          fontFamily: { sans: ['Inter', 'sans-serif'], display: ['Anton', '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; }
    .marquee { animation: marquee 30s linear infinite; }
    @keyframes marquee { to { transform: translateX(-50%); } }
    .lit-word { transition: color .3s ease; }
    .deck-card { transition: transform .5s ease, opacity .5s ease; }
    .dial-fill { transition: stroke-dashoffset .6s ease; }
    .quote-card { transition: transform .35s ease, box-shadow .35s ease; }
    .quote-card:hover, .quote-card:focus-visible { transform: rotate(0deg) scale(1.04); z-index: 20; }
    .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; }
      .marquee { animation: none; }
      .lit-word, .deck-card, .dial-fill, .quote-card { transition: none; }
      ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    }
  </style>
</head>
<body id="top" class="bg-cream font-sans text-ink antialiased">
<!-- block:start gallery -->
  <section id="work" class="overflow-hidden pb-20 md:pb-28" data-deck>
    <div class="mx-auto max-w-7xl px-5 md:px-10">
      <p class="font-display text-2xl uppercase">Our work</p>
      <h2 class="font-display text-6xl uppercase leading-none md:text-8xl">Our signature <span class="sr-only">work</span></h2>
      <div class="mt-4 flex items-center justify-between gap-2 font-display uppercase leading-[0.85] text-[clamp(5rem,20vw,17rem)]" aria-hidden="true">
        <span>Wo</span>
        <span class="relative aspect-[4/3] w-[34%] shrink-0">
          <span class="absolute inset-0 -rotate-6 rounded-2xl bg-wine"></span>
            <img src="https://images.unsplash.com/photo-1531123897727-8f129e1688ce?auto=format&fit=crop&w=700&h=520&q=80" alt="" class="deck-card absolute inset-0 h-full w-full rounded-2xl object-cover opacity-100" data-deck-mini="0">
            <img src="https://images.unsplash.com/photo-1561070791-2526d30994b5?auto=format&fit=crop&w=700&h=520&q=80" alt="" class="deck-card absolute inset-0 h-full w-full rounded-2xl object-cover translate-y-4 rotate-3 opacity-0" data-deck-mini="1">
            <img src="https://images.unsplash.com/photo-1531384441138-2736e62e0919?auto=format&fit=crop&w=700&h=520&q=80" alt="" class="deck-card absolute inset-0 h-full w-full rounded-2xl object-cover translate-y-4 rotate-3 opacity-0" data-deck-mini="2">
            <img src="https://images.unsplash.com/photo-1558769132-cb1aea458c5e?auto=format&fit=crop&w=700&h=520&q=80" alt="" class="deck-card absolute inset-0 h-full w-full rounded-2xl object-cover translate-y-4 rotate-3 opacity-0" data-deck-mini="3">
        </span>
        <span>rk</span>
      </div>
      <div class="relative mx-auto mt-12 max-w-5xl">
        <div class="absolute inset-0 -rotate-2 rounded-3xl bg-[#8a4b2a]"></div>
        <div class="relative aspect-[4/3] overflow-hidden rounded-3xl bg-wine md:aspect-[16/9]">
            <img src="https://images.unsplash.com/photo-1531123897727-8f129e1688ce?auto=format&fit=crop&w=1600&h=900&q=80" alt="Portrait of a woman against a deep red wall" class="deck-card absolute inset-0 h-full w-full object-cover opacity-100" data-deck-photo="0">
            <img src="https://images.unsplash.com/photo-1561070791-2526d30994b5?auto=format&fit=crop&w=1600&h=900&q=80" alt="Colour swatches and a tablet with a palette on a desk" class="deck-card absolute inset-0 h-full w-full object-cover scale-105 opacity-0" data-deck-photo="1">
            <img src="https://images.unsplash.com/photo-1531384441138-2736e62e0919?auto=format&fit=crop&w=1600&h=900&q=80" alt="Smiling man in glasses against a brown backdrop" class="deck-card absolute inset-0 h-full w-full object-cover scale-105 opacity-0" data-deck-photo="2">
            <img src="https://images.unsplash.com/photo-1558769132-cb1aea458c5e?auto=format&fit=crop&w=1600&h=900&q=80" alt="Rack of neutral knitwear next to dried pampas grass" class="deck-card absolute inset-0 h-full w-full object-cover scale-105 opacity-0" data-deck-photo="3">
          <div class="absolute inset-x-0 bottom-0 bg-gradient-to-t from-black/80 to-transparent p-5 pt-20 text-white md:p-8 md:pt-24">
            <div class="flex flex-wrap items-end justify-between gap-4">
              <div aria-live="polite">
                <p class="text-xs uppercase tracking-widest text-white/70"><span data-deck-kind>Brand identity</span> · <span data-deck-year>2026</span></p>
                <h3 class="mt-1 font-display text-3xl uppercase md:text-5xl" data-deck-name>Solace Skin</h3>
              </div>
              <div class="flex items-center gap-3">
                <span class="text-sm tabular-nums text-white/70"><span data-deck-index>01</span> / 04</span>
                <button type="button" data-deck-prev class="grid h-11 w-11 place-items-center rounded-full border border-white/40 transition hover:bg-white hover:text-ink" aria-label="Previous project"><i class="fa-solid fa-arrow-left" aria-hidden="true"></i></button>
                <button type="button" data-deck-next class="grid h-11 w-11 place-items-center rounded-full bg-ember text-ink transition hover:bg-white" aria-label="Next project"><i class="fa-solid fa-arrow-right" aria-hidden="true"></i></button>
                <a href="project-solace.html" data-deck-link class="hidden rounded-full bg-white px-5 py-3 text-sm font-medium text-ink sm:inline-block">View case</a>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="mx-auto mt-8 flex max-w-5xl flex-wrap justify-center gap-2" role="group" aria-label="Choose a project">
          <button type="button" data-deck-dot="0" aria-pressed="true" class="rounded-full border border-ink/15 px-4 py-2 text-xs font-medium uppercase tracking-wider transition aria-pressed:border-ink aria-pressed:bg-ink aria-pressed:text-cream" data-name="Solace Skin" data-kind="Brand identity" data-year="2026" data-href="project-solace.html">Solace Skin</button>
          <button type="button" data-deck-dot="1" aria-pressed="false" class="rounded-full border border-ink/15 px-4 py-2 text-xs font-medium uppercase tracking-wider transition aria-pressed:border-ink aria-pressed:bg-ink aria-pressed:text-cream" data-name="Kiln &amp; Co." data-kind="Web &amp; UX design" data-year="2025" data-href="works.html">Kiln &amp; Co.</button>
          <button type="button" data-deck-dot="2" aria-pressed="false" class="rounded-full border border-ink/15 px-4 py-2 text-xs font-medium uppercase tracking-wider transition aria-pressed:border-ink aria-pressed:bg-ink aria-pressed:text-cream" data-name="Northdrift Records" data-kind="Motion &amp; visual art" data-year="2025" data-href="works.html">Northdrift Records</button>
          <button type="button" data-deck-dot="3" aria-pressed="false" class="rounded-full border border-ink/15 px-4 py-2 text-xs font-medium uppercase tracking-wider transition aria-pressed:border-ink aria-pressed:bg-ink aria-pressed:text-cream" data-name="Atelier Moss" data-kind="Social media" data-year="2024" data-href="works.html">Atelier Moss</button>
      </div>
    </div>
  </section>
  <!-- block:end gallery -->
<script>
    const reducedMotion = matchMedia('(prefers-reduced-motion: reduce)').matches;
    const watchMotion = !reducedMotion && !navigator.webdriver && 'IntersectionObserver' in window;

    document.querySelectorAll('[data-menu-toggle]').forEach((button) => {
      const menu = document.getElementById(button.getAttribute('aria-controls'));
      const close = menu.querySelector('[data-menu-close]');
      const set = (open) => { menu.hidden = !open; button.setAttribute('aria-expanded', String(open)); document.body.style.overflow = open ? 'hidden' : ''; (open ? close : button).focus(); };
      button.addEventListener('click', () => set(menu.hidden));
      close.addEventListener('click', () => set(false));
      document.addEventListener('keydown', (event) => { if (event.key === 'Escape' && !menu.hidden) set(false); });
    });

    document.querySelectorAll('[data-lit]').forEach((root) => {
      if (!watchMotion) return;
      const words = [...root.querySelectorAll('[data-lit-word]')];
      const update = () => {
        const box = root.getBoundingClientRect();
        const progress = Math.min(1, Math.max(0, (innerHeight * 0.85 - box.top) / (box.height + innerHeight * 0.35)));
        const lit = Math.max(4, Math.round(progress * words.length));
        words.forEach((word, i) => { word.classList.toggle('text-white', i < lit); word.classList.toggle('text-white/40', i >= lit); });
      };
      update();
      addEventListener('scroll', update, { passive: true });
    });

    document.querySelectorAll('[data-services]').forEach((root) => {
      const buttons = [...root.querySelectorAll('[data-service]')];
      const photos = [...root.querySelectorAll('[data-service-photo]')];
      buttons.forEach((button) => button.addEventListener('click', () => {
        const opening = button.getAttribute('aria-expanded') !== 'true';
        buttons.forEach((other) => {
          const open = other === button && opening;
          other.setAttribute('aria-expanded', String(open));
          document.getElementById(other.getAttribute('aria-controls')).hidden = !open;
          const chevron = other.querySelector('[data-chevron]');
          chevron.classList.toggle('rotate-180', open);
          chevron.classList.toggle('text-ember', open);
        });
        if (opening) photos.forEach((photo) => { const on = photo.dataset.servicePhoto === button.dataset.service; photo.classList.toggle('opacity-100', on); photo.classList.toggle('opacity-0', !on); });
      }));
    });

    document.querySelectorAll('[data-deck]').forEach((root) => {
      const dots = [...root.querySelectorAll('[data-deck-dot]')];
      const minis = [...root.querySelectorAll('[data-deck-mini]')];
      const photos = [...root.querySelectorAll('[data-deck-photo]')];
      let current = 0;
      const show = (index) => {
        current = (index + dots.length) % dots.length;
        const dot = dots[current];
        minis.forEach((mini, i) => { const on = i === current; mini.classList.toggle('opacity-100', on); mini.classList.toggle('opacity-0', !on); mini.classList.toggle('translate-y-4', !on); mini.classList.toggle('rotate-3', !on); });
        photos.forEach((photo, i) => { const on = i === current; photo.classList.toggle('opacity-100', on); photo.classList.toggle('opacity-0', !on); photo.classList.toggle('scale-105', !on); });
        dots.forEach((other, i) => other.setAttribute('aria-pressed', String(i === current)));
        root.querySelector('[data-deck-name]').textContent = dot.dataset.name;
        root.querySelector('[data-deck-kind]').textContent = dot.dataset.kind;
        root.querySelector('[data-deck-year]').textContent = dot.dataset.year;
        root.querySelector('[data-deck-index]').textContent = String(current + 1).padStart(2, '0');
        root.querySelector('[data-deck-link]').href = dot.dataset.href;
      };
      root.querySelector('[data-deck-prev]').addEventListener('click', () => show(current - 1));
      root.querySelector('[data-deck-next]').addEventListener('click', () => show(current + 1));
      dots.forEach((dot, i) => dot.addEventListener('click', () => show(i)));
      root.addEventListener('keydown', (event) => { if (event.key === 'ArrowLeft') show(current - 1); if (event.key === 'ArrowRight') show(current + 1); });
    });

    document.querySelectorAll('[data-dial]').forEach((root) => {
      const tabs = [...root.querySelectorAll('[data-step]')];
      const data = [...root.querySelectorAll('[data-step-data]')];
      const fill = root.querySelector('[data-dial-fill]');
      const select = (index, focus) => {
        tabs.forEach((tab, i) => { tab.setAttribute('aria-selected', String(i === index)); tab.tabIndex = i === index ? 0 : -1; });
        root.querySelector('[role="tabpanel"]').setAttribute('aria-labelledby', tabs[index].id);
        root.querySelector('[data-step-number]').textContent = String(index + 1).padStart(2, '0');
        root.querySelector('[data-step-title]').textContent = data[index].dataset.title;
        root.querySelector('[data-step-text]').textContent = data[index].dataset.text;
        fill.style.strokeDashoffset = 289.03 * (1 - (index + 1) / tabs.length);
        if (focus) tabs[index].focus();
      };
      tabs.forEach((tab, i) => {
        tab.addEventListener('click', () => select(i));
        tab.addEventListener('keydown', (event) => {
          if (event.key === 'ArrowRight' || event.key === 'ArrowDown') { event.preventDefault(); select((i + 1) % tabs.length, true); }
          if (event.key === 'ArrowLeft' || event.key === 'ArrowUp') { event.preventDefault(); select((i - 1 + tabs.length) % tabs.length, true); }
        });
      });
      select(0);
    });

    document.querySelectorAll('[data-accordion]').forEach((root) => {
      root.querySelectorAll('[data-accordion-button]').forEach((button) => button.addEventListener('click', () => {
        const open = button.getAttribute('aria-expanded') !== 'true';
        root.querySelectorAll('[data-accordion-button]').forEach((other) => {
          const on = other === button && open;
          other.setAttribute('aria-expanded', String(on));
          document.getElementById(other.getAttribute('aria-controls')).hidden = !on;
          other.querySelector('svg, i').classList.toggle('rotate-45', on);
        });
      }));
    });

    document.querySelectorAll('[data-count]').forEach((el) => {
      if (!watchMotion) return;
      const target = Number(el.dataset.count);
      const observer = new IntersectionObserver(([entry]) => {
        if (!entry.isIntersecting) return;
        observer.disconnect();
        const start = performance.now();
        const tick = (now) => { const t = Math.min(1, (now - start) / 700); el.textContent = Math.round(target * t); if (t < 1) requestAnimationFrame(tick); };
        requestAnimationFrame(tick);
      });
      observer.observe(el);
    });

    if (watchMotion) {
      document.documentElement.classList.add('reveal-ready');
      const observer = new IntersectionObserver((entries) => entries.forEach((entry) => {
        if (entry.isIntersecting) { entry.target.classList.add('is-visible'); observer.unobserve(entry.target); }
      }), { threshold: 0.15 });
      document.querySelectorAll('[data-reveal]').forEach((el) => observer.observe(el));
    }
  </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

Torchwell screenshot Premium

Agencia

Torchwell

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