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

Velluto Reviews

A reviews block extracted from the Velluto template, available in Tailwind CSS.

0 9
Velluto Reviews preview

Descargar el código

Licencia comercial

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

velluto.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>Velluto Reviews | Tailwind CSS UI Block</title>
  <meta name="description" content="A reviews block extracted from the Velluto template, available in Tailwind CSS.">
  <meta name="keywords" content="Velluto, Tailwind CSS template, HTML website template, restaurant template, wine bar, fine dining, wine list, tasting menu, table reservation, food 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="Velluto | Tailwind CSS Restaurant Template">
  <meta property="og:description" content="A warm Tailwind CSS wine bar and restaurant template with a pairing finder, wine dinners, a cellar list and table reservations.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Velluto template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Velluto | Tailwind CSS Restaurant Template">
  <meta name="twitter:description" content="A warm Tailwind CSS wine bar and restaurant template with a pairing finder, wine dinners, a cellar list and table reservations.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Velluto 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=Libre+Caslon+Display&family=Figtree:wght@300;400;500;600&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: { sand: { DEFAULT: '#d9cbb8', soft: '#e8dfd2' }, paper: '#fbf8f3', ink: '#1c1a17', gold: { DEFAULT: '#b0884f', deep: '#8c6a3a' }, wine: '#6e1f2b', stone: '#7d7366' },
          fontFamily: { serif: ['"Libre Caslon Display"', 'serif'], sans: ['Figtree', '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; }
    .dots { background-image: radial-gradient(currentColor 1px, transparent 1.2px); background-size: 6px 6px; }
    .no-scrollbar { scrollbar-width: none; }
    .no-scrollbar::-webkit-scrollbar { display: none; }
    .reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s 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; }
      ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    }
  </style>
</head>
<body class="bg-paper font-sans font-light text-ink antialiased">
<!-- block:start reviews -->
  <section class="bg-ink py-24 text-paper md:py-32" data-voices>
    <div class="mx-auto flex max-w-4xl flex-col items-center px-5 text-center md:px-10">
      <span class="h-16 w-px bg-gold" aria-hidden="true"></span>
        <figure class="mt-10" data-voice="0" >
          <blockquote class="font-serif text-3xl leading-snug md:text-5xl">“The kind of place where the sommelier remembers what you liked last spring.”</blockquote>
          <figcaption class="mt-8 text-xs uppercase tracking-[.3em] text-gold">Clara Benz · <span class="text-paper/60">Regular since opening</span></figcaption>
        </figure>
        <figure class="mt-10" data-voice="1" hidden>
          <blockquote class="font-serif text-3xl leading-snug md:text-5xl">“Order the short rib and let them choose the glass. You will not regret it.”</blockquote>
          <figcaption class="mt-8 text-xs uppercase tracking-[.3em] text-gold">Marco Ruel · <span class="text-paper/60">Food writer</span></figcaption>
        </figure>
        <figure class="mt-10" data-voice="2" hidden>
          <blockquote class="font-serif text-3xl leading-snug md:text-5xl">“Quiet, warm and never rushed. Our anniversary table for six years now.”</blockquote>
          <figcaption class="mt-8 text-xs uppercase tracking-[.3em] text-gold">Ines &amp; Paul · <span class="text-paper/60">Guests</span></figcaption>
        </figure>
      <div class="mt-10 flex gap-4" role="group" aria-label="Choose a guest">
          <button type="button" data-voice-button="0" aria-pressed="true" aria-label="Clara Benz" class="h-14 w-14 overflow-hidden rounded-full opacity-50 ring-2 ring-transparent ring-offset-4 ring-offset-ink transition hover:opacity-100 aria-pressed:opacity-100 aria-pressed:ring-gold"><img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-4.jpg" alt="" class="h-full w-full object-cover"></button>
          <button type="button" data-voice-button="1" aria-pressed="false" aria-label="Marco Ruel" class="h-14 w-14 overflow-hidden rounded-full opacity-50 ring-2 ring-transparent ring-offset-4 ring-offset-ink transition hover:opacity-100 aria-pressed:opacity-100 aria-pressed:ring-gold"><img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-2.jpg" alt="" class="h-full w-full object-cover"></button>
          <button type="button" data-voice-button="2" aria-pressed="false" aria-label="Ines &amp; Paul" class="h-14 w-14 overflow-hidden rounded-full opacity-50 ring-2 ring-transparent ring-offset-4 ring-offset-ink transition hover:opacity-100 aria-pressed:opacity-100 aria-pressed:ring-gold"><img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-7.jpg" alt="" class="h-full w-full object-cover"></button>
      </div>
    </div>
  </section>
  <!-- block:end reviews -->
