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

Tenace Events

A events block extracted from the Tenace template, available in Tailwind CSS.

0 21
Tenace Events preview
tenace.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>Tenace Events | Tailwind CSS UI Block</title>
  <meta name="description" content="A events block extracted from the Tenace template, available in Tailwind CSS.">
  <meta name="keywords" content="Tenace, Tailwind CSS template, HTML website template, education template, online course template, bridge school, card game lessons, e-learning platform, online academy">
  <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="Tenace | Tailwind CSS Education Template">
  <meta property="og:description" content="A bold, geometric Tailwind CSS education template for online bridge schools, with an interactive bidding quiz, a course spotlight and a weekly lesson calendar.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Tenace template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Tenace | Tailwind CSS Education Template">
  <meta name="twitter:description" content="A bold, geometric Tailwind CSS education template for online bridge schools, with an interactive bidding quiz, a course spotlight and a weekly lesson calendar.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Tenace 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=Inter:wght@300;400;500;600&family=Unbounded:wght@600;800&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: { indigo: { DEFAULT: '#2f2fa2', deep: '#23238a', soft: '#6b5bd2' }, sun: '#fbbf3c', petal: '#f9b4c0', blush: '#f6e9e8', ink: '#141414', heart: '#d6324f' },
          fontFamily: { sans: ['Inter', 'sans-serif'], display: ['Unbounded', '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 { display: flex; overflow: hidden; gap: 3rem; }
    .marquee-track { display: flex; flex-shrink: 0; align-items: center; gap: 3rem; animation: marquee 30s linear infinite; }
    .marquee:hover .marquee-track { animation-play-state: paused; }
    @keyframes marquee { to { transform: translateX(calc(-100% - 3rem)); } }
    .ring-progress { transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1); }
    .reveal-ready [data-ring] .ring-progress { stroke-dashoffset: 100; }
    .reveal-ready [data-ring].is-visible .ring-progress { stroke-dashoffset: var(--ring-offset); }
    .reveal-ready [data-reveal], .reveal-ready [data-tile] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--reveal-delay, 0ms); }
    .reveal-ready [data-tile] { transform: scale(.85); }
    .reveal-ready [data-reveal].is-visible, .reveal-ready [data-tile].is-visible { opacity: 1; transform: none; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .marquee-track { animation: none; }
      .marquee { overflow-x: auto; }
      ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    }
  </style>
