Gratis
Menú de navegación
Pivotra Navbar
A navbar block extracted from the Pivotra template, available in Tailwind CSS.
0
85
A navbar block extracted from the Pivotra 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>Pivotra Navbar | Tailwind CSS UI Block</title>
<meta name="description" content="A navbar block extracted from the Pivotra template, available in Tailwind CSS.">
<meta name="keywords" content="Pivotra, Tailwind CSS template, HTML website template, agency template, digital agency, creative studio, portfolio, case studies, testimonials carousel">
<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="Pivotra | Tailwind CSS Agency Template">
<meta property="og:description" content="A bright, confident Tailwind CSS digital agency template with a quote-capture hero, service cards, featured projects, a draggable process slider, testimonials and a journal.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Pivotra template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Pivotra | Tailwind CSS Agency Template">
<meta name="twitter:description" content="A bright, confident Tailwind CSS digital agency template with a quote-capture hero, service cards, featured projects, a draggable process slider, testimonials and a journal.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Pivotra 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 href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Instrument+Serif:ital@1&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
cobalt: '#3b55e3',
sky: '#b9cee1',
graphite: '#2a2a2d',
mist: '#e0e4ec'
},
fontFamily: {
sans: ['Outfit', 'ui-sans-serif', 'system-ui', 'sans-serif'],
accent: ['"Instrument Serif"', 'Georgia', '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 spin-slow { to { transform: rotate(360deg); } }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
[hidden] { display: none !important; }
.plus-grid { background-image: linear-gradient(#d9dde6 1px, transparent 1px), linear-gradient(90deg, #d9dde6 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle, #000 30%, transparent 70%); }
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }
[data-drag-scroll] { cursor: grab; }
[data-drag-scroll].is-dragging { cursor: grabbing; user-select: none; }
.spin-badge { animation: spin-slow 16s linear infinite; }
.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-badge { animation: none; }
[data-carousel-track] { transition: none !important; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
</style>
</head>
<body class="bg-white font-sans font-light text-graphite antialiased">
<!-- block:start navbar -->
<header class="sticky top-0 z-40 bg-cobalt text-white">
<nav class="mx-auto flex max-w-7xl items-center justify-between gap-6 px-6 py-5 lg:px-10">
<a href="index.html" class="flex items-center gap-2 text-lg font-medium leading-none">
<i class="fa-solid fa-asterisk text-4xl" aria-hidden="true"></i>
<span>Pivotra<br>Studio</span>
</a>
<p class="hidden text-sm font-normal lg:block">Call us: <a href="contact.html" class="hover:underline">(+1) 415-555-0186</a> <span class="mx-3 opacity-60">/</span> <a href="contact.html" class="hover:underline">hello@pivotra.example</a></p>
<div class="flex items-center gap-6">
<a href="contact.html" class="hidden items-center gap-3 border border-white/70 px-6 py-3 text-sm font-medium uppercase tracking-wide transition hover:bg-white hover:text-cobalt sm:inline-flex">Free consultation <i class="fa-solid fa-arrow-up rotate-45 text-xs" aria-hidden="true"></i></a>
<button type="button" id="menu-toggle" aria-expanded="false" aria-controls="mobile-menu" class="inline-flex h-11 w-11 flex-col items-center justify-center gap-1.5">
<span class="h-0.5 w-7 bg-white"></span>
<span class="h-0.5 w-7 bg-white"></span>
<span class="sr-only">Toggle menu</span>
</button>
</div>
</nav>
<div id="mobile-menu" hidden class="border-t border-white/20 bg-cobalt">
<div class="mx-auto grid max-w-7xl gap-8 px-6 py-10 md:grid-cols-[2fr_1fr] lg:px-10">
<ul class="grid gap-2 sm:grid-cols-2">
<li><a href="index.html" aria-current="page" class="flex items-center justify-between border-b border-white/20 py-4 text-3xl font-medium transition hover:pl-2 underline decoration-2 underline-offset-8">Home <i class="fa-solid fa-arrow-right text-base" aria-hidden="true"></i></a></li>
<li><a href="about.html" class="flex items-center justify-between border-b border-white/20 py-4 text-3xl font-medium transition hover:pl-2 ">About <i class="fa-solid fa-arrow-right text-base" aria-hidden="true"></i></a></li>
<li><a href="services.html" class="flex items-center justify-between border-b border-white/20 py-4 text-3xl font-medium transition hover:pl-2 ">Services <i class="fa-solid fa-arrow-right text-base" aria-hidden="true"></i></a></li>
<li><a href="work.html" class="flex items-center justify-between border-b border-white/20 py-4 text-3xl font-medium transition hover:pl-2 ">Work <i class="fa-solid fa-arrow-right text-base" aria-hidden="true"></i></a></li>
<li><a href="journal.html" class="flex items-center justify-between border-b border-white/20 py-4 text-3xl font-medium transition hover:pl-2 ">Journal <i class="fa-solid fa-arrow-right text-base" aria-hidden="true"></i></a></li>
<li><a href="contact.html" class="flex items-center justify-between border-b border-white/20 py-4 text-3xl font-medium transition hover:pl-2 ">Contact <i class="fa-solid fa-arrow-right text-base" aria-hidden="true"></i></a></li>
</ul>
<div class="space-y-2 text-white/80">
<p class="text-sm uppercase tracking-[0.2em] text-white">Get in touch</p>
<p>(+1) 415-555-0186</p>
<p>hello@pivotra.example</p>
<p>88 Larkin Street, San Francisco, CA</p>
</div>
</div>
</div>
</header>
<!-- block:end navbar -->
<script>
const menuToggle = document.getElementById('menu-toggle');
const mobileMenu = document.getElementById('mobile-menu');
if (menuToggle && mobileMenu) {
menuToggle.addEventListener('click', () => {
const expanded = menuToggle.getAttribute('aria-expanded') === 'true';
menuToggle.setAttribute('aria-expanded', String(!expanded));
mobileMenu.hidden = expanded;
});
}
document.querySelectorAll('[data-drag-scroll]').forEach((rail) => {
let startX = 0, startScroll = 0, dragging = false;
rail.addEventListener('pointerdown', (event) => {
if (event.pointerType !== 'mouse') return;
dragging = true; startX = event.clientX; startScroll = rail.scrollLeft;
rail.classList.add('is-dragging');
});
window.addEventListener('pointermove', (event) => {
if (!dragging) return;
rail.scrollLeft = startScroll - (event.clientX - startX);
});
window.addEventListener('pointerup', () => { dragging = false; rail.classList.remove('is-dragging'); });
});
document.querySelectorAll('[data-carousel]').forEach((carousel) => {
const track = carousel.querySelector('[data-carousel-track]');
const dots = carousel.querySelectorAll('[data-carousel-dot]');
const count = track.children.length;
let index = 0;
const goTo = (next) => {
index = (next + count) % count;
track.style.transform = `translateX(-${index * 100}%)`;
dots.forEach((dot, i) => {
dot.classList.toggle('bg-cobalt', i === index);
dot.classList.toggle('bg-white/30', i !== index);
dot.setAttribute('aria-current', String(i === index));
});
};
carousel.querySelector('[data-carousel-prev]').addEventListener('click', () => goTo(index - 1));
carousel.querySelector('[data-carousel-next]').addEventListener('click', () => goTo(index + 1));
dots.forEach((dot) => dot.addEventListener('click', () => goTo(Number(dot.dataset.carouselDot))));
});
document.querySelectorAll('[data-current-year]').forEach((el) => { el.textContent = new Date().getFullYear(); });
const reduceMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
if (!reduceMotion && !navigator.webdriver && 'IntersectionObserver' in window) {
document.body.classList.add('reveal-ready');
const revealObserver = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
if (!entry.isIntersecting) return;
entry.target.classList.add('is-visible');
revealObserver.unobserve(entry.target);
});
}, { threshold: 0.15 });
document.querySelectorAll('[data-reveal]').forEach((el) => revealObserver.observe(el));
const countObserver = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
if (!entry.isIntersecting) return;
const el = entry.target;
const target = parseInt(el.dataset.countTo, 10);
const start = performance.now();
const step = (now) => {
const progress = Math.min((now - start) / 700, 1);
el.textContent = Math.round(progress * target).toLocaleString('en-US');
if (progress < 1) requestAnimationFrame(step);
};
requestAnimationFrame(step);
countObserver.unobserve(el);
});
}, { threshold: 0.4 });
document.querySelectorAll('[data-count-to]').forEach((el) => countObserver.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
Agencia
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é