Free
Call to action
Ardentry Call to action
A call to action block extracted from the Ardentry template, available in Tailwind CSS.
0
24
A call to action block extracted from the Ardentry template, available in Tailwind CSS.
Free download · up to 5 blocks per day. Unlimited with 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>Ardentry Call to action | Tailwind CSS UI Block</title>
<meta name="description" content="A call to action block extracted from the Ardentry template, available in Tailwind CSS.">
<meta name="keywords" content="Ardentry, Tailwind CSS template, HTML website template, agency template, advertising agency website, creative studio, branding agency, portfolio case study, offices page, multi-step contact form">
<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="Ardentry | Tailwind CSS Agency Template">
<meta property="og:description" content="An editorial Tailwind CSS agency template with a cut-out collage hero, a draggable work rail and a hover services list.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Ardentry template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Ardentry | Tailwind CSS Agency Template">
<meta name="twitter:description" content="An editorial Tailwind CSS agency template with a cut-out collage hero, a draggable work rail and a hover services list.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Ardentry 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=Lexend:wght@300;400;500&family=Inter:wght@400;500&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: { paper: '#f3f1ec', ink: { DEFAULT: '#1c1c1c', soft: '#2a2a2a' }, flame: { DEFAULT: '#e8461e', dark: '#c9370f', soft: '#fbe3da' } },
fontFamily: { sans: ['Inter', 'sans-serif'], display: ['Lexend', '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; }
.blob { border-radius: 42% 58% 63% 37% / 46% 38% 62% 54%; }
.blob-img { transition: opacity .45s ease, transform .45s ease; }
.spin-slow { animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.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; }
.spin-slow { animation: none; }
.blob-img { transition: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
</style>
</head>
<body class="bg-paper font-sans text-ink antialiased">
<!-- block:start cta -->
<section class="px-3 pt-10 md:px-6">
<div class="mx-auto max-w-[84rem] rounded-t-[2.5rem] bg-ink px-6 pb-4 pt-12 text-white md:rounded-t-[4rem] md:px-12 md:pt-16">
<div class="grid items-center gap-8 border-y border-white/20 py-12 md:grid-cols-[1fr_auto]">
<h2 class="font-display text-5xl leading-[1.08] tracking-[-0.03em] md:text-7xl md:border-r md:border-white/20 md:pr-12">Ready to make <span class="text-flame">noise</span> together?</h2>
<a href="contact.html" class="group w-fit rounded-[2.25rem] bg-ink p-2">
<span class="relative flex h-24 w-44 items-center rounded-[2rem] bg-flame px-6 font-display text-2xl leading-tight ring-2 ring-inset ring-white/70 transition group-hover:bg-white group-hover:text-ink md:h-28 md:w-52">Get<br>started!<i class="fa-solid fa-asterisk spin-slow absolute right-5 top-4 text-2xl" aria-hidden="true"></i></span>
</a>
</div>
</div>
</section>
<!-- block:end cta -->
<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-rail-root]').forEach((root) => {
const rail = root.querySelector('[data-rail]');
const step = () => (rail.firstElementChild ? rail.firstElementChild.getBoundingClientRect().width + 24 : 300);
root.querySelector('[data-rail-prev]').addEventListener('click', () => rail.scrollBy({ left: -step(), behavior: reducedMotion ? 'auto' : 'smooth' }));
root.querySelector('[data-rail-next]').addEventListener('click', () => rail.scrollBy({ left: step(), behavior: reducedMotion ? 'auto' : 'smooth' }));
rail.addEventListener('keydown', (event) => { if (event.key === 'ArrowRight') rail.scrollBy({ left: step() }); if (event.key === 'ArrowLeft') rail.scrollBy({ left: -step() }); });
let startX = 0; let startScroll = 0; let dragging = false; let moved = false;
rail.addEventListener('pointerdown', (event) => { if (event.pointerType !== 'mouse') return; dragging = true; moved = false; startX = event.clientX; startScroll = rail.scrollLeft; rail.style.scrollSnapType = 'none'; });
addEventListener('pointermove', (event) => { if (!dragging) return; const dx = event.clientX - startX; if (Math.abs(dx) > 5) moved = true; rail.scrollLeft = startScroll - dx; });
addEventListener('pointerup', () => { if (!dragging) return; dragging = false; rail.style.scrollSnapType = ''; });
rail.addEventListener('click', (event) => { if (moved) { event.preventDefault(); moved = false; } }, true);
});
document.querySelectorAll('[data-services]').forEach((root) => {
const links = [...root.querySelectorAll('[data-service]')];
const activate = (index) => {
links.forEach((link, i) => {
const on = i === index;
link.querySelector('[data-service-name]').classList.toggle('text-flame', on);
link.querySelector('[data-service-name]').classList.toggle('text-ink/35', !on);
link.querySelector('[data-service-num]').classList.toggle('text-flame', on);
link.querySelector('[data-service-num]').classList.toggle('text-ink/40', !on);
link.parentElement.querySelector('[data-service-text]').classList.toggle('hidden', !on);
});
root.querySelectorAll('[data-service-photo]').forEach((photo, i) => { photo.classList.toggle('opacity-100', i === index); photo.classList.toggle('opacity-0', i !== index); photo.classList.toggle('rotate-6', i !== index); });
};
links.forEach((link, i) => { link.addEventListener('mouseenter', () => activate(i)); link.addEventListener('focus', () => activate(i)); });
});
document.querySelectorAll('[data-count]').forEach((el) => {
if (!watchMotion) return;
const target = Number(el.dataset.count);
const observer = new IntersectionObserver(([entry]) => {
if (!entry.isIntersecting) return;
observer.disconnect();
const start = performance.now();
const tick = (now) => { const t = Math.min(1, (now - start) / 700); el.textContent = Math.round(target * t); if (t < 1) requestAnimationFrame(tick); };
requestAnimationFrame(tick);
});
observer.observe(el);
});
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
Agency
Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.
Tailwind CSS · HTML download