</head>
<body class="bg-blush font-sans text-ink antialiased">
<!-- block:start events -->
  <section class="mx-auto max-w-7xl px-5 py-20 md:px-12 md:py-28">
    <div class="flex flex-wrap items-end justify-between gap-6">
      <h2 class="max-w-xl font-display text-3xl font-extrabold uppercase md:text-4xl">Live at the table this week</h2>
      <p class="font-light text-ink/70">All times CET · 60 minutes · max 12 players</p>
    </div>
    <div class="mt-12 overflow-x-auto pb-2">
      <ol class="grid min-w-[56rem] grid-cols-7 gap-3">
          <li class="flex min-h-[16rem] flex-col rounded-3xl bg-white p-4 ">
            <p class="flex items-baseline justify-between"><span class="text-xs font-semibold uppercase text-ink/50">Mon</span><span class="font-display text-2xl font-extrabold">14</span></p>
            <ul class="mt-4 grid gap-2">
                <li><a href="login.html" class="block rounded-2xl p-3 text-sm transition hover:-translate-y-0.5 hover:shadow-md bg-sun"><span class="block font-semibold">18:00</span>Opening leads that set traps</a></li>
              
            </ul>
          </li>
          <li class="flex min-h-[16rem] flex-col rounded-3xl bg-white p-4 ">
            <p class="flex items-baseline justify-between"><span class="text-xs font-semibold uppercase text-ink/50">Tue</span><span class="font-display text-2xl font-extrabold">15</span></p>
            <ul class="mt-4 grid gap-2">
              <li class="rounded-2xl border-2 border-dashed border-indigo/15 p-3 text-sm text-ink/40">Self-study day</li>
            </ul>
          </li>
          <li class="flex min-h-[16rem] flex-col rounded-3xl bg-white p-4 ring-2 ring-indigo">
            <p class="flex items-baseline justify-between"><span class="text-xs font-semibold uppercase text-ink/50">Wed</span><span class="font-display text-2xl font-extrabold">16</span></p>
            <ul class="mt-4 grid gap-2">
                <li><a href="login.html" class="block rounded-2xl p-3 text-sm transition hover:-translate-y-0.5 hover:shadow-md bg-petal"><span class="block font-semibold">12:30</span>Lunch-break practice</a></li>
                <li><a href="login.html" class="block rounded-2xl p-3 text-sm transition hover:-translate-y-0.5 hover:shadow-md bg-indigo-soft text-white"><span class="block font-semibold">19:30</span>Counting the hand</a></li>
              
            </ul>
          </li>
          <li class="flex min-h-[16rem] flex-col rounded-3xl bg-white p-4 ">
            <p class="flex items-baseline justify-between"><span class="text-xs font-semibold uppercase text-ink/50">Thu</span><span class="font-display text-2xl font-extrabold">17</span></p>
            <ul class="mt-4 grid gap-2">
                <li><a href="login.html" class="block rounded-2xl p-3 text-sm transition hover:-translate-y-0.5 hover:shadow-md bg-petal"><span class="block font-semibold">18:00</span>Ask the teacher</a></li>
              
            </ul>
          </li>
          <li class="flex min-h-[16rem] flex-col rounded-3xl bg-white p-4 ">
            <p class="flex items-baseline justify-between"><span class="text-xs font-semibold uppercase text-ink/50">Fri</span><span class="font-display text-2xl font-extrabold">18</span></p>
            <ul class="mt-4 grid gap-2">
                <li><a href="login.html" class="block rounded-2xl p-3 text-sm transition hover:-translate-y-0.5 hover:shadow-md bg-indigo-soft text-white"><span class="block font-semibold">18:00</span>Defending no-trump</a></li>
              
            </ul>
          </li>
          <li class="flex min-h-[16rem] flex-col rounded-3xl bg-white p-4 ">
            <p class="flex items-baseline justify-between"><span class="text-xs font-semibold uppercase text-ink/50">Sat</span><span class="font-display text-2xl font-extrabold">19</span></p>
            <ul class="mt-4 grid gap-2">
              <li class="rounded-2xl border-2 border-dashed border-indigo/15 p-3 text-sm text-ink/40">Self-study day</li>
            </ul>
          </li>
          <li class="flex min-h-[16rem] flex-col rounded-3xl bg-white p-4 ">
            <p class="flex items-baseline justify-between"><span class="text-xs font-semibold uppercase text-ink/50">Sun</span><span class="font-display text-2xl font-extrabold">20</span></p>
            <ul class="mt-4 grid gap-2">
                <li><a href="login.html" class="block rounded-2xl p-3 text-sm transition hover:-translate-y-0.5 hover:shadow-md bg-sun"><span class="block font-semibold">11:00</span>Club night: duplicate</a></li>
                <li><a href="login.html" class="block rounded-2xl p-3 text-sm transition hover:-translate-y-0.5 hover:shadow-md bg-petal"><span class="block font-semibold">17:00</span>Slam clinic</a></li>
              
            </ul>
          </li>
      </ol>
    </div>
  </section>
  <!-- block:end events -->
