Gratis
Menú de navegación
Suntrix Navbar
A navbar block extracted from the Suntrix template, available in Tailwind CSS.
0
12
A navbar block extracted from the Suntrix 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>Suntrix Navbar | Tailwind CSS UI Block</title>
<meta name="description" content="A navbar block extracted from the Suntrix template, available in Tailwind CSS.">
<meta name="keywords" content="Suntrix, Tailwind CSS template, HTML website template, solar energy, renewable startup, clean tech, green energy landing page">
<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="Suntrix | Tailwind CSS Solar Energy Startup Template">
<meta property="og:description" content="A bright Tailwind CSS solar energy startup template for clean-tech companies, renewable installers, and sustainable energy brands.">
<meta property="og:image" content="">
<meta property="og:image:alt" content="Suntrix template preview">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="">
<meta name="twitter:title" content="Suntrix | Tailwind CSS Solar Energy Startup Template">
<meta name="twitter:description" content="A bright Tailwind CSS solar energy startup template for clean-tech companies, renewable installers, and sustainable energy brands.">
<meta name="twitter:image" content="">
<meta name="twitter:image:alt" content="Suntrix 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@400;500;600;700;800&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Plus Jakarta Sans', sans-serif;
}
.hero-mosaic {
--tile: 8rem;
--gap: 0.75rem;
}
@media (min-width: 1024px) {
.hero-mosaic {
--tile: calc((min(100vw, 80rem) - 4rem - 5 * var(--gap)) / 6 * 0.92);
grid-template-rows: repeat(3, var(--tile));
}
}
.mosaic-tile {
height: var(--tile);
}
.mosaic-img {
position: absolute;
left: 0;
width: 100%;
height: calc(3 * var(--tile) + 2 * var(--gap));
object-fit: cover;
object-position: 14% center;
}
.mosaic-top { top: 0; }
.mosaic-mid { top: calc(-1 * (var(--tile) + var(--gap))); }
.mosaic-bottom { top: calc(-2 * (var(--tile) + var(--gap))); }
.dot-map {
background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.1px, transparent 1.4px);
background-size: 9px 9px;
-webkit-mask-image: radial-gradient(ellipse 70% 60% at 62% 38%, #000 35%, transparent 72%);
mask-image: radial-gradient(ellipse 70% 60% at 62% 38%, #000 35%, transparent 72%);
}
.turbine-rotor {
transform-origin: 60px 52px;
animation: turbine-spin 9s linear infinite;
}
@keyframes turbine-spin {
to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
.turbine-rotor { animation: none; }
}
</style>
</head>
<body class="bg-white text-[#1d2150] overflow-x-hidden">
<!-- block:start navbar -->
<nav id="header" class="absolute inset-x-0 top-0 z-30">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-6 flex items-center justify-between gap-6">
<div class="flex items-center gap-4">
<a href="#" class="flex items-center gap-2">
<svg class="w-8 h-8" viewBox="0 0 32 32" fill="none" aria-hidden="true">
<path d="M16 6a10 10 0 1 0 10 10h-5a5 5 0 1 1-5-5V6Z" fill="#f29a2e"/>
<circle cx="16" cy="16" r="2.5" fill="#f29a2e"/>
<path d="M21 4v4M26.5 9.5l-2.8 2.8M28 16h-4" stroke="#f29a2e" stroke-width="2.4" stroke-linecap="round"/>
</svg>
<span class="text-2xl font-extrabold tracking-tight">Suntrix</span>
</a>
<p class="hidden sm:block border-l border-[#1d2150]/15 pl-4 text-[11px] font-semibold leading-tight text-[#1d2150]/70">Cut Energy Costs While<br>Protecting The Planet</p>
</div>
<div class="hidden lg:flex items-center gap-10 text-sm font-semibold">
<a href="#projection" class="hover:text-[#f29a2e] transition-colors">Projection</a>
<a href="#products" class="hover:text-[#f29a2e] transition-colors">Products</a>
<a href="#solutions" class="hover:text-[#f29a2e] transition-colors">Solutions</a>
<a href="#reviews" class="hover:text-[#f29a2e] transition-colors">Reviews</a>
</div>
<div class="flex items-center gap-6">
<button type="button" class="hidden sm:flex items-center gap-3 border-l border-[#1d2150]/15 pl-6 text-sm font-semibold">
ENG <i class="fa-solid fa-caret-down text-xs"></i>
</button>
<a href="#contact" class="hidden sm:inline-flex rounded-lg bg-[#f29a2e] px-5 py-2.5 text-sm font-bold text-[#1d2150] shadow-lg shadow-orange-200/60 hover:bg-[#e88a17] transition-colors">Contact Us</a>
<button type="button" id="mobile-menu-button" class="lg:hidden flex h-10 w-10 items-center justify-center rounded-lg bg-white/70 text-lg" aria-label="Open menu" aria-expanded="false" aria-controls="mobile-menu">
<i class="fa-solid fa-bars"></i>
</button>
</div>
</div>
<div id="mobile-menu" class="hidden lg:hidden mx-4 rounded-2xl bg-white p-6 shadow-xl">
<div class="flex flex-col gap-4 text-sm font-semibold">
<a href="#projection">Projection</a>
<a href="#products">Products</a>
<a href="#solutions">Solutions</a>
<a href="#reviews">Reviews</a>
<a href="#contact" class="mt-2 rounded-lg bg-[#f29a2e] px-5 py-3 text-center font-bold">Contact Us</a>
</div>
</div>
</nav>
<!-- block:end navbar -->
<script>
document.getElementById('mobile-menu-button').addEventListener('click', function () {
var menu = document.getElementById('mobile-menu');
var open = menu.classList.toggle('hidden') === false;
this.setAttribute('aria-expanded', open);
});
</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
Startup
Desbloquea toda la biblioteca de plantillas y bloques premium. Se renueva automáticamente, cancela cuando quieras.