Gratis
Menú de navegación
Cerebra Navbar
A navbar block extracted from the Cerebra template, available in Tailwind CSS.
0
130
A navbar block extracted from the Cerebra 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>Cerebra Navbar | Tailwind CSS UI Block</title>
<meta name="description" content="A navbar block extracted from the Cerebra template, available in Tailwind CSS.">
<meta name="keywords" content="neuroscience analytics template, EEG research platform, cognitive mapping dashboard, neural data visualization, health technology, Tailwind CSS 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="Cerebra | Tailwind CSS Neuroscience Analytics Template">
<meta property="og:description" content="A responsive Tailwind CSS neuroscience analytics template for EEG research, cognitive mapping, neural data visualization, and health technology platforms.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Cerebra template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Cerebra | Tailwind CSS Neuroscience Analytics Template">
<meta name="twitter:description" content="A responsive Tailwind CSS neuroscience analytics template for EEG research, cognitive mapping, neural data visualization, and health technology platforms.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Cerebra 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 href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<script>
tailwind.config = {
theme: {
extend: {
fontFamily: {
sans: ['Plus Jakarta Sans', 'sans-serif'],
},
colors: {
brand: {
base: '#FFFFFF',
ink: '#0D1117',
muted: '#484F58',
primary: '#6366F1',
secondary: '#A855F7',
light: '#F8FAFC'
}
}
}
}
}
</script>
<style>
.hero-gradient {
background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.15), transparent),
radial-gradient(circle at bottom left, rgba(99, 102, 241, 0.1), transparent);
}
.feature-card {
background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
</style>
</head>
<body class="font-sans text-brand-ink bg-white overflow-x-hidden">
<!-- block:start navbar -->
<nav id="header" class="fixed top-0 left-0 w-full z-50 bg-white/80 backdrop-blur-md border-b border-gray-100">
<div class="max-w-7xl mx-auto px-6 h-20 flex items-center justify-between relative">
<div class="flex items-center space-x-12 min-w-0">
<a href="#" class="flex items-center space-x-2 min-w-0">
<div class="w-9 h-9 sm:w-10 sm:h-10 bg-brand-ink rounded-lg flex items-center justify-center text-white shrink-0">
<i class="fa-solid fa-brain"></i>
</div>
<span class="text-xl sm:text-2xl font-bold tracking-tight truncate">Cerebra</span>
</a>
<div class="hidden lg:flex items-center space-x-8 text-sm font-semibold text-brand-muted">
<a href="#" class="hover:text-brand-primary transition-colors">Neuroscience</a>
<a href="#" class="hover:text-brand-primary transition-colors">Methods</a>
<a href="#" class="hover:text-brand-primary transition-colors">Case Studies</a>
<a href="#" class="hover:text-brand-primary transition-colors">Pricing</a>
<a href="#" class="hover:text-brand-primary transition-colors">Library</a>
</div>
</div>
<div class="flex items-center space-x-2 sm:space-x-4 shrink-0">
<a href="#" class="hidden lg:inline px-5 py-2.5 text-sm font-bold text-brand-ink hover:text-brand-primary transition-colors">Log In</a>
<a href="#" class="px-4 sm:px-6 py-2 sm:py-2.5 bg-brand-ink text-white rounded-full text-xs sm:text-sm font-bold shadow-lg hover:opacity-90 transition-opacity whitespace-nowrap">Request Demo</a>
<button
id="mobile-menu-button"
type="button"
class="lg:hidden w-10 h-10 flex items-center justify-center text-brand-ink"
aria-label="Open navigation"
aria-expanded="false"
aria-controls="mobile-navigation"
>
<span id="mobile-menu-icon-open" aria-hidden="true"><i class="fa-solid fa-bars"></i></span>
<span id="mobile-menu-icon-close" class="hidden" aria-hidden="true"><i class="fa-solid fa-xmark"></i></span>
</button>
</div>
<nav
id="mobile-navigation"
class="lg:hidden absolute top-full right-6 mt-2 w-56 p-3 bg-white border border-gray-100 rounded-2xl shadow-xl"
aria-label="Mobile navigation"
hidden
>
<div class="flex flex-col text-sm font-semibold text-brand-muted">
<a href="#" class="px-3 py-2.5 rounded-xl hover:bg-brand-light hover:text-brand-primary">Neuroscience</a>
<a href="#" class="px-3 py-2.5 rounded-xl hover:bg-brand-light hover:text-brand-primary">Methods</a>
<a href="#" class="px-3 py-2.5 rounded-xl hover:bg-brand-light hover:text-brand-primary">Case Studies</a>
<a href="#" class="px-3 py-2.5 rounded-xl hover:bg-brand-light hover:text-brand-primary">Pricing</a>
<a href="#" class="px-3 py-2.5 rounded-xl hover:bg-brand-light hover:text-brand-primary">Library</a>
<a href="#" class="px-3 py-2.5 rounded-xl hover:bg-brand-light hover:text-brand-primary">Log In</a>
</div>
</nav>
</div>
</nav>
<!-- block:end navbar -->
<script>
const mobileMenuButton = document.getElementById('mobile-menu-button');
const mobileMenuIconOpen = document.getElementById('mobile-menu-icon-open');
const mobileMenuIconClose = document.getElementById('mobile-menu-icon-close');
const mobileNavigation = document.getElementById('mobile-navigation');
function setMobileMenu(open) {
mobileMenuButton.setAttribute('aria-expanded', String(open));
mobileMenuButton.setAttribute('aria-label', open ? 'Close navigation' : 'Open navigation');
mobileMenuIconOpen.classList.toggle('hidden', open);
mobileMenuIconClose.classList.toggle('hidden', !open);
mobileNavigation.hidden = !open;
}
mobileMenuButton.addEventListener('click', () => {
setMobileMenu(mobileMenuButton.getAttribute('aria-expanded') !== 'true');
});
mobileNavigation.querySelectorAll('a').forEach((link) => {
link.addEventListener('click', () => setMobileMenu(false));
});
document.addEventListener('keydown', (event) => {
if (event.key === 'Escape') setMobileMenu(false);
});
document.addEventListener('click', (event) => {
if (!document.getElementById('header').contains(event.target)) setMobileMenu(false);
});
window.addEventListener('resize', () => {
if (window.innerWidth >= 1024) setMobileMenu(false);
});
</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
SaaS
Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.