Gratis
Portada
Trichora Hero
A hero block extracted from the Trichora template, available in Tailwind CSS.
0
13
A hero block extracted from the Trichora template, available in Tailwind CSS.
<!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>Trichora Hero | Tailwind CSS UI Block</title>
<meta name="description" content="A hero block extracted from the Trichora template, available in Tailwind CSS.">
<meta name="keywords" content="Trichora, Tailwind CSS template, HTML website template, health template, hair health, scalp analysis, hair app, trichology, hair care routine, beauty tech">
<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="Trichora | Tailwind CSS Health Template">
<meta property="og:description" content="A warm Tailwind CSS scalp and hair analysis app template with a live analysis demo, density map, plan tabs and testimonials.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Trichora template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Trichora | Tailwind CSS Health Template">
<meta name="twitter:description" content="A warm Tailwind CSS scalp and hair analysis app template with a live analysis demo, density map, plan tabs and testimonials.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Trichora 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=Hanken+Grotesk:wght@300;400;500;600&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: { bark: '#2a2016', coal: '#151310', umber: { DEFAULT: '#8d6a3f', light: '#b48c5c' }, linen: '#ece6dc', fog: '#f4f3f1' },
fontFamily: { sans: ['"Hanken Grotesk"', '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; }
.ticks { background-image: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 14px); }
.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-bark font-sans text-coal antialiased">
<!-- block:start hero -->
<section class="relative overflow-hidden px-5 pb-16 pt-6 md:px-10">
<div class="grid gap-8 lg:grid-cols-[1fr_1.1fr_.7fr] lg:items-start">
<div class="relative z-10 flex flex-col">
<h1 class="text-5xl font-medium leading-[1.02] tracking-tight md:text-6xl">Your scalp <span class="text-umber">keeps a record.</span> Now <span class="text-umber">you can</span> read it.</h1>
<p class="mt-10 max-w-xs text-sm text-coal/70 lg:mt-24">Scalp analysis from a phone photo, follicle tracking and routines built around what your hair actually needs, not what is trending.</p>
<div class="mt-6 flex flex-wrap items-center gap-5 text-sm">
<a href="pricing.html" class="bg-umber px-5 py-3 text-white transition hover:bg-coal">Scan your scalp</a>
<a href="#demo" class="flex items-center gap-2 font-medium underline underline-offset-4"><i class="fa-solid fa-play text-xs" aria-hidden="true"></i>See how it works</a>
</div>
</div>
<figure class="relative mx-auto h-[26rem] w-full max-w-md md:h-[32rem]">
<img src="https://images.unsplash.com/photo-1519699047748-de8e457a634e?auto=format&fit=crop&w=800&h=1000&q=75" alt="Young woman with full natural curly hair looking to the side" class="h-full w-full object-cover [mask-image:linear-gradient(to_bottom,black_70%,transparent)]">
<figcaption class="absolute top-10 right-4 w-32 bg-coal/25 p-3 text-sm leading-tight text-white backdrop-blur-md"><span class="block">Scalp moisture</span><span class="text-xs text-white/80">Low</span></figcaption>
<figcaption class="absolute top-1/2 left-4 w-32 bg-coal/25 p-3 text-sm leading-tight text-white backdrop-blur-md"><span class="block">Curl pattern</span><span class="text-xs text-white/80">4A</span></figcaption>
<figcaption class="absolute bottom-28 right-6 w-32 bg-coal/25 p-3 text-sm leading-tight text-white backdrop-blur-md"><span class="block">Breakage risk</span><span class="text-xs text-white/80">Mild</span></figcaption>
</figure>
<div class="text-sm lg:pt-28">
<p class="flex items-center gap-2"><span class="flex -space-x-2"><img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-3.jpg" alt="" class="h-7 w-7 rounded-full border-2 border-white object-cover"><img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-5.jpg" alt="" class="h-7 w-7 rounded-full border-2 border-white object-cover"><img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-7.jpg" alt="" class="h-7 w-7 rounded-full border-2 border-white object-cover"><img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-9.jpg" alt="" class="h-7 w-7 rounded-full border-2 border-white object-cover"></span><span class="font-semibold">4.8 / 5</span></p>
<p class="mt-2 font-medium">More than <span class="text-umber">140,000</span> scalps analysed</p>
<p class="text-coal/60">Read by people who wanted answers, not another bottle.</p>
</div>
</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-steps]').forEach((root) => {
const steps = [...root.querySelectorAll('[data-step]')];
steps.forEach((step) => step.addEventListener('click', () => steps.forEach((other) => other.setAttribute('aria-pressed', String(other === step)))));
});
document.querySelectorAll('[data-demo]').forEach((root) => {
const readings = [...root.querySelectorAll('[data-reading-value]')];
const time = root.querySelector('[data-demo-time]');
const phase = root.querySelector('[data-demo-phase]');
const label = root.querySelector('[data-demo-label]');
const phases = ['Capturing image', 'Mapping follicles', 'Reading oil balance', 'Scoring density'];
let timer;
const show = (count) => readings.forEach((value, i) => { value.textContent = i < count ? value.dataset.value : '—'; value.parentElement.classList.toggle('border-umber-light', i < count); });
const finish = () => { clearInterval(timer); time.textContent = '03:00'; phase.textContent = 'Analysis complete'; label.textContent = 'Run again'; show(readings.length); };
root.querySelector('[data-demo-play]').addEventListener('click', () => {
clearInterval(timer);
show(0);
if (reducedMotion || navigator.webdriver) { finish(); return; }
let seconds = 0;
label.textContent = 'Analysing…';
timer = setInterval(() => {
seconds += 15;
const step = Math.min(3, Math.floor(seconds / 45));
time.textContent = `0${Math.floor(seconds / 60)}:${String(seconds % 60).padStart(2, '0')}`;
phase.textContent = phases[step];
show(Math.floor(seconds / 45));
if (seconds >= 180) finish();
}, 250);
});
});
document.querySelectorAll('[data-plans]').forEach((root) => {
const tabs = [...root.querySelectorAll('[role="tab"]')];
const select = (tab, focus) => {
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; });
if (focus) tab.focus();
};
tabs.forEach((tab, i) => {
tab.addEventListener('click', () => select(tab));
tab.addEventListener('keydown', (event) => {
if (event.key === 'ArrowDown') { event.preventDefault(); select(tabs[(i + 1) % tabs.length], true); }
if (event.key === 'ArrowUp') { event.preventDefault(); select(tabs[(i - 1 + tabs.length) % tabs.length], true); }
});
});
});
document.querySelectorAll('[data-quotes]').forEach((root) => {
const quotes = [...root.querySelectorAll('[data-quote]')];
let current = 0;
const show = (index) => {
current = (index + quotes.length) % quotes.length;
quotes.forEach((quote, i) => { quote.hidden = i !== current; });
root.querySelector('[data-quote-index]').textContent = current + 1;
};
root.querySelector('[data-quote-prev]').addEventListener('click', () => show(current - 1));
root.querySelector('[data-quote-next]').addEventListener('click', () => show(current + 1));
});
document.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;
button.querySelector('svg, i')?.classList.toggle('rotate-45', !open);
}));
document.querySelectorAll('[data-back-top]').forEach((link) => link.addEventListener('click', (event) => { event.preventDefault(); scrollTo({ top: 0, behavior: reducedMotion ? 'auto' : 'smooth' }); }));
document.querySelectorAll('[data-news-form]').forEach((form) => {
const status = form.parentElement.querySelector('[data-form-status]');
form.addEventListener('submit', (event) => {
event.preventDefault();
const email = form.querySelector('[name="email"]');
if (!email.value.trim() || !email.checkValidity()) { status.textContent = 'Please enter a valid email address.'; email.focus(); return; }
status.textContent = `Subscribed. The next letter goes to ${email.value}.`;
form.reset();
});
});
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>
<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>
Salud y fitness
Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.