<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);
      });
    });

    document.querySelectorAll('[data-quiz]').forEach((quiz) => {
      const hands = [...quiz.querySelectorAll('[data-quiz-hand]')];
      let current = 0;
      let score = 0;
      hands.forEach((hand) => {
        const feedback = hand.querySelector('[data-quiz-feedback]');
        const verdict = hand.querySelector('[data-quiz-verdict]');
        const answer = verdict.textContent;
        feedback.hidden = true;
        hand.querySelectorAll('[data-quiz-option]').forEach((option) => {
          option.addEventListener('click', () => {
            if (!feedback.hidden) return;
            const right = option.dataset.correct === 'true';
            option.setAttribute('aria-pressed', 'true');
            if (right) score += 1;
            verdict.textContent = right ? `Spot on: ${option.textContent.trim()} is right.` : `Not quite. ${answer}`;
            feedback.hidden = false;
            quiz.querySelector('[data-quiz-score]').textContent = score;
          });
        });
        hand.querySelector('[data-quiz-next]')?.addEventListener('click', () => {
          hand.hidden = true;
          current = (current + 1) % hands.length;
          if (current === 0) { score = 0; quiz.querySelector('[data-quiz-score]').textContent = 0; }
          const next = hands[current];
          next.hidden = false;
          next.querySelector('[data-quiz-feedback]').hidden = true;
          next.querySelectorAll('[data-quiz-option]').forEach((option) => option.removeAttribute('aria-pressed'));
          quiz.querySelector('[data-quiz-index]').textContent = current + 1;
          next.querySelector('[data-quiz-option]')?.focus();
        });
      });
    });

    document.querySelectorAll('[data-tabs]').forEach((tablist) => {
      const tabs = [...tablist.querySelectorAll('[role="tab"]')];
      const select = (tab) => tabs.forEach((other) => {
        const active = other === tab;
        other.setAttribute('aria-selected', String(active));
        other.tabIndex = active ? 0 : -1;
        document.getElementById(other.getAttribute('aria-controls')).hidden = !active;
      });
      tabs.forEach((tab, index) => {
        tab.addEventListener('click', () => select(tab));
        tab.addEventListener('keydown', (event) => {
          const step = { ArrowRight: 1, ArrowDown: 1, ArrowLeft: -1, ArrowUp: -1 }[event.key];
          if (!step) return;
          event.preventDefault();
          const next = tabs[(index + step + tabs.length) % tabs.length];
          next.focus();
          select(next);
        });
      });
    });

    document.querySelectorAll('[data-switcher]').forEach((root) => {
      root.addEventListener('click', (event) => {
        const button = event.target.closest('[data-switch]');
        if (!button) return;
        root.querySelectorAll('[data-switch]').forEach((other) => other.setAttribute('aria-selected', String(other === button)));
        root.querySelectorAll('[data-switch-panel]').forEach((panel) => { panel.hidden = panel.dataset.switchPanel !== button.dataset.switch; });
      });
    });

    document.querySelectorAll('[data-search-target]').forEach((input) => {
      const list = document.querySelector(input.dataset.searchTarget);
      const empty = list?.parentElement.querySelector('[data-search-empty]');
      input.addEventListener('input', () => {
        const query = input.value.trim().toLowerCase();
        let shown = 0;
        list.querySelectorAll('[data-search-item]').forEach((item) => {
          const match = !query || item.textContent.toLowerCase().includes(query);
          item.hidden = !match;
          if (match) shown += 1;
        });
        if (empty) empty.hidden = shown > 0;
      });
    });

    document.querySelectorAll('[data-course-tools]').forEach((tools) => {
      const grid = document.querySelector(tools.dataset.courseTools);
      const search = tools.querySelector('[data-course-search]');
      const sort = tools.querySelector('[data-course-sort]');
      const count = tools.querySelector('[data-course-count]');
      const apply = () => {
        const query = search.value.trim().toLowerCase();
        const items = [...grid.querySelectorAll('[data-course]')];
        items.sort((a, b) => Number(a.dataset[sort.value]) - Number(b.dataset[sort.value])).forEach((item) => grid.append(item));
        let shown = 0;
        items.forEach((item) => {
          const match = !query || item.textContent.toLowerCase().includes(query);
          item.hidden = !match;
          if (match) shown += 1;
        });
        count.textContent = shown;
      };
      search.addEventListener('input', apply);
      sort.addEventListener('change', apply);
    });

    document.querySelectorAll('[data-booking]').forEach((form) => {
      const summary = form.querySelector('[data-booking-summary]');
      const update = () => {
        const day = [...form.querySelectorAll('[name="day"]')].find((input) => input.checked);
        const time = [...form.querySelectorAll('[name="time"]')].find((input) => input.checked);
        summary.textContent = day && time ? `${day.value} at ${time.value}` : 'Pick a day and a time';
      };
      form.addEventListener('change', update);
      update();
    });

    document.querySelectorAll('[data-contact-form], [data-booking]').forEach((form) => {
      form.addEventListener('submit', (event) => {
        event.preventDefault();
        const status = form.querySelector('[data-form-status]');
        const groups = [...form.querySelectorAll('[data-required-group]')].every((group) => [...group.querySelectorAll('[name]')].some((choice) => choice.checked));
        if (!groups || !form.checkValidity()) {
          status.textContent = form.dataset.error;
          return;
        }
        status.textContent = form.dataset.success;
        form.reset();
        form.dispatchEvent(new Event('change'));
      });
    });

    document.querySelectorAll('[data-current-year]').forEach((el) => { el.textContent = new Date().getFullYear(); });

    (() => {
      const items = document.querySelectorAll('[data-reveal], [data-tile]');
      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>

De esta plantilla

Tenace screenshot

Educación

Tenace

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