Gratis
Menú de navegación
Pliette Navbar
A navbar block extracted from the Pliette template, available in Tailwind CSS.
0
8
A navbar block extracted from the Pliette 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>Pliette Navbar | Tailwind CSS UI Block</title>
<meta name="description" content="A navbar block extracted from the Pliette template, available in Tailwind CSS.">
<meta name="keywords" content="Pliette, Tailwind CSS template, HTML website template, education template, dance school template, ballet studio website, class timetable, academy template, art deco design, premium 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="Pliette | Tailwind CSS Education Template">
<meta property="og:description" content="A blush and pine green Tailwind CSS template for dance schools, with a class list, a weekly timetable, teacher flip cards and classes, about and contact pages.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Pliette template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Pliette | Tailwind CSS Education Template">
<meta name="twitter:description" content="A blush and pine green Tailwind CSS template for dance schools, with a class list, a weekly timetable, teacher flip cards and classes, about and contact pages.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Pliette 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=Italiana&family=Jost:wght@300;400;500&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
blush: { DEFAULT: '#fbe9ec', deep: '#f5d6dc' },
pine: { DEFAULT: '#0b3d33', soft: '#3f6259' },
chalk: '#fffaf8',
rose: '#c2586f'
},
fontFamily: {
display: ['Italiana', 'serif'],
sans: ['Jost', 'sans-serif']
}
}
}
}
</script>
<style>
@view-transition { navigation: auto; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
.label { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }
.vertical { writing-mode: vertical-rl; }
.stamp-ring { animation: stamp-turn 28s linear infinite; transform-origin: 50% 50%; }
@keyframes stamp-turn { to { transform: rotate(360deg); } }
.marquee { display: flex; overflow: hidden; gap: 3rem; }
.marquee-track { display: flex; flex-shrink: 0; align-items: center; gap: 3rem; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - 3rem)); } }
.flip { perspective: 1200px; }
.flip-inner { transition: transform .6s ease; transform-style: preserve-3d; }
.flip-face { backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip-back { transform: rotateY(180deg); }
.flip[aria-pressed="true"] .flip-inner { transform: rotateY(180deg); }
.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; }
.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) {
.stamp-ring, .marquee-track { animation: none; }
.marquee { overflow-x: auto; }
.flip-inner { transition: none; }
}
</style>
</head>
<body class="bg-blush font-sans text-pine antialiased">
<!-- block:start navbar -->
<header class="absolute inset-x-0 top-0 z-40">
<div class="mx-auto flex max-w-[1500px] items-center justify-between px-6 py-6 md:px-12">
<a href="index.html" class="relative block h-20 w-20 md:h-24 md:w-24" aria-label="Pliette home">
<svg viewBox="0 0 100 100" class="stamp-ring h-full w-full" aria-hidden="true">
<defs><path id="stamp-circle" d="M50,50 m-38,0 a38,38 0 1,1 76,0 a38,38 0 1,1 -76,0"/></defs>
<text class="fill-pine" style="font-family: Jost, sans-serif; font-size: 9.2px; letter-spacing: 2.1px"><textPath href="#stamp-circle">PLIETTE · SCHOOL OF DANCE · PORTO ·</textPath></text>
</svg>
<span class="absolute inset-0 flex items-center justify-center font-display text-3xl">P</span>
</a>
<nav class="hidden items-center gap-10 md:flex" aria-label="Main">
<a href="index.html" aria-current="page" class="label border-b border-pine pb-1">Home</a>
<a href="classes.html" class="label border-b border-transparent pb-1 text-pine/70 hover:border-pine hover:text-pine">Classes</a>
<a href="about.html" class="label border-b border-transparent pb-1 text-pine/70 hover:border-pine hover:text-pine">About</a>
<a href="contact.html" class="label border-b border-transparent pb-1 text-pine/70 hover:border-pine hover:text-pine">Contact</a>
<a href="contact.html" class="label rounded-full border border-pine px-5 py-2.5 hover:bg-pine hover:text-blush">Trial class</a>
</nav>
<button type="button" class="label flex items-center gap-3 md:hidden" data-menu-toggle aria-expanded="false" aria-controls="mobile-menu">
<span data-menu-label>Menu</span><span class="h-px w-6 bg-pine"></span>
</button>
</div>
<div id="mobile-menu" class="border-y border-pine/20 bg-chalk px-6 py-8 md:hidden" hidden>
<nav class="grid gap-2 font-display text-4xl" aria-label="Mobile">
<a href="index.html" aria-current="page">Home</a>
<a href="classes.html" class="text-pine/70 hover:text-pine">Classes</a>
<a href="about.html" class="text-pine/70 hover:text-pine">About</a>
<a href="contact.html" class="text-pine/70 hover:text-pine">Contact</a>
</nav>
<a href="contact.html" class="label mt-8 inline-block rounded-full border border-pine px-5 py-3">Trial class</a>
</div>
</header>
<!-- block:end navbar -->
<script>
// Mobile menu
(() => {
const toggle = document.querySelector("[data-menu-toggle]");
const menu = document.getElementById("mobile-menu");
if (!toggle || !menu) return;
toggle.addEventListener("click", () => {
const open = toggle.getAttribute("aria-expanded") === "true";
toggle.setAttribute("aria-expanded", String(!open));
toggle.querySelector("[data-menu-label]").textContent = open ? "Menu" : "Close";
menu.hidden = open;
document.querySelector("header").classList.toggle("bg-chalk", !open);
});
})();
// Age filter for class lists and cards
document.querySelectorAll("[data-filter]").forEach((group) => {
const scope = group.closest("section") || document;
const items = scope.querySelectorAll("[data-category]");
const count = scope.querySelector("[data-filter-count]");
group.querySelectorAll("[data-filter-value]").forEach((button) => {
button.addEventListener("click", () => {
const value = button.dataset.filterValue;
let shown = 0;
group.querySelectorAll("[data-filter-value]").forEach((other) => other.setAttribute("aria-pressed", String(other === button)));
items.forEach((item) => {
item.hidden = value !== "all" && item.dataset.category !== value;
if (!item.hidden) shown++;
});
if (count) count.textContent = shown;
});
});
});
// Timetable day tabs
document.querySelectorAll("[data-tabs]").forEach((root) => {
const tabs = [...root.querySelectorAll("[data-tab]")];
const panels = [...root.querySelectorAll("[data-tab-panel]")];
const select = (tab) => {
tabs.forEach((other) => other.setAttribute("aria-selected", String(other === tab)));
panels.forEach((panel) => {
const active = panel.dataset.tabPanel === tab.dataset.tab;
panel.hidden = !active;
if (!active) return;
const name = root.querySelector("[data-day-name]");
const count = root.querySelector("[data-day-count]");
if (name) name.textContent = panel.dataset.day;
if (count) count.textContent = panel.dataset.count;
});
};
tabs.forEach((tab, index) => {
tab.addEventListener("click", () => select(tab));
tab.addEventListener("keydown", (event) => {
if (event.key !== "ArrowRight" && event.key !== "ArrowLeft") return;
const next = tabs[(index + (event.key === "ArrowRight" ? 1 : tabs.length - 1)) % tabs.length];
next.focus();
select(next);
});
});
});
// Teacher flip cards
document.querySelectorAll("[data-flip]").forEach((card) => {
card.addEventListener("click", () => card.setAttribute("aria-pressed", String(card.getAttribute("aria-pressed") !== "true")));
});
// Scroll reveal
(() => {
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
Educación
Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.