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

Butterbloom Footer

A footer block extracted from the Butterbloom template, available in Tailwind CSS.

0 5
Butterbloom Footer preview

Descargar el código

Licencia comercial

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

butterbloom.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>Butterbloom Footer | Tailwind CSS UI Block</title>
  <meta name="description" content="A footer block extracted from the Butterbloom template, available in Tailwind CSS.">
  <meta name="keywords" content="Butterbloom, Tailwind CSS template, HTML website template, restaurant template, bakery, cafe, pastry shop, cake delivery, 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="Butterbloom | Tailwind CSS Restaurant Template">
  <meta property="og:description" content="A joyful Tailwind CSS bakery template with a photo wall, working cart, table map reservations and delivery checkout.">
  <meta property="og:image" content="">
  <meta property="og:image:alt" content="Butterbloom template preview">

  <meta name="twitter:card" content="summary_large_image">
  <meta name="twitter:url" content="">
  <meta name="twitter:title" content="Butterbloom | Tailwind CSS Restaurant Template">
  <meta name="twitter:description" content="A joyful Tailwind CSS bakery template with a photo wall, working cart, table map reservations and delivery checkout.">
  <meta name="twitter:image" content="">
  <meta name="twitter:image:alt" content="Butterbloom 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=Caprasimo&family=Outfit:wght@300;400;500;600&display=swap" rel="stylesheet">
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: { sky: { DEFAULT: '#b9cde0' }, navy: '#1c4766', plum: '#4b1f5c', rose: { DEFAULT: '#fdd7e0', deep: '#f48fb6' }, olive: { DEFAULT: '#cdd88e', soft: '#e8eedb' }, forest: '#1e4d2b', cream: '#fffaf0', cocoa: '#2b2523' },
          fontFamily: { display: ['Caprasimo', '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; }
    dialog::backdrop { background: rgba(43, 37, 35, .75); }
    .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-cream font-sans text-cocoa antialiased">
<!-- block:start footer -->
  <footer class="border-t border-navy/15 bg-sky px-5 py-8 text-navy md:px-10">
    <div class="flex flex-wrap items-center justify-between gap-6">
      <ul class="flex flex-wrap gap-x-8 gap-y-2 text-xs font-semibold uppercase">
        <li><a href="index.html" class="hover:underline">Home</a></li><li><a href="menu.html" class="hover:underline">Menu</a></li><li><a href="reservations.html" class="hover:underline">Reservations</a></li><li><a href="delivery.html" class="hover:underline">Delivery</a></li><li><a href="about.html" class="hover:underline">About us</a></li><li><a href="work-with-us.html" class="hover:underline">Work with us</a></li>
      </ul>
      <div class="flex gap-4 text-lg"><a href="contact.html" class="hover:text-plum" aria-label="Instagram"><i class="fa-brands fa-instagram" aria-hidden="true"></i></a><a href="contact.html" class="hover:text-plum" aria-label="Facebook"><i class="fa-brands fa-facebook-f" aria-hidden="true"></i></a><a href="contact.html" class="hover:text-plum" aria-label="TikTok"><i class="fa-brands fa-tiktok" aria-hidden="true"></i></a><a href="contact.html" class="hover:text-plum" aria-label="YouTube"><i class="fa-brands fa-youtube" aria-hidden="true"></i></a></div>
    </div>
    <div class="mt-6 flex flex-wrap justify-between gap-4 text-xs"><div class="flex flex-wrap gap-6"><a href="contact.html" class="hover:underline">Contact</a><a href="menu.html" class="hover:underline">Allergens</a><a href="delivery.html" class="hover:underline">Delivery terms</a></div><p>&copy; 2026 Butterbloom Bakery. All rights reserved.</p></div>
  </footer>
  <!-- block:end footer -->
<script>
    const reducedMotion = matchMedia('(prefers-reduced-motion: reduce)').matches;
    const watchMotion = !reducedMotion && !navigator.webdriver && 'IntersectionObserver' in window;
    const store = {
      read(key, fallback) { try { const value = JSON.parse(localStorage.getItem(key)); return value === null ? fallback : value; } catch (error) { return fallback; } },
      write(key, value) { try { localStorage.setItem(key, JSON.stringify(value)); } catch (error) {} }
    };
    let toastTimer;
    const toast = (message) => {
      const el = document.querySelector('[data-toast]');
      el.textContent = message;
      el.classList.add('opacity-100');
      clearTimeout(toastTimer);
      toastTimer = setTimeout(() => el.classList.remove('opacity-100'), 2200);
    };
    const cart = {
      items: () => store.read('butterbloom-cart', {}),
      save(items) { store.write('butterbloom-cart', items); this.badge(items); },
      add(name, price) { const items = this.items(); items[name] = { price, qty: (items[name]?.qty || 0) + 1 }; this.save(items); },
      badge(items = this.items()) { const total = Object.values(items).reduce((sum, item) => sum + item.qty, 0); document.querySelectorAll('[data-cart-count]').forEach((count) => { count.textContent = total; }); }
    };

    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-add]').forEach((button) => button.addEventListener('click', () => {
      cart.add(button.dataset.add, Number(button.dataset.price));
      toast(`${button.dataset.add} added to your cart`);
    }));
    const paintWishes = () => {
      const wishes = store.read('butterbloom-wishes', []);
      document.querySelectorAll('[data-wish]').forEach((button) => button.setAttribute('aria-pressed', String(wishes.includes(button.dataset.wish))));
      document.querySelectorAll('[data-wish-count]').forEach((count) => { count.textContent = wishes.length; });
    };
    document.querySelectorAll('[data-wish]').forEach((button) => button.addEventListener('click', () => {
      const wishes = store.read('butterbloom-wishes', []);
      const name = button.dataset.wish;
      store.write('butterbloom-wishes', wishes.includes(name) ? wishes.filter((item) => item !== name) : [...wishes, name]);
      paintWishes();
    }));
    cart.badge();
    paintWishes();

    document.querySelectorAll('[data-rail]').forEach((root) => {
      const track = root.querySelector('[data-rail-track]');
      const step = () => track.firstElementChild.getBoundingClientRect().width + 16;
      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-lightbox]').forEach((root) => {
      const dialog = root.querySelector('[data-photo-dialog]');
      const photos = [...root.querySelectorAll('[data-photo-open]')];
      let current = 0;
      const show = (index) => {
        current = (index + photos.length) % photos.length;
        const full = root.querySelector('[data-photo-full]');
        full.src = photos[current].dataset.full;
        full.alt = photos[current].dataset.alt;
        root.querySelector('[data-photo-index]').textContent = current + 1;
        root.querySelector('[data-photo-caption]').textContent = photos[current].dataset.alt;
      };
      photos.forEach((photo, i) => photo.addEventListener('click', () => { show(i); dialog.showModal(); }));
      root.querySelector('[data-photo-prev]').addEventListener('click', () => show(current - 1));
      root.querySelector('[data-photo-next]').addEventListener('click', () => show(current + 1));
      root.querySelector('[data-photo-close]').addEventListener('click', () => dialog.close());
      dialog.addEventListener('click', (event) => { if (event.target === dialog) dialog.close(); });
    });

    document.querySelectorAll('[data-copy-address]').forEach((button) => button.addEventListener('click', async () => {
      const status = document.querySelector('[data-copy-status]');
      try { await navigator.clipboard.writeText(button.dataset.copyAddress); status.textContent = 'Address copied.'; } catch (error) { status.textContent = button.dataset.copyAddress; }
    }));

    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

Butterbloom screenshot Premium

Comida y restaurantes

Butterbloom

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