feat: Add header to inquiry modal

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-11 02:57:15 +08:00
1 parent 57b902940c
commit bfe9083d5d
1 file changed
+14
+14
View File
@@ -1,5 +1,19 @@
<!-- Sidebar Inquiry Modal --> <!-- Sidebar Inquiry Modal -->
<aside id="inquiry-modal" class="fixed inset-0 z-50 hidden bg-black bg-opacity-50 flex items-center justify-center lg:items-start lg:justify-end"> <aside id="inquiry-modal" class="fixed inset-0 z-50 hidden bg-black bg-opacity-50 flex items-center justify-center lg:items-start lg:justify-end">
<!-- Modal Header with Close Button -->
<div class="sticky top-0 bg-white z-10 px-4 sm:px-6 py-4 border-b border-gray-200">
<div class="flex items-center justify-between">
<h2 class="text-lg font-medium text-gray-900" id="modal-title">
Cozy coworking space in the heart of the south
</h2>
<button type="button" onclick="toggleNavbar('post-modal'); if (typeof toggleOverlay === 'function') toggleOverlay('collapse-overlay');" class="bg-white rounded-md text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
<span class="sr-only">Close</span>
<svg class="h-6 w-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
</svg>
</button>
</div>
</div>
<!-- Modal container --> <!-- Modal container -->
<div class="relative w-full max-w-lg bg-white shadow-lg overflow-y-auto <div class="relative w-full max-w-lg bg-white shadow-lg overflow-y-auto
lg:fixed lg:top-0 lg:right-0 lg:bottom-0 lg:h-screen lg:w-[420px] lg:max-w-none rounded-lg lg:rounded-none"> lg:fixed lg:top-0 lg:right-0 lg:bottom-0 lg:h-screen lg:w-[420px] lg:max-w-none rounded-lg lg:rounded-none">