Gratis
Portada
Hoplane Hero
A hero block extracted from the Hoplane template, available in Tailwind CSS.
0
19
A hero block extracted from the Hoplane 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>Hoplane Hero | Tailwind CSS UI Block</title>
<meta name="description" content="A hero block extracted from the Hoplane template, available in Tailwind CSS.">
<meta name="keywords" content="Hoplane, Tailwind CSS template, HTML website template, startup template, delivery startup, logistics website, courier service, returns platform, shipping rates, developer API page">
<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="Hoplane | Tailwind CSS Startup Template">
<meta property="og:description" content="A bold Tailwind CSS startup template for delivery and logistics platforms, with a pill-grid hero, a live delivery estimator and a package builder.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Hoplane template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Hoplane | Tailwind CSS Startup Template">
<meta name="twitter:description" content="A bold Tailwind CSS startup template for delivery and logistics platforms, with a pill-grid hero, a live delivery estimator and a package builder.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Hoplane 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+Tight:wght@400;500;600;800&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: { mist: '#eceef1', sun: { DEFAULT: '#f7cf65', soft: '#fbe7ae' }, ink: '#0b0b0c', coral: { DEFAULT: '#e8545c', dark: '#c93f47' } },
fontFamily: { sans: ['"Inter Tight"', '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; }
.rail { scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.courier { transition: left .7s cubic-bezier(.6, 0, .2, 1); }
.bar { transform-origin: bottom; transition: transform .7s ease; transition-delay: var(--bar-delay, 0ms); }
.bars-ready .bar { transform: scaleY(0); }
.bars-ready.is-visible .bar { transform: scaleY(1); }
.cta-bar { transition: transform .4s ease, opacity .4s ease; }
.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; }
.courier, .bar, .cta-bar { transition: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
</style>
</head>
<body class="bg-white font-sans text-ink antialiased">
<!-- block:start hero -->
<section class="relative overflow-hidden lg:-mt-[5.5rem] lg:grid lg:min-h-[52rem] lg:grid-cols-[43.4%_1fr]">
<div class="flex flex-col bg-mist px-5 pb-14 pt-10 md:px-10 lg:pb-12 lg:pl-[max(2.5rem,calc((100vw_-_110rem)/2_+_6.5rem))] lg:pr-10 lg:pt-48">
<svg class="h-14 w-14" viewBox="0 0 48 48" aria-hidden="true"><path d="M24 2c1 12 10 21 22 22-12 1-21 10-22 22-1-12-10-21-22-22 12-1 21-10 22-22Z" fill="none" stroke="#0b0b0c" stroke-width="2"/></svg>
<h1 class="mt-8 text-5xl leading-[1.04] tracking-tight md:text-6xl xl:text-7xl"><span class="font-extrabold">Ship smarter</span><br>with same-day<br>delivery & returns</h1>
<p class="mt-8 max-w-xs text-xl leading-snug">Couriers, routing and returns in one platform, so your store can grow without the guesswork.</p>
<a href="signup.html" class="mt-10 inline-flex w-fit items-center gap-6 rounded-2xl bg-coral px-6 py-4 text-lg font-semibold text-white shadow-lg shadow-coral/30 transition hover:bg-coral-dark">Get started <i class="fa-solid fa-chevron-right text-sm" aria-hidden="true"></i></a>
<ul class="mt-14 flex gap-3 lg:mt-auto" aria-label="Download the courier app">
<li><a href="signup.html" aria-label="Get the app on App Store" class="grid h-14 w-14 place-items-center rounded-full bg-ink text-2xl text-white transition hover:-translate-y-1 hover:bg-coral"><i class="fa-brands fa-apple" aria-hidden="true"></i></a></li>
<li><a href="signup.html" aria-label="Get the app on Google Play" class="grid h-14 w-14 place-items-center rounded-full bg-ink text-2xl text-white transition hover:-translate-y-1 hover:bg-coral"><i class="fa-brands fa-google-play" aria-hidden="true"></i></a></li>
<li><a href="signup.html" aria-label="Get the app on Windows" class="grid h-14 w-14 place-items-center rounded-full bg-ink text-2xl text-white transition hover:-translate-y-1 hover:bg-coral"><i class="fa-brands fa-windows" aria-hidden="true"></i></a></li>
</ul>
</div>
<div class="relative grid content-start gap-5 py-10 lg:gap-7 lg:pt-32" aria-label="Hoplane couriers and customers">
<div class="flex h-28 gap-5 sm:h-40 lg:h-48 lg:gap-7 " data-reveal style="--reveal-delay: 0ms">
<span class="w-[44%] rounded-r-full bg-ink grid shrink-0 place-items-center text-sm font-semibold" aria-hidden="true"></span>
<img src="https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=700&h=420&q=75" alt="Hands on the wheel of a car at sunset" class="w-[30%] rounded-full h-full shrink-0 object-cover">
<span class="w-[26%] rounded-l-full bg-sun grid shrink-0 place-items-center text-sm font-semibold" aria-hidden="true">01</span>
</div>
<div class="flex h-28 gap-5 sm:h-40 lg:h-48 lg:gap-7 " data-reveal style="--reveal-delay: 100ms">
<span class="w-[62%] rounded-r-full bg-sun grid shrink-0 place-items-center text-sm font-semibold" aria-hidden="true"></span>
<img src="https://images.unsplash.com/photo-1517841905240-472988babdf9?auto=format&fit=crop&w=700&h=420&q=75" alt="Smiling courier in a denim jacket and hoodie" class="w-[28%] rounded-full h-full shrink-0 object-cover">
<span class="w-[10%] rounded-l-full bg-sun grid shrink-0 place-items-center text-sm font-semibold" aria-hidden="true"></span>
</div>
<div class="flex h-28 gap-5 sm:h-40 lg:h-48 lg:gap-7 " data-reveal style="--reveal-delay: 200ms">
<span class="w-[16%] rounded-r-full bg-ink grid shrink-0 place-items-center text-sm font-semibold" aria-hidden="true"></span>
<img src="https://images.unsplash.com/photo-1531123897727-8f129e1688ce?auto=format&fit=crop&w=700&h=420&q=75" alt="Portrait of a confident woman" class="w-[34%] rounded-full h-full shrink-0 object-cover">
<span class="w-[50%] rounded-l-full bg-sun grid shrink-0 place-items-center text-sm font-semibold" aria-hidden="true"></span>
</div>
<div class="flex h-28 gap-5 sm:h-40 lg:h-48 lg:gap-7 hidden sm:flex" data-reveal style="--reveal-delay: 300ms">
<span class="w-[40%] rounded-r-full bg-sun grid shrink-0 place-items-center text-sm font-semibold" aria-hidden="true"></span>
<img src="https://images.unsplash.com/photo-1617347454431-f49d7ff5c3b1?auto=format&fit=crop&w=700&h=420&q=75" alt="Courier on a scooter riding through the city at night" class="w-[36%] rounded-full h-full shrink-0 object-cover">
<span class="w-[24%] rounded-l-full bg-coral grid shrink-0 place-items-center text-sm font-semibold" aria-hidden="true"></span>
</div>
<a href="#estimate" class="absolute bottom-8 right-8 hidden flex-col items-center gap-3 text-sm font-medium lg:flex"><span class="[writing-mode:vertical-rl] rotate-180">scroll</span><span class="grid h-7 w-7 place-items-center rounded-full border-2 border-coral"><span class="h-2 w-0.5 bg-coral"></span></span></a>
</div>
</section>
<!-- block:end hero -->
<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-estimator]').forEach((root) => {
const base = Number(root.dataset.base);
const perKm = Number(root.dataset.perKm);
const pick = (name) => root.querySelector(`[name="${name}"]:checked`);
const paint = () => {
const from = pick('from'); const to = pick('to'); const size = pick('size'); const speed = pick('speed');
const km = Math.max(2, Math.abs(Number(from.dataset.km) - Number(to.dataset.km)) + 2);
const price = (base + km * perKm + Number(size.dataset.extra)) * Number(speed.dataset.factor);
root.querySelector('[data-quote-price]').textContent = `$${price.toFixed(2)}`;
root.querySelector('[data-quote-eta]').textContent = speed.dataset.eta;
root.querySelector('[data-route-from]').textContent = from.dataset.label;
root.querySelector('[data-route-to]').textContent = to.dataset.label;
root.querySelector('[data-route-km]').textContent = `${km} km`;
root.querySelector('[data-courier]').style.left = `${Math.min(88, 14 + km * 5)}%`;
};
root.addEventListener('change', paint);
paint();
});
document.querySelectorAll('[data-rail-root]').forEach((root) => {
const track = root.querySelector('[data-rail-track]');
const step = () => track.firstElementChild.getBoundingClientRect().width + 20;
root.querySelector('[data-rail-prev]').addEventListener('click', () => track.scrollBy({ left: -step(), behavior: reducedMotion ? 'auto' : 'smooth' }));
root.querySelector('[data-rail-next]').addEventListener('click', () => track.scrollBy({ left: step(), behavior: reducedMotion ? 'auto' : 'smooth' }));
});
document.querySelectorAll('[data-bars]').forEach((chart) => {
if (!watchMotion) return;
chart.classList.add('bars-ready');
const observer = new IntersectionObserver((entries) => {
if (!entries.some((entry) => entry.isIntersecting)) return;
chart.classList.add('is-visible');
observer.disconnect();
}, { threshold: 0.3 });
observer.observe(chart);
});
document.querySelectorAll('[data-video-reviews]').forEach((root) => {
const dialog = root.querySelector('[data-video-dialog]');
root.querySelectorAll('[data-video-open]').forEach((card) => card.addEventListener('click', () => {
dialog.querySelector('[data-video-quote]').textContent = card.dataset.quote;
dialog.querySelector('[data-video-name]').textContent = card.dataset.name;
dialog.querySelector('[data-video-poster]').src = `https://images.unsplash.com/photo-${card.dataset.photo}?auto=format&fit=crop&w=1200&h=675&q=75`;
dialog.showModal();
}));
dialog.querySelector('[data-video-close]').addEventListener('click', () => dialog.close());
dialog.addEventListener('click', (event) => { if (event.target === dialog) dialog.close(); });
});
document.querySelectorAll('[data-cta-bar]').forEach((bar) => {
const hero = document.querySelector('main section, body > section');
let dismissed = false;
bar.querySelector('[data-cta-close]').addEventListener('click', () => { dismissed = true; bar.hidden = true; });
const update = () => { if (!dismissed) bar.hidden = scrollY < (hero ? hero.offsetHeight * 0.8 : 600); };
addEventListener('scroll', update, { passive: true });
update();
});
document.querySelectorAll('[data-plan-builder]').forEach((root) => {
const paint = () => {
const parcels = Number(root.querySelector('[data-parcels]').value);
const rate = Number(root.querySelector('[name="plan-speed"]:checked').dataset.rate);
const addons = [...root.querySelectorAll('[data-addon]:checked')].reduce((sum, box) => sum + Number(box.dataset.price), 0);
const deliveries = parcels * rate;
root.querySelector('[data-parcels-label]').textContent = parcels.toLocaleString('en-US');
root.querySelector('[data-plan-delivery]').textContent = `$${deliveries.toLocaleString('en-US', { maximumFractionDigits: 0 })}`;
root.querySelector('[data-plan-addons]').textContent = `$${addons}`;
root.querySelector('[data-plan-total]').textContent = `$${(deliveries + addons).toLocaleString('en-US', { maximumFractionDigits: 0 })}`;
root.querySelector('[data-plan-unit]').textContent = `$${((deliveries + addons) / parcels).toFixed(2)} per parcel`;
};
root.addEventListener('input', paint);
root.addEventListener('change', paint);
paint();
});
document.querySelectorAll('[data-code-tabs]').forEach((root) => {
const tabs = [...root.querySelectorAll('[role="tab"]')];
const select = (tab) => tabs.forEach((other) => { const on = other === tab; other.setAttribute('aria-selected', String(on)); other.tabIndex = on ? 0 : -1; document.getElementById(other.getAttribute('aria-controls')).hidden = !on; });
tabs.forEach((tab, index) => {
tab.addEventListener('click', () => select(tab));
tab.addEventListener('keydown', (event) => { const move = { ArrowRight: 1, ArrowLeft: -1 }[event.key]; if (!move) return; const next = tabs[(index + move + tabs.length) % tabs.length]; select(next); next.focus(); });
});
root.querySelectorAll('[data-copy]').forEach((button) => button.addEventListener('click', async () => {
const code = root.querySelector('[role="tabpanel"]:not([hidden]) code').textContent;
try { await navigator.clipboard.writeText(code); } catch (e) {}
button.querySelector('[data-copy-label]').textContent = 'Copied';
setTimeout(() => { button.querySelector('[data-copy-label]').textContent = 'Copy'; }, 1400);
}));
});
document.querySelectorAll('[data-feature-story]').forEach((root) => {
const visuals = [...root.querySelectorAll('[data-story-visual]')];
const steps = [...root.querySelectorAll('[data-story-step]')];
const show = (id) => { visuals.forEach((visual) => { visual.classList.toggle('opacity-0', visual.dataset.storyVisual !== id); }); steps.forEach((step) => step.classList.toggle('opacity-40', step.dataset.storyStep !== id)); };
if (!('IntersectionObserver' in window)) return;
const observer = new IntersectionObserver((entries) => entries.forEach((entry) => { if (entry.isIntersecting) show(entry.target.dataset.storyStep); }), { rootMargin: '-45% 0px -45% 0px' });
steps.forEach((step) => observer.observe(step));
});
document.querySelectorAll('[data-partner-feature]').forEach((root) => {
root.querySelectorAll('[data-partner-pick]').forEach((pick) => pick.addEventListener('click', () => {
root.querySelectorAll('[data-partner-pick]').forEach((other) => other.setAttribute('aria-pressed', String(other === pick)));
root.querySelectorAll('[data-partner-panel]').forEach((panel) => { panel.hidden = panel.dataset.partnerPanel !== pick.dataset.partnerPick; });
}));
});
document.querySelectorAll('[data-faq]').forEach((root) => {
root.querySelectorAll('[data-faq-toggle]').forEach((button) => button.addEventListener('click', () => {
const open = button.getAttribute('aria-expanded') === 'true';
button.setAttribute('aria-expanded', String(!open));
document.getElementById(button.getAttribute('aria-controls')).hidden = open;
}));
});
document.querySelectorAll('[data-steps-form]').forEach((form) => {
const panels = [...form.querySelectorAll('[data-step-panel]')];
const status = form.querySelector('[data-form-status]');
const bar = form.querySelector('[data-step-progress]');
const label = form.querySelector('[data-step-label]');
let current = 0;
const show = (index) => {
current = index;
panels.forEach((panel, i) => { panel.hidden = i !== index; });
bar.style.width = `${((index + 1) / panels.length) * 100}%`;
label.textContent = `Step ${index + 1} of ${panels.length}`;
form.querySelector('[data-step-back]').hidden = index === 0;
form.querySelector('[data-step-next]').hidden = index === panels.length - 1;
form.querySelector('[data-step-submit]').hidden = index !== panels.length - 1;
};
const valid = () => {
const fields = [...panels[current].querySelectorAll('input, select, textarea, md-outlined-text-field, md-outlined-select')];
const bad = fields.find((field) => !field.checkValidity());
if (bad) { status.textContent = form.dataset.error; bad.focus(); return false; }
status.textContent = '';
return true;
};
form.querySelector('[data-step-next]').addEventListener('click', () => { if (valid()) show(current + 1); });
form.querySelector('[data-step-back]').addEventListener('click', () => show(current - 1));
form.addEventListener('submit', (event) => { event.preventDefault(); if (!valid()) return; status.textContent = form.dataset.success; });
show(0);
});
document.querySelectorAll('[data-contact-form]').forEach((form) => {
form.addEventListener('submit', (event) => {
event.preventDefault();
const status = form.querySelector('[data-form-status]');
if (!form.checkValidity()) {
status.textContent = form.dataset.error;
form.querySelector(':invalid')?.focus();
return;
}
status.textContent = form.dataset.success;
form.reset();
});
});
document.querySelectorAll('[data-current-year]').forEach((el) => { el.textContent = new Date().getFullYear(); });
(() => {
const items = document.querySelectorAll('[data-reveal]');
if (!items.length || !watchMotion) 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>
<!-- 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
Servicios profesionales
Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.