<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'));
      button.addEventListener('click', () => {
        const open = button.getAttribute('aria-expanded') === 'true';
        button.setAttribute('aria-expanded', String(!open));
        menu.classList.toggle('hidden', open);
      });
    });

    document.querySelectorAll('[data-slider]').forEach((root) => {
      const total = root.querySelectorAll('[data-slide-copy]').length;
      let current = 0;
      const show = (index) => {
        current = (index + total) % total;
        root.querySelectorAll('[data-slide-photo]').forEach((img) => { img.hidden = Number(img.dataset.slidePhoto) !== current; });
        root.querySelectorAll('[data-slide-copy]').forEach((copy) => { copy.hidden = Number(copy.dataset.slideCopy) !== current; });
        root.querySelector('[data-slide-index]').textContent = String(current + 1).padStart(2, '0');
      };
      root.querySelector('[data-slide-prev]').addEventListener('click', () => show(current - 1));
      root.querySelector('[data-slide-next]').addEventListener('click', () => show(current + 1));
    });

    document.querySelectorAll('[data-pairing]').forEach((root) => {
      const data = JSON.parse(root.querySelector('[data-pairing-data]').textContent);
      const bottle = root.querySelector('[data-pair-bottle]');
      const update = () => {
        const dish = root.querySelector('[data-dish]:checked').value;
        const [, wine, region, colour, body, acidity, tannin, glass, note] = data[dish];
        root.querySelector('[data-pair-wine]').textContent = wine;
        root.querySelector('[data-pair-region]').textContent = region;
        root.querySelector('[data-pair-note]').textContent = note;
        root.querySelector('[data-pair-fill]').setAttribute('fill', colour);
        Object.entries({ body, acidity, tannin }).forEach(([key, value]) => { root.querySelector(`[data-bar="${key}"]`).style.width = `${value * 20}%`; });
        root.querySelector('[data-pair-price]').textContent = `$${bottle.checked ? glass * 5 - 10 : glass}`;
        root.querySelector('[data-pair-unit]').textContent = bottle.checked ? 'per bottle' : 'per glass';
      };
      root.querySelectorAll('[data-dish], [data-pair-bottle]').forEach((input) => input.addEventListener('change', update));
      update();
    });

    document.querySelectorAll('[data-rail]').forEach((root) => {
      const track = root.querySelector('[data-rail-track]');
      const step = () => track.firstElementChild.getBoundingClientRect().width + 24;
      root.querySelector('[data-rail-prev]').addEventListener('click', () => track.scrollBy({ left: -step() }));
      root.querySelector('[data-rail-next]').addEventListener('click', () => track.scrollBy({ left: step() }));
    });

    document.querySelectorAll('[data-dinner]').forEach((row) => {
      const button = row.querySelector('[data-seat-button]');
      const seats = row.querySelector('[data-seats]');
      button.addEventListener('click', () => {
        const held = button.getAttribute('aria-pressed') === 'true';
        button.setAttribute('aria-pressed', String(!held));
        seats.textContent = Number(seats.textContent) + (held ? 1 : -1);
        button.textContent = held ? 'Hold a seat' : 'Seat held';
      });
    });

    document.querySelectorAll('[data-voices]').forEach((root) => {
      const buttons = [...root.querySelectorAll('[data-voice-button]')];
      buttons.forEach((button) => button.addEventListener('click', () => {
        buttons.forEach((other) => other.setAttribute('aria-pressed', String(other === button)));
        root.querySelectorAll('[data-voice]').forEach((voice) => { voice.hidden = voice.dataset.voice !== button.dataset.voiceButton; });
      }));
    });

    document.querySelectorAll('[data-quick-form]').forEach((form) => {
      const status = form.parentElement.querySelector('[data-form-status]');
      form.addEventListener('submit', (event) => {
        event.preventDefault();
        const date = form.querySelector('[name="date"]');
        if (!date.value) { status.textContent = 'Please choose a date first.'; date.focus(); return; }
        status.innerHTML = `Tables free at 19:30 and 21:15 on ${date.value} for ${form.querySelector('[name="guests"]').value}. <a href="reservations.html" class="underline decoration-gold underline-offset-4">Complete your booking</a>`;
      });
    });

    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

Velluto screenshot Premium

Comida y restaurantes

Velluto

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