Gratis
Galería
Pivotra Gallery
A gallery block extracted from the Pivotra template, available in Tailwind CSS.
0
97
A gallery 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 Gallery | Tailwind CSS UI Block</title>
<meta name="description" content="A gallery 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 gallery -->
<section id="work" class="px-6 py-16 lg:px-10">
<div class="mx-auto max-w-7xl">
<p data-reveal class="flex items-center justify-center gap-5 text-sm font-medium uppercase tracking-[0.25em]"><span class="h-2.5 w-8 bg-cobalt"></span>Featured projects</p>
<div class="mt-12 grid gap-3 md:grid-cols-6">
<a href="playnest.html" data-reveal class="group relative overflow-hidden bg-[#7ccfd8] md:col-span-3 md:row-span-2">
<img src="https://images.unsplash.com/photo-1601972599720-36938d4ecd31?auto=format&fit=crop&w=900&q=80" alt="Hand holding a phone with a collections app open" class="aspect-square h-full w-full object-cover transition duration-500 group-hover:scale-105">
<span class="absolute inset-x-5 bottom-5 flex items-center justify-between bg-white px-6 py-5">
<span><span class="block text-2xl font-normal">Playnest App</span><span class="text-sm text-graphite/60">UI/UX, iOS, Android</span></span>
<i class="fa-solid fa-arrow-up rotate-45 text-2xl" aria-hidden="true"></i>
</span>
</a>
<a href="fieldnote.html" data-reveal style="--reveal-delay:80ms" class="group relative flex min-h-[18rem] items-center justify-center overflow-hidden bg-[#13305a] md:col-span-3 md:row-span-2">
<span class="text-7xl font-semibold italic tracking-tight text-white md:text-8xl">fieldnote</span>
<span class="absolute bottom-[38%] left-1/2 h-3 w-1/2 -translate-x-1/2 -rotate-3 rounded-full bg-[#e8461f]" aria-hidden="true"></span>
<span class="absolute bottom-[32%] left-1/2 h-2 w-1/3 -translate-x-1/2 -rotate-3 rounded-full bg-[#79d1dc]" aria-hidden="true"></span>
<span class="absolute inset-x-5 bottom-5 flex items-center justify-between bg-white px-6 py-5 opacity-0 transition group-hover:opacity-100 group-focus-visible:opacity-100">
<span><span class="block text-2xl font-normal text-graphite">Fieldnote News</span><span class="text-sm text-graphite/60">Branding, Web, App</span></span>
<i class="fa-solid fa-arrow-up rotate-45 text-2xl text-graphite" aria-hidden="true"></i>
</span>
</a>
<a href="fieldnote.html" data-reveal style="--reveal-delay:0ms" class="group relative aspect-[4/5] overflow-hidden bg-[#1c3fd4] md:col-span-2">
<img src="https://images.unsplash.com/photo-1590086782792-42dd2350140d?auto=format&fit=crop&w=700&q=80" alt="Portrait in a blue arch for a heritage menswear rebrand" class="h-full w-full object-cover transition duration-500 group-hover:scale-105 grayscale mix-blend-luminosity">
<span class="absolute inset-x-4 bottom-4 flex items-center justify-between bg-white px-5 py-4 opacity-0 transition group-hover:opacity-100 group-focus-visible:opacity-100">
<span><span class="block text-xl font-normal">Bellmont 1956</span><span class="text-sm text-graphite/60">Brand identity</span></span>
<i class="fa-solid fa-arrow-up rotate-45" aria-hidden="true"></i>
</span>
</a>
<a href="playnest.html" data-reveal style="--reveal-delay:80ms" class="group relative aspect-[4/5] overflow-hidden bg-black md:col-span-2">
<img src="https://images.unsplash.com/photo-1700225195138-8d8b36dafcb1?auto=format&fit=crop&w=700&q=80" alt="Black bottle packaging on a dark backdrop" class="h-full w-full object-cover transition duration-500 group-hover:scale-105 ">
<span class="absolute inset-x-4 bottom-4 flex items-center justify-between bg-white px-5 py-4 opacity-0 transition group-hover:opacity-100 group-focus-visible:opacity-100">
<span><span class="block text-xl font-normal">Nightcap Spirits</span><span class="text-sm text-graphite/60">Packaging</span></span>
<i class="fa-solid fa-arrow-up rotate-45" aria-hidden="true"></i>
</span>
</a>
<a href="fieldnote.html" data-reveal style="--reveal-delay:160ms" class="group relative aspect-[4/5] overflow-hidden bg-mist md:col-span-2">
<img src="https://images.unsplash.com/photo-1667551218627-1fd0c0202c1c?auto=format&fit=crop&w=700&q=80" alt="Magazine spread with yellow typography" class="h-full w-full object-cover transition duration-500 group-hover:scale-105 ">
<span class="absolute inset-x-4 bottom-4 flex items-center justify-between bg-white px-5 py-4 opacity-0 transition group-hover:opacity-100 group-focus-visible:opacity-100">
<span><span class="block text-xl font-normal">Quarterly Press</span><span class="text-sm text-graphite/60">Editorial, Web</span></span>
<i class="fa-solid fa-arrow-up rotate-45" aria-hidden="true"></i>
</span>
</a>
<a href="work.html" data-reveal class="group relative flex min-h-[20rem] flex-col items-center justify-center gap-6 overflow-hidden bg-[#a9dbe0] md:col-span-6">
<img src="https://images.unsplash.com/photo-1761371717891-56b193d2b027?auto=format&fit=crop&w=1600&q=80" alt="White airliner flying through a bright blue sky" class="absolute inset-0 h-full w-full object-cover opacity-80 transition duration-500 group-hover:scale-105">
<span class="relative bg-white px-8 py-4 text-sm font-medium uppercase tracking-wide text-cobalt">View all projects <i class="fa-solid fa-arrow-up rotate-45 ml-2 text-xs" aria-hidden="true"></i></span>
</a>
</div>
</div>
</section>
<!-- block:end gallery -->
<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é