Gratis
Sobre nosotros
Butterbloom About
A about block extracted from the Butterbloom template, available in Tailwind CSS.
0
8
A about block extracted from the Butterbloom template, available in Tailwind CSS.
Descarga gratis · hasta 5 bloques al día. Ilimitado con All-Access
<!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 About | Tailwind CSS UI Block</title>
<meta name="description" content="A about 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 about -->
<section class="grid gap-10 px-5 py-16 md:px-6 lg:grid-cols-2 lg:items-center">
<div class="mx-auto max-w-xl text-center text-plum">
<h2 class="font-display text-5xl leading-tight md:text-6xl">A word from our head baker</h2>
<p class="mt-6">Everything on our counter starts with slow dough, good butter and fruit from people we know. A pastry is a small thing, but it can change the mood of a whole morning.</p>
<p class="mt-4">We bake for the ordinary Tuesday croissant as carefully as for the wedding cake, because to somebody each one is the best part of the day.</p>
<p class="mt-4">Thanks for bringing us into your celebrations and your slow mornings. The ovens are on.</p>
</div>
<figure class="relative grid place-items-center rounded-[2.5rem] bg-rose p-6 md:p-10" data-reveal>
<img src="https://images.unsplash.com/photo-1577219491135-ce391730fb2c?auto=format&fit=crop&w=800&h=800&q=80" alt="Chef in a dark apron finishing a dish with tweezers under copper lamps" class="aspect-square w-full max-w-md object-cover" style="clip-path: polygon(100.0% 50.0%, 94.6% 55.9%, 98.3% 62.9%, 91.6% 67.2%, 93.3% 75.0%, 85.7% 77.4%, 85.4% 85.4%, 77.4% 85.7%, 75.0% 93.3%, 67.2% 91.6%, 62.9% 98.3%, 55.9% 94.6%, 50.0% 100.0%, 44.1% 94.6%, 37.1% 98.3%, 32.8% 91.6%, 25.0% 93.3%, 22.6% 85.7%, 14.6% 85.4%, 14.3% 77.4%, 6.7% 75.0%, 8.4% 67.2%, 1.7% 62.9%, 5.4% 55.9%, 0.0% 50.0%, 5.4% 44.1%, 1.7% 37.1%, 8.4% 32.8%, 6.7% 25.0%, 14.3% 22.6%, 14.6% 14.6%, 22.6% 14.3%, 25.0% 6.7%, 32.8% 8.4%, 37.1% 1.7%, 44.1% 5.4%, 50.0% 0.0%, 55.9% 5.4%, 62.9% 1.7%, 67.2% 8.4%, 75.0% 6.7%, 77.4% 14.3%, 85.4% 14.6%, 85.7% 22.6%, 93.3% 25.0%, 91.6% 32.8%, 98.3% 37.1%, 94.6% 44.1%)">
<figcaption class="absolute bottom-8 right-8 -rotate-6 rounded-[50%] bg-rose-deep px-6 py-3 text-center text-cocoa md:right-14"><span class="block font-display text-sm">Head baker</span><span class="text-lg">Kenji Mori</span></figcaption>
</figure>
</section>
<!-- block:end about -->
<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>
Premium
Comida y restaurantes
Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.