Free
Navbar
Keelson Navbar
A navbar block extracted from the Keelson template, available in Tailwind CSS.
0
5
A navbar block extracted from the Keelson 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>Keelson Navbar | Tailwind CSS UI Block</title>
<meta name="description" content="A navbar block extracted from the Keelson template, available in Tailwind CSS.">
<meta name="keywords" content="Keelson, Tailwind CSS template, HTML website template, consulting template, management consulting, strategy firm, advisory, operations consulting, case studies, professional services website">
<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="Keelson | Tailwind CSS Consulting Template">
<meta property="og:description" content="A bold Tailwind CSS consulting template with a giant letterform hero, an engagement finder quiz, case studies and insights.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Keelson template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Keelson | Tailwind CSS Consulting Template">
<meta name="twitter:description" content="A bold Tailwind CSS consulting template with a giant letterform hero, an engagement finder quiz, case studies and insights.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Keelson 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=Gloock&family=Manrope:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: { ink: { DEFAULT: '#15233b', soft: '#1f3150', line: '#33466a' }, coral: { DEFAULT: '#e35b4b', deep: '#c94434', soft: '#f7d5ce' }, paper: '#f5f0e8', mist: '#c9d1de' },
fontFamily: { serif: ['Gloock', 'serif'], sans: ['Manrope', '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; }
.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; }
.scroll-cue { animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
[data-story-step][aria-current="step"] .story-index { color: #e35b4b; }
.finder-chip:has(input:checked) { background: #e35b4b; border-color: #e35b4b; color: #fff; }
.finder-chip:has(input:focus-visible) { outline: 2px solid #f7d5ce; outline-offset: 2px; }
[data-orbit-node][aria-selected="true"] { background: #e35b4b; border-color: #e35b4b; color: #fff; }
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
.scroll-cue { animation: none; }
}
</style>
</head>
<body class="bg-paper font-sans text-ink antialiased">
<!-- preview canvas: shows overlay navbars on the original hero surface -->
<div class="block-preview-canvas bg-ink" style="position:relative;min-height:12rem">
<!-- block:start navbar -->
<header class="absolute inset-x-0 top-0 z-30 text-white">
<nav class="mx-auto flex max-w-7xl items-center justify-between gap-6 px-5 py-6 md:px-10" aria-label="Main">
<a href="index.html" class="flex items-center gap-2 text-lg font-extrabold tracking-tight">
<span class="grid h-9 w-9 place-items-center rounded-full bg-coral font-serif text-xl leading-none">K</span>
Keelson
</a>
<div class="flex items-center gap-6">
<ul class="hidden items-center gap-7 text-sm md:flex">
<li><a href="services.html" class="underline-offset-8 transition hover:underline ">Services</a></li>
<li><a href="work.html" class="underline-offset-8 transition hover:underline ">Work</a></li>
<li><a href="about.html" class="underline-offset-8 transition hover:underline ">About</a></li>
<li><a href="insights.html" class="underline-offset-8 transition hover:underline ">Insights</a></li>
</ul>
<span class="hidden h-5 w-px bg-white/40 md:block" aria-hidden="true"></span>
<a href="contact.html" class="hidden rounded-full border border-white/50 px-5 py-2 text-sm font-semibold transition hover:border-coral hover:bg-coral md:inline-block">Book a call</a>
<button type="button" data-menu-toggle aria-controls="mobile-menu" aria-expanded="false" class="grid h-10 w-10 place-items-center rounded-full border border-white/40 md:hidden" aria-label="Open menu"><i class="fa-solid fa-bars" aria-hidden="true"></i></button>
</div>
</nav>
<div id="mobile-menu" class="mx-4 hidden rounded-3xl bg-ink-soft p-4 shadow-2xl md:hidden">
<ul class="grid gap-1">
<li><a href="services.html" class="block rounded-2xl px-4 py-3 text-2xl font-bold hover:bg-ink-line">Services</a></li>
<li><a href="work.html" class="block rounded-2xl px-4 py-3 text-2xl font-bold hover:bg-ink-line">Work</a></li>
<li><a href="about.html" class="block rounded-2xl px-4 py-3 text-2xl font-bold hover:bg-ink-line">About</a></li>
<li><a href="insights.html" class="block rounded-2xl px-4 py-3 text-2xl font-bold hover:bg-ink-line">Insights</a></li>
<li><a href="contact.html" class="mt-2 block rounded-2xl bg-coral px-4 py-3 text-center font-semibold">Book a call</a></li>
</ul>
</div>
</header>
<!-- block:end navbar -->
</div>
<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));
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));
})();
(() => {
const counters = document.querySelectorAll('[data-count-to]');
if (!counters.length || navigator.webdriver || matchMedia('(prefers-reduced-motion: reduce)').matches || !('IntersectionObserver' in window)) return;
const observer = new IntersectionObserver((entries) => {
entries.forEach(({ isIntersecting, target }) => {
if (!isIntersecting) return;
observer.unobserve(target);
const end = Number(target.dataset.countTo);
const suffix = target.dataset.countSuffix || '';
const start = performance.now();
const tick = (now) => {
const progress = Math.min((now - start) / 1200, 1);
target.textContent = Math.round(end * progress).toLocaleString() + suffix;
if (progress < 1) requestAnimationFrame(tick);
};
requestAnimationFrame(tick);
});
});
counters.forEach((counter) => observer.observe(counter));
})();
document.querySelectorAll('[data-scroll-story]').forEach((story) => {
const links = story.querySelectorAll('[data-story-link]');
if (!('IntersectionObserver' in window)) return;
const observer = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
if (!entry.isIntersecting) return;
story.querySelectorAll('[data-story-step]').forEach((step) => (step === entry.target ? step.setAttribute('aria-current', 'step') : step.removeAttribute('aria-current')));
links.forEach((link) => link.toggleAttribute('aria-current', link.getAttribute('href') === `#${entry.target.id}`));
});
}, { rootMargin: '-45% 0px -50% 0px' });
story.querySelectorAll('[data-story-step]').forEach((step) => observer.observe(step));
});
document.querySelectorAll('[data-finder]').forEach((form) => {
const root = form.closest('section');
const steps = [...form.querySelectorAll('[data-finder-step]')];
const progress = form.querySelector('[data-finder-progress]');
const bar = form.querySelector('[data-finder-bar]');
const weeks = form.querySelector('[data-finder-weeks]');
const plans = {
founder: { title: 'Founder Focus Sprint', text: 'A short, intense sprint that turns the founder’s head into a written plan and a first leadership team that can run it.', team: '2 partners', base: 38 },
scaling: { title: 'Scale-up Operating Review', text: 'A fast read of how work, money and decisions flow, ending in a ninety-day plan your leadership team owns.', team: '3 partners', base: 68 },
established: { title: 'Portfolio Strategy Reset', text: 'A board-level look at which businesses, markets and products deserve the next dollar, and which should be released.', team: '4 partners', base: 120 },
turnaround: { title: 'Ninety-Day Stabilisation', text: 'Cash first, then cost, then confidence. A war-room engagement with weekly decisions and an interim lead on site.', team: '3 + interim', base: 95 }
};
const shapes = {
margin: '120,70 200,120 120,160 40,120',
growth: '120,30 170,120 120,150 70,120',
structure: '120,80 160,120 120,205 80,120',
systems: '120,85 190,120 120,165 45,120'
};
const step = (index) => {
steps.forEach((fieldset, i) => { fieldset.hidden = i !== index; });
progress.setAttribute('aria-valuenow', String(index + 1));
bar.style.width = `${((index + 1) / steps.length) * 100}%`;
};
const update = () => {
const stage = form.querySelector('[name="stage"]:checked')?.value || 'scaling';
const pressure = form.querySelector('[name="pressure"]:checked')?.value || 'margin';
const plan = plans[stage];
const length = Math.max(4, Math.min(Number(weeks.value), stage === 'established' ? 16 : 12));
root.querySelector('[data-finder-title]').textContent = plan.title;
root.querySelector('[data-finder-text]').textContent = plan.text;
root.querySelector('[data-finder-team]').textContent = plan.team;
root.querySelector('[data-finder-length]').textContent = `${length} weeks`;
root.querySelector('[data-finder-price]').textContent = `$${Math.round(plan.base * (length / 8))}k`;
root.querySelector('[data-finder-shape]').setAttribute('points', shapes[pressure]);
form.querySelector('[data-finder-weeks-label]').textContent = weeks.value;
};
let current = 0;
form.addEventListener('click', (event) => {
if (event.target.closest('[data-finder-next]')) step(current = Math.min(current + 1, steps.length - 1));
if (event.target.closest('[data-finder-back]')) step(current = Math.max(current - 1, 0));
});
form.addEventListener('input', update);
form.addEventListener('change', update);
step(0);
update();
});
document.querySelectorAll('[data-orbit]').forEach((root) => {
root.addEventListener('click', (event) => {
const node = event.target.closest('[data-orbit-node]');
if (!node) return;
root.querySelectorAll('[data-orbit-node]').forEach((button) => button.setAttribute('aria-selected', String(button === node)));
root.querySelectorAll('[data-orbit-panel]').forEach((panel) => { panel.hidden = panel.dataset.orbitPanel !== node.dataset.orbitNode; });
});
});
</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>
Professional Services
Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.
Tailwind CSS · HTML download