Free
Call to action
Farthing Call to action
A call to action block extracted from the Farthing template, available in Tailwind CSS.
0
7
A call to action block extracted from the Farthing 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>Farthing Call to action | Tailwind CSS UI Block</title>
<meta name="description" content="A call to action block extracted from the Farthing template, available in Tailwind CSS.">
<meta name="keywords" content="Farthing, Tailwind CSS template, HTML website template, fintech template, business account website, payments landing page, neobank template, dark template, pricing page, free template">
<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="Farthing | Tailwind CSS Fintech Template">
<meta property="og:description" content="A dark Tailwind CSS fintech template with edge-to-edge neon photos, heavy headlines, a takings splitter and features, pricing and contact pages.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Farthing template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Farthing | Tailwind CSS Fintech Template">
<meta name="twitter:description" content="A dark Tailwind CSS fintech template with edge-to-edge neon photos, heavy headlines, a takings splitter and features, pricing and contact pages.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Farthing 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=Montserrat:wght@400;500;600;800&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
ink: { DEFAULT: '#0e0e10', soft: '#19191d', line: '#2c2c33' },
navy: '#0c2152',
fog: '#a9a9b4',
amber: '#ffb21a',
flame: '#ff5a1f',
pink: '#ff2d78',
violet: '#7a3cff',
cyan: '#1fd6e6'
},
fontFamily: {
sans: ['Montserrat', 'sans-serif']
}
}
}
}
</script>
<style>
@view-transition { navigation: auto; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.neon { background: linear-gradient(180deg, #ff2d78 0%, #ff5a1f 45%, #ffb21a 100%); }
.neon-text { background: linear-gradient(90deg, #ffb21a, #ff5a1f 45%, #ff2d78); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cell { aspect-ratio: 1; background: #232329; transition: background-color .3s ease, box-shadow .3s ease; }
.cell[data-kind="yours"] { background: #ffb21a; box-shadow: 0 0 12px rgba(255, 178, 26, .45); }
.cell[data-kind="tax"] { background: #ff2d78; box-shadow: 0 0 12px rgba(255, 45, 120, .45); }
.cell[data-kind="tips"] { background: #7a3cff; box-shadow: 0 0 12px rgba(122, 60, 255, .45); }
.cell[data-kind="fee"] { background: #1fd6e6; box-shadow: 0 0 12px rgba(31, 214, 230, .45); }
input[type=range] { accent-color: #ff5a1f; }
.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) { .cell { transition: none; } }
</style>
</head>
<body class="bg-ink font-sans text-white antialiased">
<!-- block:start cta -->
<section class="relative overflow-hidden">
<div class="neon absolute inset-0" aria-hidden="true"></div>
<div class="absolute inset-0 opacity-40" style="background-image: linear-gradient(#0e0e10 2px, transparent 2px), linear-gradient(90deg, #0e0e10 2px, transparent 2px); background-size: 56px 56px" aria-hidden="true"></div>
<div class="relative mx-auto max-w-[1500px] px-6 py-28 md:px-12 md:py-40">
<h2 class="max-w-4xl text-5xl font-extrabold leading-[1.02] text-ink md:text-8xl">Cash up with nothing owed.</h2>
<div class="mt-10 flex flex-wrap items-center gap-6">
<a href="pricing.html" class="rounded-full bg-ink px-8 py-4 font-semibold text-white hover:bg-navy">Open an account</a>
<p class="font-semibold text-ink">Free for your first three months.</p>
</div>
</div>
</section>
<!-- block:end cta -->
<script>
// Mobile menu
(() => {
const toggle = document.querySelector("[data-menu-toggle]");
const menu = document.getElementById("mobile-menu");
if (!toggle || !menu) return;
toggle.addEventListener("click", () => {
const open = toggle.getAttribute("aria-expanded") === "true";
toggle.setAttribute("aria-expanded", String(!open));
toggle.setAttribute("aria-label", open ? "Open menu" : "Close menu");
menu.hidden = open;
});
})();
// Takings splitter: each cell is one percent
document.querySelectorAll("[data-splitter]").forEach((root) => {
const takings = root.querySelector("[data-takings]");
const tips = root.querySelector("[data-tips]");
const rates = [...root.querySelectorAll("[data-tax]")];
const cells = [...root.querySelectorAll("[data-cells] .cell")];
const euro = (value) => "€" + Math.round(value).toLocaleString("en-US");
const update = () => {
const total = Number(takings.value);
const tax = Number(rates.find((button) => button.getAttribute("aria-pressed") === "true").dataset.tax);
const share = { fee: 1, tips: tips.checked ? 5 : 0, tax };
share.yours = 100 - share.fee - share.tips - share.tax;
cells.forEach((cell, index) => {
cell.dataset.kind = index < share.yours ? "yours" : index < share.yours + share.tax ? "tax" : index < share.yours + share.tax + share.tips ? "tips" : "fee";
});
root.querySelector("[data-takings-label]").textContent = euro(total);
Object.entries(share).forEach(([kind, percent]) => { root.querySelector(`[data-amount="${kind}"]`).textContent = euro(total * percent / 100); });
root.querySelector('[data-row="tips"]').classList.toggle("opacity-40", !tips.checked);
};
rates.forEach((button) => button.addEventListener("click", () => {
rates.forEach((other) => other.setAttribute("aria-pressed", String(other === button)));
update();
}));
takings.addEventListener("input", update);
tips.addEventListener("change", update);
update();
});
// Like buttons
document.querySelectorAll("[data-like]").forEach((button) => {
button.addEventListener("click", () => {
const liked = button.getAttribute("aria-pressed") !== "true";
button.setAttribute("aria-pressed", String(liked));
button.querySelector("[data-like-count]").textContent = Number(button.dataset.likes) + (liked ? 1 : 0);
});
});
// Scroll reveal
(() => {
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));
})();
</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>
Finance & Fintech
Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.