Gratis
Newsletter
Ironvale Newsletter
A newsletter block extracted from the Ironvale template, available in Tailwind CSS.
0
26
A newsletter block extracted from the Ironvale 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>Ironvale Newsletter | Tailwind CSS UI Block</title>
<meta name="description" content="A newsletter block extracted from the Ironvale template, available in Tailwind CSS.">
<meta name="keywords" content="Ironvale, Tailwind CSS template, HTML website template, fitness blog, gym magazine, workout articles, nutrition blog, responsive bento blog design">
<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="Ironvale | Tailwind CSS Fitness Blog Template">
<meta property="og:description" content="A bold Tailwind CSS fitness blog template for gyms, coaches, and wellness writers publishing training guides, nutrition tips, and video tutorials.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Ironvale template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Ironvale | Tailwind CSS Fitness Blog Template">
<meta name="twitter:description" content="A bold Tailwind CSS fitness blog template for gyms, coaches, and wellness writers publishing training guides, nutrition tips, and video tutorials.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Ironvale template preview">
<script src="https://cdn.tailwindcss.com/3.4.17"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
ink: '#111111',
frame: '#eef0e6',
smoke: '#efefeb',
line: '#e8e8e4',
citrus: { DEFAULT: '#e2f5b5', deep: '#c6ea68' },
mist: { DEFAULT: '#cfe1f0', deep: '#b2cde6' },
lilac: { DEFAULT: '#cdb8f0', deep: '#b59bea' },
butter: { DEFAULT: '#fdf6c8', deep: '#f6e27b' }
},
fontFamily: {
display: ['"Archivo Black"', 'Archivo', 'sans-serif'],
sans: ['Archivo', 'ui-sans-serif', 'system-ui', '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; }
}
.notch-corner {
position: absolute;
width: 22px;
height: 22px;
pointer-events: none;
}
.nc-bl { background: radial-gradient(circle at 100% 0, transparent 21.5px, #fff 22px); }
.nc-tr { background: radial-gradient(circle at 0 100%, transparent 21.5px, #fff 22px); }
.nc-br { background: radial-gradient(circle at 0 0, transparent 21.5px, #fff 22px); }
.rings {
background-image: repeating-radial-gradient(circle at 72% 36%, transparent 0 30px, rgba(255, 255, 255, 0.42) 30px 32px);
}
.fade-top {
-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
}
.marquee-track {
animation: marquee 32s linear infinite;
}
@keyframes marquee {
to { transform: translateX(-50%); }
}
.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) {
::view-transition-old(root),
::view-transition-new(root) {
animation: none;
}
.marquee-track { animation: none; }
}
</style>
</head>
<body class="bg-frame font-sans text-ink antialiased lg:p-4">
<!-- block:start newsletter -->
<section id="newsletter" class="px-4 pt-20 sm:px-6 lg:px-10 lg:pt-28">
<div class="rings grid items-center gap-10 overflow-hidden rounded-[28px] bg-citrus px-6 py-12 sm:px-10 lg:grid-cols-[1.15fr_1fr] lg:px-14 lg:py-16" data-reveal>
<div>
<p class="inline-flex items-center gap-2 rounded-full bg-white px-4 py-2 text-xs font-bold uppercase tracking-wider">
<i class="fa-solid fa-envelope-open-text"></i>
The Sunday Sweat
</p>
<h2 class="mt-5 font-display text-3xl uppercase leading-[1.05] tracking-tight sm:text-4xl lg:text-5xl">Fresh training notes in your inbox every Sunday</h2>
<p class="mt-5 max-w-lg text-base leading-relaxed text-ink/75">One short email with the week's best story, a coach-built workout and a recipe worth cooking. No spam, unsubscribe in one click.</p>
<div class="mt-6 flex items-center gap-3">
<div class="flex -space-x-3">
<img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-1.jpg" alt="Subscriber portrait" class="h-10 w-10 rounded-full border-2 border-citrus object-cover">
<img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-2.jpg" alt="Subscriber portrait" class="h-10 w-10 rounded-full border-2 border-citrus object-cover">
<img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-6.jpg" alt="Subscriber portrait" class="h-10 w-10 rounded-full border-2 border-citrus object-cover">
<img src="https://storage.googleapis.com/uxpilot-auth.appspot.com/avatars/avatar-9.jpg" alt="Subscriber portrait" class="h-10 w-10 rounded-full border-2 border-citrus object-cover">
</div>
<p class="text-sm"><span class="font-bold">18,400+</span> readers already training with us</p>
</div>
</div>
<form data-newsletter class="rounded-[26px] bg-white p-5 sm:p-6">
<label for="newsletter-email" class="text-sm font-bold">Email address</label>
<div class="mt-3 flex flex-col gap-2 sm:flex-row">
<input id="newsletter-email" type="email" required placeholder="you@example.com" class="h-14 min-w-0 flex-1 rounded-full border border-line bg-smoke px-6 text-sm outline-none focus:border-ink">
<button type="submit" class="h-14 rounded-full bg-ink px-7 text-sm font-bold text-white transition-colors hover:bg-black/80">Subscribe</button>
</div>
<fieldset class="mt-5">
<legend class="text-sm font-bold">I want to hear about</legend>
<div class="mt-3 flex flex-wrap gap-2">
<label class="cursor-pointer">
<input type="checkbox" class="peer sr-only" checked>
<span class="block rounded-full bg-butter px-4 py-2 text-sm transition-colors peer-checked:bg-ink peer-checked:text-white peer-focus-visible:ring-2 peer-focus-visible:ring-ink">Strength</span>
</label>
<label class="cursor-pointer">
<input type="checkbox" class="peer sr-only" checked>
<span class="block rounded-full bg-butter px-4 py-2 text-sm transition-colors peer-checked:bg-ink peer-checked:text-white peer-focus-visible:ring-2 peer-focus-visible:ring-ink">Running</span>
</label>
<label class="cursor-pointer">
<input type="checkbox" class="peer sr-only" >
<span class="block rounded-full bg-butter px-4 py-2 text-sm transition-colors peer-checked:bg-ink peer-checked:text-white peer-focus-visible:ring-2 peer-focus-visible:ring-ink">Nutrition</span>
</label>
<label class="cursor-pointer">
<input type="checkbox" class="peer sr-only" >
<span class="block rounded-full bg-butter px-4 py-2 text-sm transition-colors peer-checked:bg-ink peer-checked:text-white peer-focus-visible:ring-2 peer-focus-visible:ring-ink">Recovery</span>
</label>
</div>
</fieldset>
<p data-newsletter-success role="status" class="mt-4 hidden rounded-2xl bg-citrus px-4 py-3 text-sm font-semibold">
<i class="fa-solid fa-circle-check mr-1"></i>
You're in! Check your inbox to confirm.
</p>
</form>
</div>
</section>
<!-- block:end newsletter -->
<script>
document.querySelectorAll("[data-menu-toggle]").forEach((button) => {
const menu = document.getElementById(button.getAttribute("aria-controls"));
if (!menu) return;
button.addEventListener("click", () => {
const open = button.getAttribute("aria-expanded") === "true";
button.setAttribute("aria-expanded", String(!open));
button.setAttribute("aria-label", open ? "Open menu" : "Close menu");
menu.classList.toggle("hidden", open);
});
});
(() => {
const items = document.querySelectorAll("[data-reveal]");
const skip = navigator.webdriver || !("IntersectionObserver" in window) || matchMedia("(prefers-reduced-motion: reduce)").matches;
if (!items.length || skip) 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));
})();
document.querySelectorAll("[data-filter-group]").forEach((group) => {
const items = group.closest("section").querySelectorAll("[data-filter-items] [data-category]");
const activeClasses = ["bg-ink", "text-white"];
const idleClasses = ["bg-smoke", "hover:bg-citrus"];
group.addEventListener("click", (event) => {
const button = event.target.closest("[data-filter]");
if (!button) return;
const filter = button.dataset.filter;
group.querySelectorAll("[data-filter]").forEach((chip) => {
const active = chip === button;
chip.setAttribute("aria-pressed", String(active));
activeClasses.forEach((cls) => chip.classList.toggle(cls, active));
idleClasses.forEach((cls) => chip.classList.toggle(cls, !active));
});
items.forEach((item) => {
const match = filter === "all" || item.dataset.category.split(" ").includes(filter);
item.hidden = !match;
});
});
});
document.querySelectorAll("[data-video-tabs]").forEach((root) => {
const link = root.querySelector("[data-video-link]");
const image = root.querySelector("[data-video-image]");
const title = root.querySelector("[data-video-title]");
const meta = root.querySelector("[data-video-meta]");
const tabs = [...root.querySelectorAll("[data-video-tab]")];
const select = (tab) => {
tabs.forEach((item) => item.setAttribute("aria-selected", String(item === tab)));
link.href = tab.dataset.href;
image.src = tab.dataset.image;
image.alt = tab.dataset.alt;
title.textContent = tab.dataset.title;
meta.textContent = tab.dataset.meta;
};
tabs.forEach((tab, index) => {
tab.addEventListener("click", () => select(tab));
tab.addEventListener("keydown", (event) => {
if (!["ArrowDown", "ArrowUp", "ArrowRight", "ArrowLeft"].includes(event.key)) return;
event.preventDefault();
const step = ["ArrowDown", "ArrowRight"].includes(event.key) ? 1 : -1;
const next = tabs[(index + step + tabs.length) % tabs.length];
next.focus();
select(next);
});
});
});
document.querySelectorAll("[data-newsletter]").forEach((form) => {
form.addEventListener("submit", (event) => {
event.preventDefault();
form.querySelector("[data-newsletter-success]")?.classList.remove("hidden");
form.reset();
});
});
</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
Blog
Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.
Tailwind CSS · HTML download
Si no empieza, haz clic aquí.
¿Te gustan nuestras plantillas gratis?
Una pequeña propina nos ayuda a seguir añadiendo nuevas cada semana.
Invítanos a un café