Gratis
Portada
Ascendia Hero
A hero block extracted from the Ascendia template, available in Tailwind CSS.
0
10
A hero block extracted from the Ascendia 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>Ascendia Hero | Tailwind CSS UI Block</title>
<meta name="description" content="A hero block extracted from the Ascendia template, available in Tailwind CSS.">
<meta name="keywords" content="Ascendia, Tailwind CSS template, HTML website template, blog template, online magazine, women founders, entrepreneurship blog, editorial, events, newsletter">
<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="Ascendia | Tailwind CSS Blog Template">
<meta property="og:description" content="A bold editorial Tailwind CSS magazine template with a side navigation, filterable stories, a day-rate calculator and article pages.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Ascendia template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Ascendia | Tailwind CSS Blog Template">
<meta name="twitter:description" content="A bold editorial Tailwind CSS magazine template with a side navigation, filterable stories, a day-rate calculator and article pages.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Ascendia 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=League+Spartan:wght@500;700;800&family=DM+Sans:wght@400;500;700&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: { salmon: { DEFAULT: '#f7979a', soft: '#fde3df' }, teal: { DEFAULT: '#06292c', soft: '#123c40' }, cream: '#fff6ef', mustard: '#f2b84b' },
fontFamily: { display: ['"League Spartan"', 'sans-serif'], sans: ['"DM Sans"', '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; } }
@keyframes ticker { to { transform: translateX(-50%); } }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.ticker { animation: ticker 40s linear infinite; }
.ticker:hover { animation-play-state: paused; }
.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; }
.ticker { animation: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
</style>
</head>
<body class="bg-cream font-sans text-teal antialiased lg:pl-56">
<!-- block:start hero -->
<section class="bg-salmon">
<div class="mx-auto grid max-w-6xl gap-12 px-5 pb-20 pt-10 md:px-10 lg:grid-cols-[1.2fr_1fr] lg:items-center lg:pt-20">
<div>
<p class="font-display text-sm font-bold uppercase tracking-[.2em] text-white" data-reveal>Issue 14 · Spring</p>
<h1 class="mt-5 font-display text-6xl font-extrabold uppercase leading-[.9] tracking-tight md:text-8xl" data-reveal style="--reveal-delay: 80ms">Look up.<br>Build up.</h1>
<p class="mt-8 max-w-lg text-lg leading-relaxed" data-reveal style="--reveal-delay: 160ms">Honest stories, playbooks and numbers from women building companies on their own terms. Fewer slogans, more spreadsheets.</p>
<div class="mt-8 flex flex-wrap gap-3" data-reveal style="--reveal-delay: 220ms">
<a href="stories.html" class="bg-teal px-7 py-4 font-display text-sm font-bold uppercase tracking-wider text-white transition hover:bg-white hover:text-teal">Read the issue</a>
<a href="#newsletter" class="border-2 border-teal px-7 py-4 font-display text-sm font-bold uppercase tracking-wider transition hover:bg-teal hover:text-white">Get it weekly</a>
</div>
</div>
<div class="relative mx-auto w-full max-w-md pr-6 pt-6">
<div class="absolute right-0 top-0 h-[85%] w-[85%] bg-teal" aria-hidden="true"></div>
<img src="https://images.unsplash.com/photo-1589156280159-27698a70f29e?auto=format&fit=crop&w=800&h=1000&q=80" alt="Woman looking up at the city skyline at dusk" class="relative aspect-[4/5] w-full object-cover">
<p class="absolute -bottom-5 left-4 bg-mustard px-4 py-2 font-display text-sm font-bold uppercase tracking-wider">Cover: Imani Cole, founder</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-latest]').forEach((root) => {
const tabs = [...root.querySelectorAll('[role="tab"]')];
const items = [...root.querySelectorAll('[data-post-topic]')];
const select = (tab, focus) => {
tabs.forEach((other) => { const on = other === tab; other.setAttribute('aria-selected', String(on)); other.tabIndex = on ? 0 : -1; });
let shown = 0;
items.forEach((item) => { item.hidden = tab.dataset.topic !== 'all' && item.dataset.postTopic !== tab.dataset.topic; if (!item.hidden) shown += 1; });
root.querySelector('[data-post-count]').textContent = shown;
if (focus) tab.focus();
};
tabs.forEach((tab, i) => {
tab.addEventListener('click', () => select(tab));
tab.addEventListener('keydown', (event) => {
if (event.key === 'ArrowRight') select(tabs[(i + 1) % tabs.length], true);
if (event.key === 'ArrowLeft') select(tabs[(i - 1 + tabs.length) % tabs.length], true);
});
});
});
document.querySelectorAll('[data-rate]').forEach((root) => {
const inputs = Object.fromEntries([...root.querySelectorAll('[data-rate-input]')].map((input) => [input.dataset.rateInput, input]));
const money = (value) => `$${Math.round(value).toLocaleString('en-US')}`;
const update = () => {
Object.values(inputs).forEach((input) => {
const value = Number(input.value);
root.querySelector(`[data-rate-out="${input.dataset.rateInput}"]`).textContent = input.dataset.prefix ? money(value) : value;
});
const days = Number(inputs.weeks.value) * Number(inputs.days.value);
const revenue = Number(inputs.income.value) / 0.75 + Number(inputs.costs.value);
root.querySelector('[data-rate-days]').textContent = days;
root.querySelector('[data-rate-revenue]').textContent = money(revenue);
root.querySelector('[data-rate-day]').textContent = money(revenue / days);
};
Object.values(inputs).forEach((input) => input.addEventListener('input', update));
update();
});
document.querySelectorAll('[data-writers]').forEach((root) => {
const track = root.querySelector('[data-writers-track]');
const chips = [...root.querySelectorAll('[data-beat]')];
const step = () => (track.firstElementChild?.getBoundingClientRect().width || 256) + 20;
const behavior = () => (reducedMotion ? 'auto' : 'smooth');
root.querySelector('[data-writers-prev]').addEventListener('click', () => track.scrollBy({ left: -step(), behavior: behavior() }));
root.querySelector('[data-writers-next]').addEventListener('click', () => track.scrollBy({ left: step(), behavior: behavior() }));
chips.forEach((chip) => chip.addEventListener('click', () => {
chips.forEach((other) => other.setAttribute('aria-pressed', String(other === chip)));
root.querySelectorAll('[data-writer-beat]').forEach((item) => { item.hidden = chip.dataset.beat !== 'all' && item.dataset.writerBeat !== chip.dataset.beat; });
track.scrollTo({ left: 0 });
}));
});
document.querySelectorAll('[data-rsvp]').forEach((root) => {
root.querySelectorAll('[data-rsvp-button]').forEach((button) => button.addEventListener('click', () => {
const going = button.getAttribute('aria-pressed') !== 'true';
button.setAttribute('aria-pressed', String(going));
button.textContent = going ? 'Going ✓' : 'RSVP';
button.closest('li').querySelector('[data-seats]').textContent = `${Number(button.dataset.left) - (going ? 1 : 0)} seats left`;
}));
});
document.querySelectorAll('[data-newsletter]').forEach((form) => {
const status = form.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; }
const topics = new FormData(form).getAll('topics');
status.textContent = `You're in. First issue this Sunday${topics.length ? `, with extra ${topics.join(' and ').toLowerCase()}` : ''}.`;
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>
Blog
Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.