Gratis
Menú de navegación
Matinee Navbar
A navbar block extracted from the Matinee template, available in Tailwind CSS.
0
4
A navbar block extracted from the Matinee 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>Matinee Navbar | Tailwind CSS UI Block</title>
<meta name="description" content="A navbar block extracted from the Matinee template, available in Tailwind CSS.">
<meta name="keywords" content="Matinee, Tailwind CSS template, HTML website template, blog template, magazine template, film magazine, culture journal, editorial website, film reviews, newsletter">
<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="Matinee | Tailwind CSS Blog Template">
<meta property="og:description" content="An editorial Tailwind CSS template for film magazines and culture journals, with issue contents, a double-bill picker, screenings and long-form articles.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Matinee template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Matinee | Tailwind CSS Blog Template">
<meta name="twitter:description" content="An editorial Tailwind CSS template for film magazines and culture journals, with issue contents, a double-bill picker, screenings and long-form articles.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Matinee 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=Fraunces:ital,opsz,wght@0,9..144,400..900;1,9..144,400..700&family=Archivo:wdth,wght@62..125,400..800&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
putty: { DEFAULT: '#cfcec4', light: '#e2e1d9', dark: '#b6b5aa' },
ink: { DEFAULT: '#1d1c1a', soft: '#3b3a36' },
flame: { DEFAULT: '#e4572e', deep: '#b8401c', pale: '#f4c9b8' }
},
fontFamily: {
serif: ['Fraunces', 'Georgia', 'serif'],
sans: ['Archivo', 'Helvetica', 'sans-serif']
}
}
}
}
</script>
<style>
@view-transition { navigation: auto; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.condensed { font-stretch: 68%; }
.halftone { position: relative; }
.halftone img { filter: grayscale(1) contrast(1.25) brightness(1.05); mix-blend-mode: multiply; }
.halftone::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(29,28,26,.28) 0.8px, transparent 1.2px); background-size: 5px 5px; pointer-events: none; }
.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; }
.scallop-spin { transition: transform .6s ease; }
.scallop-btn:hover .scallop-spin { transform: rotate(45deg); }
.ticket { -webkit-mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 14px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.chip[aria-pressed="true"] { background: #1d1c1a; color: #e2e1d9; border-color: #1d1c1a; }
.date-tab[aria-selected="true"] { background: #e4572e; color: #1d1c1a; border-color: #e4572e; }
@media (prefers-reduced-motion: reduce) { .scallop-spin, [data-preview-img] { transition: none !important; } }
</style>
</head>
<body class="bg-putty font-sans text-ink antialiased">
<!-- block:start navbar -->
<header class="relative z-40">
<nav class="mx-auto flex max-w-[1400px] items-center justify-between gap-6 px-5 py-6 md:px-12" aria-label="Main">
<a href="index.html" class="condensed leading-none" aria-label="Matinee home">
<span class="block text-[11px] font-semibold uppercase tracking-[0.35em]">The quarterly</span>
<span class="block text-4xl font-extrabold uppercase tracking-tight md:text-5xl">Matinee</span>
</a>
<ul class="hidden items-center gap-8 text-sm font-semibold uppercase tracking-[0.18em] md:flex">
<li><a href="index.html" aria-current="page" class="border-b-2 border-flame pb-1 text-ink">Home</a></li>
<li><a href="stories.html" class="pb-1 text-ink/70 hover:text-flame">Stories</a></li>
<li><a href="about.html" class="pb-1 text-ink/70 hover:text-flame">About</a></li>
<li><a href="contact.html" class="pb-1 text-ink/70 hover:text-flame">Contact</a></li>
</ul>
<button type="button" class="scallop-btn relative grid h-20 w-20 shrink-0 place-items-center text-ink md:h-24 md:w-24" data-menu-toggle aria-controls="site-menu" aria-expanded="false" aria-label="Open menu">
<svg class="scallop-spin absolute inset-0 h-full w-full" viewBox="0 0 100 100" aria-hidden="true"><polygon points="97.8,50.0 97.54,51.24 96.84,52.45 95.86,53.61 94.85,54.71 94.06,55.8 93.66,56.91 93.7,58.1 94.11,59.38 94.73,60.74 95.3,62.14 95.6,63.51 95.46,64.77 94.83,65.88 93.78,66.81 92.5,67.6 91.2,68.34 90.11,69.13 89.38,70.07 89.06,71.21 89.06,72.55 89.22,74.03 89.33,75.54 89.19,76.94 88.67,78.1 87.73,78.95 86.45,79.52 84.98,79.87 83.52,80.18 82.24,80.59 81.25,81.25 80.59,82.24 80.18,83.52 79.87,84.98 79.52,86.45 78.95,87.73 78.1,88.67 76.94,89.19 75.54,89.33 74.03,89.22 72.55,89.06 71.21,89.06 70.07,89.38 69.13,90.11 68.34,91.2 67.6,92.5 66.81,93.78 65.88,94.83 64.77,95.46 63.51,95.6 62.14,95.3 60.74,94.73 59.38,94.11 58.1,93.7 56.91,93.66 55.8,94.06 54.71,94.85 53.61,95.86 52.45,96.84 51.24,97.54 50.0,97.8 48.76,97.54 47.55,96.84 46.39,95.86 45.29,94.85 44.2,94.06 43.09,93.66 41.9,93.7 40.62,94.11 39.26,94.73 37.86,95.3 36.49,95.6 35.23,95.46 34.12,94.83 33.19,93.78 32.4,92.5 31.66,91.2 30.87,90.11 29.93,89.38 28.79,89.06 27.45,89.06 25.97,89.22 24.46,89.33 23.06,89.19 21.9,88.67 21.05,87.73 20.48,86.45 20.13,84.98 19.82,83.52 19.41,82.24 18.75,81.25 17.76,80.59 16.48,80.18 15.02,79.87 13.55,79.52 12.27,78.95 11.33,78.1 10.81,76.94 10.67,75.54 10.78,74.03 10.94,72.55 10.94,71.21 10.62,70.07 9.89,69.13 8.8,68.34 7.5,67.6 6.22,66.81 5.17,65.88 4.54,64.77 4.4,63.51 4.7,62.14 5.27,60.74 5.89,59.38 6.3,58.1 6.34,56.91 5.94,55.8 5.15,54.71 4.14,53.61 3.16,52.45 2.46,51.24 2.2,50.0 2.46,48.76 3.16,47.55 4.14,46.39 5.15,45.29 5.94,44.2 6.34,43.09 6.3,41.9 5.89,40.62 5.27,39.26 4.7,37.86 4.4,36.49 4.54,35.23 5.17,34.12 6.22,33.19 7.5,32.4 8.8,31.66 9.89,30.87 10.62,29.93 10.94,28.79 10.94,27.45 10.78,25.97 10.67,24.46 10.81,23.06 11.33,21.9 12.27,21.05 13.55,20.48 15.02,20.13 16.48,19.82 17.76,19.41 18.75,18.75 19.41,17.76 19.82,16.48 20.13,15.02 20.48,13.55 21.05,12.27 21.9,11.33 23.06,10.81 24.46,10.67 25.97,10.78 27.45,10.94 28.79,10.94 29.93,10.62 30.87,9.89 31.66,8.8 32.4,7.5 33.19,6.22 34.12,5.17 35.23,4.54 36.49,4.4 37.86,4.7 39.26,5.27 40.62,5.89 41.9,6.3 43.09,6.34 44.2,5.94 45.29,5.15 46.39,4.14 47.55,3.16 48.76,2.46 50.0,2.2 51.24,2.46 52.45,3.16 53.61,4.14 54.71,5.15 55.8,5.94 56.91,6.34 58.1,6.3 59.38,5.89 60.74,5.27 62.14,4.7 63.51,4.4 64.77,4.54 65.88,5.17 66.81,6.22 67.6,7.5 68.34,8.8 69.13,9.89 70.07,10.62 71.21,10.94 72.55,10.94 74.03,10.78 75.54,10.67 76.94,10.81 78.1,11.33 78.95,12.27 79.52,13.55 79.87,15.02 80.18,16.48 80.59,17.76 81.25,18.75 82.24,19.41 83.52,19.82 84.98,20.13 86.45,20.48 87.73,21.05 88.67,21.9 89.19,23.06 89.33,24.46 89.22,25.97 89.06,27.45 89.06,28.79 89.38,29.93 90.11,30.87 91.2,31.66 92.5,32.4 93.78,33.19 94.83,34.12 95.46,35.23 95.6,36.49 95.3,37.86 94.73,39.26 94.11,40.62 93.7,41.9 93.66,43.09 94.06,44.2 94.85,45.29 95.86,46.39 96.84,47.55 97.54,48.76 97.8,50.0" fill="none" stroke="currentColor" stroke-width="1.2"/></svg>
<span class="relative flex flex-col gap-1.5" aria-hidden="true"><span class="block h-px w-6 bg-current"></span><span class="block h-px w-6 bg-current"></span><span class="block h-px w-6 bg-current"></span></span>
</button>
</nav>
<div id="site-menu" class="fixed inset-0 z-50 hidden overflow-y-auto bg-ink text-putty-light" role="dialog" aria-modal="true" aria-label="Site menu">
<div class="mx-auto flex min-h-full max-w-[1400px] flex-col px-5 py-6 md:px-12">
<div class="flex items-center justify-between">
<span class="condensed text-4xl font-extrabold uppercase md:text-5xl">Matinee</span>
<button type="button" class="grid h-16 w-16 place-items-center rounded-full border border-putty-light/40 text-2xl hover:border-flame hover:text-flame" data-menu-close aria-label="Close menu"><i class="fa-solid fa-xmark"></i></button>
</div>
<ol class="my-auto grid gap-2 py-12">
<li><a href="index.html" class="group flex items-baseline gap-5 font-serif text-5xl font-extrabold leading-tight hover:text-flame md:text-8xl"><span class="text-lg font-semibold text-flame md:text-2xl">§1</span>Home</a></li>
<li><a href="stories.html" class="group flex items-baseline gap-5 font-serif text-5xl font-extrabold leading-tight hover:text-flame md:text-8xl"><span class="text-lg font-semibold text-flame md:text-2xl">§2</span>Stories</a></li>
<li><a href="about.html" class="group flex items-baseline gap-5 font-serif text-5xl font-extrabold leading-tight hover:text-flame md:text-8xl"><span class="text-lg font-semibold text-flame md:text-2xl">§3</span>About</a></li>
<li><a href="contact.html" class="group flex items-baseline gap-5 font-serif text-5xl font-extrabold leading-tight hover:text-flame md:text-8xl"><span class="text-lg font-semibold text-flame md:text-2xl">§4</span>Contact</a></li>
</ol>
<p class="text-sm uppercase tracking-[0.2em] text-putty-light/60">Issue 14 · Autumn · Long nights at the pictures</p>
</div>
</div>
</header>
<ul class="fixed right-4 top-1/2 z-30 hidden -translate-y-1/2 flex-col gap-3 lg:flex" aria-label="Social links">
<li><a href="contact.html" class="grid h-9 w-9 place-items-center rounded-full border border-ink text-[10px] font-bold tracking-wider hover:bg-ink hover:text-putty" aria-label="Instagram"><span class="-rotate-90">IG</span></a></li>
<li><a href="contact.html" class="grid h-9 w-9 place-items-center rounded-full border border-ink text-[10px] font-bold tracking-wider hover:bg-ink hover:text-putty" aria-label="YouTube"><span class="-rotate-90">YT</span></a></li>
<li><a href="contact.html" class="grid h-9 w-9 place-items-center rounded-full border border-ink text-[10px] font-bold tracking-wider hover:bg-ink hover:text-putty" aria-label="Letterboxd"><span class="-rotate-90">LB</span></a></li>
<li><span class="block h-9 w-9 rounded-full bg-[repeating-conic-gradient(#1d1c1a_0_6deg,transparent_6deg_12deg)]" aria-hidden="true"></span></li>
</ul>
<!-- block:end navbar -->
<script>
(() => {
const toggle = document.querySelector("[data-menu-toggle]");
const menu = document.getElementById("site-menu");
if (toggle && menu) {
const setOpen = (open) => {
toggle.setAttribute("aria-expanded", String(open));
menu.classList.toggle("hidden", !open);
document.body.classList.toggle("overflow-hidden", open);
if (open) menu.querySelector("[data-menu-close]")?.focus(); else toggle.focus();
};
toggle.addEventListener("click", () => setOpen(true));
menu.querySelector("[data-menu-close]")?.addEventListener("click", () => setOpen(false));
document.addEventListener("keydown", (event) => { if (event.key === "Escape" && !menu.classList.contains("hidden")) setOpen(false); });
}
document.querySelectorAll("[data-newsletter]").forEach((form) => {
form.addEventListener("submit", (event) => {
event.preventDefault();
form.classList.add("hidden");
form.parentElement.querySelector("[data-newsletter-done]")?.classList.remove("hidden");
});
});
const items = document.querySelectorAll("[data-reveal]");
const skip = navigator.webdriver || !("IntersectionObserver" in window) || matchMedia("(prefers-reduced-motion: reduce)").matches;
if (items.length && !skip) {
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));
}
})();
document.querySelectorAll("[data-preview]").forEach((list) => {
const img = list.querySelector("[data-preview-img]");
if (!img) return;
list.querySelectorAll("[data-preview-item]").forEach((item) => {
const show = () => {
if (img.getAttribute("src") === item.dataset.previewSrc) return;
img.style.opacity = "0";
setTimeout(() => { img.src = item.dataset.previewSrc; img.alt = item.dataset.previewAlt; img.style.opacity = "1"; }, 150);
};
item.addEventListener("mouseenter", show);
item.addEventListener("focus", show);
});
});
(() => {
const bills = {
tender: { classic: ["The Orchard in Winter", 1957, 94, "Letters to Calder Street", 1972, 108, "Two quiet films about waiting: one for a season to turn, one for a letter that never comes."], recent: ["Small Hours", 1994, 101, "The Lighthouse Keeper's Daughter", 2019, 117, "A night-shift romance followed by a reunion thirty years late. Bring tissues for the second half."] },
tense: { classic: ["Night Ferry to Ostend", 1949, 88, "The Third Stair", 1966, 97, "A thriller on a crossing and one inside a single stairwell. Both run on stolen glances."] , recent: ["Dead Air", 1987, 92, "Low Tide Protocol", 2021, 104, "A radio station siege and a harbour heist, each told almost in real time."] },
strange: { classic: ["Paper Lanterns", 1928, 71, "The Clockmaker's Garden", 1974, 112, "A silent fable and its colour cousin, both convinced that objects dream."], recent: ["Seven Small Rooms", 1998, 99, "Echo Valley Motel", 2016, 95, "Two puzzle-box films. Watch them back to back and the second answers the first."] },
joyful: { classic: ["Sunday at the Pier", 1953, 86, "Brass Band Summer", 1969, 102, "Seaside comedy, then a musical about a village band. Pure sugar, no apology."], recent: ["Roller Disco Diaries", 1983, 98, "The Grand Little Bake-Off", 2018, 90, "Glitter, wheels and flour. Leave the cinema humming."] }
};
const groups = document.querySelectorAll("[data-bill-group]");
if (!groups.length) return;
const state = { mood: "tender", era: "classic" };
const set = (selector, value) => { const el = document.querySelector(selector); if (el) el.textContent = value; };
const render = () => {
const [a, ay, am, b, by, bm, why] = bills[state.mood][state.era];
const total = am + bm;
set("[data-bill-first]", a);
set("[data-bill-first-meta]", `${ay} · ${am} min`);
set("[data-bill-second]", b);
set("[data-bill-second-meta]", `${by} · ${bm} min`);
set("[data-bill-why]", why);
set("[data-bill-total]", `${Math.floor(total / 60)} h ${total % 60} min`);
set("[data-bill-label]", `${state.mood[0].toUpperCase()}${state.mood.slice(1)} · ${state.era === "classic" ? "Before 1980" : "Since 1980"}`);
};
groups.forEach((group) => {
group.addEventListener("click", (event) => {
const button = event.target.closest("[data-bill-value]");
if (!button) return;
group.querySelectorAll("[data-bill-value]").forEach((chip) => chip.setAttribute("aria-pressed", String(chip === button)));
state[group.dataset.billGroup] = button.dataset.billValue;
render();
});
});
})();
document.querySelectorAll('[role="tablist"]').forEach((list) => {
const tabs = [...list.querySelectorAll('[role="tab"]')];
const select = (tab) => {
tabs.forEach((other) => {
const active = other === tab;
other.setAttribute("aria-selected", String(active));
other.tabIndex = active ? 0 : -1;
const panel = document.getElementById(other.getAttribute("aria-controls"));
if (panel) panel.hidden = !active;
});
};
tabs.forEach((tab, index) => {
tab.addEventListener("click", () => select(tab));
tab.addEventListener("keydown", (event) => {
if (!["ArrowRight", "ArrowLeft"].includes(event.key)) return;
const next = tabs[(index + (event.key === "ArrowRight" ? 1 : tabs.length - 1)) % tabs.length];
select(next);
next.focus();
});
});
});
</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
Blog
Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.