44 lines
2.1 KiB
Plaintext
44 lines
2.1 KiB
Plaintext
<nav class="sticky top-0 z-50 w-full bg-indigo-900">
|
|
<div class="container mx-auto px-4 sm:px-6 lg:px-12 xl:px-24 xxl:px-32 py-3">
|
|
|
|
<!-- Mobile & Tablet: Logo + Post Button (Top Stack) -->
|
|
<!-- Desktop: Flex Row -->
|
|
<div class="flex flex-col md:flex-row md:items-center md:justify-between gap-2 md:gap-4">
|
|
|
|
<!-- Left: Logo -->
|
|
<div class="flex justify-between items-center md:w-auto w-full">
|
|
<a href="#" class="text-xl font-heading font-bold text-gray-100">resharespace</a>
|
|
|
|
<!-- Post Space button (mobile visible only inline with logo) -->
|
|
<div class="md:hidden">
|
|
<button class="bg-indigo-700 text-gray-100 font-heading text-base hover:bg-gray-100 hover:text-indigo-900 px-4 py-2 rounded-base ml-auto" onclick="toggleNavbar('post-modal');toggleOverlay('collapse-overlay')">
|
|
Post Space
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Search Input (Full width on mobile, center on desktop) -->
|
|
<div class="w-full md:flex-1 md:px-4">
|
|
<div class="relative">
|
|
<input
|
|
type="search"
|
|
placeholder="Where do you want to work today?"
|
|
class="w-full bg-gray-100 h-10 px-3 pr-10 rounded-base text-sm text-indigo-900 focus:outline-none"
|
|
/>
|
|
<button type="submit" class="absolute right-0 top-1.5 mr-2">
|
|
<img alt="Search" src="assets/svg/icon_search.svg" class="h-5 w-5 text-indigo-700">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Right: Post Space button (desktop only) -->
|
|
<div class="hidden md:flex md:items-center">
|
|
<button class="bg-indigo-700 text-gray-100 font-heading text-base px-5 py-2 rounded-base hover:bg-gray-100 hover:text-indigo-900" onclick="toggleNavbar('post-modal');toggleOverlay('collapse-overlay')">
|
|
Post Space
|
|
</button>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</nav>
|