Gratis
Galería
Noctra Gallery
A gallery block extracted from the Noctra template, available in Tailwind CSS.
0
20
A gallery block extracted from the Noctra 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>Noctra Gallery | Tailwind CSS UI Block</title>
<meta name="description" content="A gallery block extracted from the Noctra template, available in Tailwind CSS.">
<meta name="keywords" content="Noctra, Tailwind CSS template, HTML website template, tattoo studio template, tattoo artist portfolio, piercing studio, permanent makeup, dark website 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="Noctra | Tailwind CSS Portfolio Template">
<meta property="og:description" content="A dark Tailwind CSS tattoo studio template with a gradient services panel, a filterable portfolio, artist profiles and a booking form.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Noctra template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Noctra | Tailwind CSS Portfolio Template">
<meta name="twitter:description" content="A dark Tailwind CSS tattoo studio template with a gradient services panel, a filterable portfolio, artist profiles and a booking form.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Noctra 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=Outfit:wght@400;500;600&family=Zilla+Slab:wght@400;500&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: { night: '#121212', coal: '#1c1c1c', ash: '#a3a3a3', lilac: '#e8b4ff', peach: '#f3c6a6' },
fontFamily: { display: ['Outfit', 'sans-serif'], slab: ['"Zilla Slab"', '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; }
.glow-panel { background: linear-gradient(105deg, #e8b4ff 0%, #ecbde0 45%, #f3c6a6 100%); }
.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; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
</style>
</head>
<body class="bg-night font-slab text-white antialiased">
<!-- block:start gallery -->
<section id="work" class="border-t border-white/10">
<div class="mx-auto max-w-6xl px-5 py-20 md:px-8">
<div class="flex flex-wrap items-end justify-between gap-6">
<h2 data-reveal class="font-display text-4xl font-medium md:text-5xl">Fresh from the chair</h2>
<div data-filter-group class="flex flex-wrap gap-2" role="group" aria-label="Filter work">
<button type="button" data-filter="all" aria-pressed="true" class="border border-white/30 px-4 py-2 text-sm transition hover:border-white border-white bg-white text-night">All</button>
<button type="button" data-filter="blackwork" aria-pressed="false" class="border border-white/30 px-4 py-2 text-sm transition hover:border-white ">Blackwork</button>
<button type="button" data-filter="fineline" aria-pressed="false" class="border border-white/30 px-4 py-2 text-sm transition hover:border-white ">Fine line</button>
<button type="button" data-filter="botanical" aria-pressed="false" class="border border-white/30 px-4 py-2 text-sm transition hover:border-white ">Botanical</button>
</div>
</div>
<div class="mt-10 grid grid-cols-2 gap-4 md:grid-cols-3">
<a href="peony-sleeve.html" data-filter-item data-category="botanical" data-reveal style="--reveal-delay: 0ms" class="group relative block overflow-hidden">
<img src="https://images.unsplash.com/photo-1598371839696-5c5bb00bdc28?auto=format&fit=crop&w=700&h=880&q=80" alt="Floral peony tattoo on a woman's upper arm" class="aspect-[4/5] w-full object-cover transition duration-700 group-hover:scale-105">
<span class="absolute inset-x-0 bottom-0 bg-gradient-to-t from-night/90 to-transparent p-4 pt-16 font-display text-lg">Peony sleeve</span>
</a>
<a href="fine-line-script.html" data-filter-item data-category="fineline" data-reveal style="--reveal-delay: 80ms" class="group relative block overflow-hidden">
<img src="https://images.unsplash.com/photo-1542727365-19732a80dcfd?auto=format&fit=crop&w=700&h=880&q=80" alt="Fine line script and sprig tattoos on a forearm" class="aspect-[4/5] w-full object-cover transition duration-700 group-hover:scale-105">
<span class="absolute inset-x-0 bottom-0 bg-gradient-to-t from-night/90 to-transparent p-4 pt-16 font-display text-lg">Script & sprig</span>
</a>
<a href="work.html" data-filter-item data-category="blackwork" data-reveal style="--reveal-delay: 160ms" class="group relative block overflow-hidden">
<img src="https://images.unsplash.com/photo-1611501275019-9b5cda994e8d?auto=format&fit=crop&w=700&h=880&q=80" alt="Black and grey tattoo covering a back and shoulder" class="aspect-[4/5] w-full object-cover transition duration-700 group-hover:scale-105">
<span class="absolute inset-x-0 bottom-0 bg-gradient-to-t from-night/90 to-transparent p-4 pt-16 font-display text-lg">Back panel</span>
</a>
<a href="work.html" data-filter-item data-category="botanical" data-reveal style="--reveal-delay: 0ms" class="group relative block overflow-hidden">
<img src="https://images.unsplash.com/photo-1562962230-16e4623d36e6?auto=format&fit=crop&w=700&h=880&q=80" alt="Black and white rose tattoo on an arm" class="aspect-[4/5] w-full object-cover transition duration-700 group-hover:scale-105">
<span class="absolute inset-x-0 bottom-0 bg-gradient-to-t from-night/90 to-transparent p-4 pt-16 font-display text-lg">Wild roses</span>
</a>
<a href="work.html" data-filter-item data-category="blackwork" data-reveal style="--reveal-delay: 80ms" class="group relative block overflow-hidden">
<img src="https://images.unsplash.com/photo-1604374376934-2df6fad6519b?auto=format&fit=crop&w=700&h=880&q=80" alt="Full ornamental sleeve tattoo on an outstretched arm" class="aspect-[4/5] w-full object-cover transition duration-700 group-hover:scale-105">
<span class="absolute inset-x-0 bottom-0 bg-gradient-to-t from-night/90 to-transparent p-4 pt-16 font-display text-lg">Ornamental sleeve</span>
</a>
<a href="work.html" data-filter-item data-category="blackwork" data-reveal style="--reveal-delay: 160ms" class="group relative block overflow-hidden">
<img src="https://images.unsplash.com/photo-1568515045052-f9a854d70bfd?auto=format&fit=crop&w=700&h=880&q=80" alt="Artist in gloves tattooing a detailed forearm piece" class="aspect-[4/5] w-full object-cover transition duration-700 group-hover:scale-105">
<span class="absolute inset-x-0 bottom-0 bg-gradient-to-t from-night/90 to-transparent p-4 pt-16 font-display text-lg">Studio session</span>
</a>
</div>
<div class="mt-10 text-center">
<a href="work.html" class="inline-flex items-center gap-2 border-b border-lilac pb-1 hover:text-lilac">View the full portfolio <i class="fa-solid fa-chevron-right text-xs" aria-hidden="true"></i></a>
</div>
</div>
</section>
<!-- block:end gallery -->
<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);
});
});
document.querySelectorAll('[data-filter-group]').forEach((group) => {
const buttons = group.querySelectorAll('[data-filter]');
buttons.forEach((button) => {
button.addEventListener('click', () => {
buttons.forEach((other) => {
const active = other === button;
other.setAttribute('aria-pressed', String(active));
other.classList.toggle('bg-white', active);
other.classList.toggle('text-night', active);
other.classList.toggle('border-white', active);
});
document.querySelectorAll('[data-filter-item]').forEach((item) => {
item.hidden = button.dataset.filter !== 'all' && item.dataset.category !== button.dataset.filter;
});
});
});
});
document.querySelectorAll('[data-carousel]').forEach((carousel) => {
const track = carousel.querySelector('[data-carousel-track]');
if (!track) return;
const slides = [...track.children];
const dots = carousel.querySelector('[data-carousel-dots]');
let index = 0;
const perView = () => Math.max(1, Math.round(track.clientWidth / slides[0].clientWidth));
const maxIndex = () => Math.max(0, slides.length - perView());
const render = () => {
track.style.transform = `translateX(-${index * slides[0].clientWidth}px)`;
dots?.querySelectorAll('button').forEach((dot, i) => dot.setAttribute('aria-current', String(i === index)));
};
const go = (next) => { const max = maxIndex(); index = next > max ? 0 : next < 0 ? max : next; render(); };
const buildDots = () => {
if (!dots) return;
dots.innerHTML = '';
for (let i = 0; i <= maxIndex(); i++) {
const dot = document.createElement('button');
dot.type = 'button';
dot.className = 'h-2 w-2 rounded-full bg-current opacity-30 aria-[current=true]:opacity-100';
dot.setAttribute('aria-label', `Go to review ${i + 1}`);
dot.addEventListener('click', () => go(i));
dots.append(dot);
}
};
carousel.querySelector('[data-carousel-prev]')?.addEventListener('click', () => go(index - 1));
carousel.querySelector('[data-carousel-next]')?.addEventListener('click', () => go(index + 1));
addEventListener('resize', () => { buildDots(); go(Math.min(index, maxIndex())); });
buildDots();
render();
});
document.querySelectorAll('[data-accordion]').forEach((accordion) => {
const triggers = accordion.querySelectorAll('[data-accordion-trigger]');
triggers.forEach((trigger) => {
trigger.addEventListener('click', () => {
const willOpen = trigger.getAttribute('aria-expanded') !== 'true';
triggers.forEach((other) => {
const open = other === trigger && willOpen;
other.setAttribute('aria-expanded', String(open));
document.getElementById(other.getAttribute('aria-controls')).classList.toggle('hidden', !open);
other.querySelector('[data-accordion-icon]')?.classList.toggle('rotate-45', open);
});
});
});
});
document.querySelectorAll('[data-contact-form]').forEach((form) => {
form.addEventListener('submit', (event) => {
event.preventDefault();
const status = form.querySelector('[data-form-status]');
if (!form.checkValidity()) {
status.textContent = form.dataset.error || 'Please complete the required fields.';
return;
}
status.textContent = form.dataset.success || 'Thanks! We will be in touch soon.';
form.reset();
});
});
document.querySelectorAll('[data-current-year]').forEach((el) => { el.textContent = new Date().getFullYear(); });
(() => {
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>
<!-- 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
Negocios
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é