style: Apply font-heading css style to headings, labels, buttons
This commit is contained in:
1 parent
378f320911
commit
cd9af6e63a
4 files changed
+54
-54
No files matched your search
@@ -15,7 +15,7 @@
|
|||||||
{% assign days_array = days_array | split: "," %}
|
{% assign days_array = days_array | split: "," %}
|
||||||
|
|
||||||
<div class="relative group">
|
<div class="relative group">
|
||||||
<label for="calendar-input-{{ include.id | default: 'default' }}" class="block text-xs font-medium text-gray-700 mb-1">{{ include.label | default: "Select Date" }}</label>
|
<label for="calendar-input-{{ include.id | default: 'default' }}" class="block text-xs font-medium text-gray-700 mb-1 font-heading">{{ include.label | default: "Select Date" }}</label>
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
@@ -82,8 +82,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mt-3 pt-2.5 border-gray-200 flex items-center space-x-2">
|
<div class="mt-3 pt-2.5 border-gray-200 flex items-center space-x-2">
|
||||||
<button type="button" class="bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">Cancel</button>
|
<button type="button" class="bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">Cancel</button>
|
||||||
<button type="button" class="bg-indigo-900 text-sm text-gray-100 font-semibold py-2 px-4 rounded-lg flex-1 flex items-center justify-center border-2 border-transparent hover:border-indigo-700 focus:outline-none focus:ring-1 focus:ring-offset-1 focus:ring-indigo-500">Set Date</button>
|
<button type="button" class="bg-indigo-900 text-sm text-gray-100 font-semibold py-2 px-4 rounded-lg flex-1 flex items-center justify-center border-2 border-transparent hover:border-indigo-700 focus:outline-none focus:ring-1 focus:ring-offset-1 focus:ring-indigo-500 font-heading">Set Date</button>
|
||||||
</div>
|
</div>
|
||||||
<p class="text-xs text-gray-500 mt-2 text-center">This is a visual mock-up. Date selection is not functional.</p>
|
<p class="text-xs text-gray-500 mt-2 text-center">This is a visual mock-up. Date selection is not functional.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="container mx-auto px-4 sm:px-16 md:px-10 lg:px-12 xl:px-24 xxl:px-32">
|
<div class="container mx-auto px-4 sm:px-16 md:px-10 lg:px-12 xl:px-24 xxl:px-32">
|
||||||
<!-- Mobile Filter Trigger -->
|
<!-- Mobile Filter Trigger -->
|
||||||
<div class="sm:hidden flex justify-between items-center">
|
<div class="sm:hidden flex justify-between items-center">
|
||||||
<span class="text-base font-semibold text-gray-800">Filters & Sort</span>
|
<span class="text-base font-semibold text-gray-800 font-heading">Filters & Sort</span>
|
||||||
<button id="open-mobile-filters-btn" class="bg-indigo-700 text-white font-semibold py-2 px-4 rounded-lg text-sm inline-flex items-center font-heading text-xl">
|
<button id="open-mobile-filters-btn" class="bg-indigo-700 text-white font-semibold py-2 px-4 rounded-lg text-sm inline-flex items-center font-heading text-xl">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" viewBox="0 0 20 20" fill="currentColor">
|
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" viewBox="0 0 20 20" fill="currentColor">
|
||||||
<path fill-rule="evenodd" d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h6a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" clip-rule="evenodd" />
|
<path fill-rule="evenodd" d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h6a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" clip-rule="evenodd" />
|
||||||
@@ -29,12 +29,12 @@
|
|||||||
<input type="text" placeholder="Type something here..." class="w-full px-3 py-2 border border-gray-300 rounded-base text-sm focus:outline-none focus:ring-1 focus:ring-indigo-700 focus:border-indigo-700">
|
<input type="text" placeholder="Type something here..." class="w-full px-3 py-2 border border-gray-300 rounded-base text-sm focus:outline-none focus:ring-1 focus:ring-indigo-700 focus:border-indigo-700">
|
||||||
</div>
|
</div>
|
||||||
<div class="max-h-60 overflow-y-auto">
|
<div class="max-h-60 overflow-y-auto">
|
||||||
<p class="pl-3 pt-2 font-semibold text-gray-700 text-sm">Geolocation</p>
|
<p class="pl-3 pt-2 font-semibold text-gray-700 text-sm font-heading">Geolocation</p>
|
||||||
<div class="pt-1 px-3">
|
<div class="pt-1 px-3">
|
||||||
<a href="#" class="block px-4 py-2 my-1 text-sm text-gray-700 hover:bg-gray-100 rounded-sm focus:outline-none focus:bg-gray-100 focus:text-gray-900">Nearby</a>
|
<a href="#" class="block px-4 py-2 my-1 text-sm text-gray-700 hover:bg-gray-100 rounded-sm focus:outline-none focus:bg-gray-100 focus:text-gray-900">Nearby</a>
|
||||||
<a href="#" class="block px-4 py-2 my-1 text-sm text-gray-700 hover:bg-gray-100 rounded-sm focus:outline-none focus:bg-gray-100 focus:text-gray-900">Anywhere</a>
|
<a href="#" class="block px-4 py-2 my-1 text-sm text-gray-700 hover:bg-gray-100 rounded-sm focus:outline-none focus:bg-gray-100 focus:text-gray-900">Anywhere</a>
|
||||||
</div>
|
</div>
|
||||||
<p class="pl-3 pt-2 font-semibold text-gray-700 text-sm">City</p>
|
<p class="pl-3 pt-2 font-semibold text-gray-700 text-sm font-heading">City</p>
|
||||||
<div class="px-3 pt-1">
|
<div class="px-3 pt-1">
|
||||||
<input type="text" placeholder="Search city..." class="w-full px-3 py-2 border border-gray-300 rounded-base text-sm focus:outline-none focus:ring-1 focus:ring-indigo-700 focus:border-indigo-700">
|
<input type="text" placeholder="Search city..." class="w-full px-3 py-2 border border-gray-300 rounded-base text-sm focus:outline-none focus:ring-1 focus:ring-indigo-700 focus:border-indigo-700">
|
||||||
<!-- Placeholder for city list (would be populated by JS) -->
|
<!-- Placeholder for city list (would be populated by JS) -->
|
||||||
@@ -58,12 +58,12 @@
|
|||||||
<div id="availability-filter-dropdown" class="absolute z-10 mt-1 rounded-base bg-white shadow-lg hidden ring-1 ring-black ring-opacity-5" style="min-width: 300px;">
|
<div id="availability-filter-dropdown" class="absolute z-10 mt-1 rounded-base bg-white shadow-lg hidden ring-1 ring-black ring-opacity-5" style="min-width: 300px;">
|
||||||
<div class="py-3">
|
<div class="py-3">
|
||||||
<div class="max-h-60 overflow-y-auto">
|
<div class="max-h-60 overflow-y-auto">
|
||||||
<p class="pl-3 pt-1 font-semibold text-gray-700 text-sm">Availability</p>
|
<p class="pl-3 pt-1 font-semibold text-gray-700 text-sm font-heading">Availability</p>
|
||||||
<div class="pt-1 px-3">
|
<div class="pt-1 px-3">
|
||||||
<a href="#" class="block px-4 py-2 my-1 text-sm text-gray-700 hover:bg-gray-100 rounded-sm focus:outline-none focus:bg-gray-100 focus:text-gray-900">Open Now</a>
|
<a href="#" class="block px-4 py-2 my-1 text-sm text-gray-700 hover:bg-gray-100 rounded-sm focus:outline-none focus:bg-gray-100 focus:text-gray-900">Open Now</a>
|
||||||
<a href="#" class="block px-4 py-2 my-1 text-sm text-gray-700 hover:bg-gray-100 rounded-sm focus:outline-none focus:bg-gray-100 focus:text-gray-900">Open Always</a>
|
<a href="#" class="block px-4 py-2 my-1 text-sm text-gray-700 hover:bg-gray-100 rounded-sm focus:outline-none focus:bg-gray-100 focus:text-gray-900">Open Always</a>
|
||||||
</div>
|
</div>
|
||||||
<p class="pl-3 pt-2 font-semibold text-gray-700 text-sm">Future Availability</p>
|
<p class="pl-3 pt-2 font-semibold text-gray-700 text-sm font-heading">Future Availability</p>
|
||||||
<div class="px-3 pt-1">
|
<div class="px-3 pt-1">
|
||||||
<input type="text" id="availability-future" placeholder="e.g., 1 hour from now" class="w-full px-3 py-2 border border-gray-300 rounded-base text-sm focus:outline-none focus:ring-1 focus:ring-indigo-700 focus:border-indigo-700">
|
<input type="text" id="availability-future" placeholder="e.g., 1 hour from now" class="w-full px-3 py-2 border border-gray-300 rounded-base text-sm focus:outline-none focus:ring-1 focus:ring-indigo-700 focus:border-indigo-700">
|
||||||
</div>
|
</div>
|
||||||
@@ -193,7 +193,7 @@
|
|||||||
<!-- Drawer Header -->
|
<!-- Drawer Header -->
|
||||||
<div class="flex items-center justify-between p-4 border-b border-gray-200">
|
<div class="flex items-center justify-between p-4 border-b border-gray-200">
|
||||||
<div class="w-8 h-1 bg-gray-300 rounded-full mx-auto absolute top-2 left-1/2 -translate-x-1/2"></div> <!-- Drag handle -->
|
<div class="w-8 h-1 bg-gray-300 rounded-full mx-auto absolute top-2 left-1/2 -translate-x-1/2"></div> <!-- Drag handle -->
|
||||||
<h3 class="text-lg font-semibold text-gray-800 flex-1 text-center">Filters & Sort</h3>
|
<h3 class="text-lg font-semibold text-gray-800 flex-1 text-center font-heading">Filters & Sort</h3>
|
||||||
<button id="close-mobile-filters-btn" class="text-gray-500 hover:text-gray-700 p-1 rounded-full hover:bg-gray-100 font-heading text-xl">
|
<button id="close-mobile-filters-btn" class="text-gray-500 hover:text-gray-700 p-1 rounded-full hover:bg-gray-100 font-heading text-xl">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<!-- Modal Header with Close Button -->
|
<!-- 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="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">
|
<div class="flex items-center justify-between">
|
||||||
<h2 class="text-lg font-medium text-gray-900" id="inquiry-modal-title">
|
<h2 class="text-lg font-medium text-gray-900 font-heading" id="inquiry-modal-title">
|
||||||
Inquire this Listing
|
Inquire this Listing
|
||||||
</h2>
|
</h2>
|
||||||
<button type="button" onclick="toggleNavbar('inquiry-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">
|
<button type="button" onclick="toggleNavbar('inquiry-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">
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
<div id="inquiry-form-view">
|
<div id="inquiry-form-view">
|
||||||
<!-- Modal Content -->
|
<!-- Modal Content -->
|
||||||
<div class="bg-white h-auto lg:h-full overflow-y-auto">
|
<div class="bg-white h-auto lg:h-full overflow-y-auto">
|
||||||
<h2 class="text-lg font-semibold text-gray-800 mb-1">Cozy coworking space in the heart of the south</h2>
|
<h2 class="text-lg font-semibold text-gray-800 mb-1 font-heading">Cozy coworking space in the heart of the south</h2>
|
||||||
<p class="text-xs text-gray-600 mb-2">Incub8 space, Centennial Road, Brgy. Batong Dalig, Kawit, Cavite</p>
|
<p class="text-xs text-gray-600 mb-2">Incub8 space, Centennial Road, Brgy. Batong Dalig, Kawit, Cavite</p>
|
||||||
<p class="text-xs text-gray-500 mb-3">5 hrs ago</p>
|
<p class="text-xs text-gray-500 mb-3">5 hrs ago</p>
|
||||||
|
|
||||||
@@ -55,29 +55,29 @@
|
|||||||
<!-- Form Fields -->
|
<!-- Form Fields -->
|
||||||
<form class="space-y-3">
|
<form class="space-y-3">
|
||||||
<div>
|
<div>
|
||||||
<label for="inquiry-full-name" class="block text-xs font-medium text-gray-700 mb-1">Full Name</label>
|
<label for="inquiry-full-name" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Full Name</label>
|
||||||
<input type="text" id="inquiry-full-name" placeholder="Full Name" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm" required>
|
<input type="text" id="inquiry-full-name" placeholder="Full Name" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm" required>
|
||||||
<p class="text-xs text-red-500 mt-1 hidden">Invalid Name</p> <!-- Example error message, initially hidden -->
|
<p class="text-xs text-red-500 mt-1 hidden">Invalid Name</p> <!-- Example error message, initially hidden -->
|
||||||
</div>
|
</div>
|
||||||
<div class="flex gap-3">
|
<div class="flex gap-3">
|
||||||
<div class="w-1/2">
|
<div class="w-1/2">
|
||||||
<label for="inquiry-contact-num" class="block text-xs font-medium text-gray-700 mb-1">Contact #</label>
|
<label for="inquiry-contact-num" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Contact #</label>
|
||||||
<input type="tel" id="inquiry-contact-num" placeholder="Contact #" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm" required>
|
<input type="tel" id="inquiry-contact-num" placeholder="Contact #" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm" required>
|
||||||
<p class="text-xs text-red-500 mt-1 hidden">Invalid Phone Number</p>
|
<p class="text-xs text-red-500 mt-1 hidden">Invalid Phone Number</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-1/2">
|
<div class="w-1/2">
|
||||||
<label for="inquiry-email" class="block text-xs font-medium text-gray-700 mb-1">Email Address</label>
|
<label for="inquiry-email" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Email Address</label>
|
||||||
<input type="email" id="inquiry-email" placeholder="Email Address" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm" required>
|
<input type="email" id="inquiry-email" placeholder="Email Address" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm" required>
|
||||||
<p class="text-xs text-red-500 mt-1 hidden">Invalid Email Address</p>
|
<p class="text-xs text-red-500 mt-1 hidden">Invalid Email Address</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="inquiry-message" class="block text-xs font-medium text-gray-700 mb-1">Optional Message</label>
|
<label for="inquiry-message" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Optional Message</label>
|
||||||
<textarea id="inquiry-message" rows="3" placeholder="Optional Message" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm"></textarea>
|
<textarea id="inquiry-message" rows="3" placeholder="Optional Message" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm"></textarea>
|
||||||
<p class="text-xs text-red-500 mt-1 hidden">Invalid Message</p>
|
<p class="text-xs text-red-500 mt-1 hidden">Invalid Message</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="pt-2">
|
<div class="pt-2">
|
||||||
<button type="submit" class="w-full bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-center border-2 border-transparent hover:border-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
|
<button type="submit" class="w-full bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-center border-2 border-transparent hover:border-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 font-heading">
|
||||||
<img src="assets/svg/icon_spinner.svg" class="h-4 animate-spin mr-2 hidden" alt="Loading"> Send Inquiry
|
<img src="assets/svg/icon_spinner.svg" class="h-4 animate-spin mr-2 hidden" alt="Loading"> Send Inquiry
|
||||||
</button>
|
</button>
|
||||||
<p class="text-xs mt-2 text-gray-600 font-thin text-center">
|
<p class="text-xs mt-2 text-gray-600 font-thin text-center">
|
||||||
@@ -92,14 +92,14 @@
|
|||||||
<div id="inquiry-map-view" class="hidden">
|
<div id="inquiry-map-view" class="hidden">
|
||||||
<div class="bg-white h-auto lg:h-full overflow-y-auto">
|
<div class="bg-white h-auto lg:h-full overflow-y-auto">
|
||||||
<!-- Back Button -->
|
<!-- Back Button -->
|
||||||
<button type="button" onclick="showFormView()" class="mb-4 inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">
|
<button type="button" onclick="showFormView()" class="mb-4 inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">
|
||||||
<svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
<svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
||||||
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
|
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
|
||||||
</svg>
|
</svg>
|
||||||
Back to Inquiry
|
Back to Inquiry
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<h2 class="text-lg font-semibold text-gray-800 mb-1">Location for Cozy coworking space</h2>
|
<h2 class="text-lg font-semibold text-gray-800 mb-1 font-heading">Location for Cozy coworking space</h2>
|
||||||
<p class="text-xs text-gray-600 mb-3">Incub8 space, Centennial Road, Brgy. Batong Dalig, Kawit, Cavite</p>
|
<p class="text-xs text-gray-600 mb-3">Incub8 space, Centennial Road, Brgy. Batong Dalig, Kawit, Cavite</p>
|
||||||
|
|
||||||
<!-- Map Placeholder -->
|
<!-- Map Placeholder -->
|
||||||
@@ -109,7 +109,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Directions Button -->
|
<!-- Directions Button -->
|
||||||
<a href="https://www.google.com/maps/dir/?api=1&destination=Incub8+space,+Centennial+Road,+Brgy.+Batong+Dalig,+Kawit,+Cavite" target="_blank" rel="noopener noreferrer" id="get-directions-link" class="w-full bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-center border-2 border-transparent hover:border-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500">
|
<a href="https://www.google.com/maps/dir/?api=1&destination=Incub8+space,+Centennial+Road,+Brgy.+Batong+Dalig,+Kawit,+Cavite" target="_blank" rel="noopener noreferrer" id="get-directions-link" class="w-full bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-center border-2 border-transparent hover:border-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 font-heading">
|
||||||
Get Directions
|
Get Directions
|
||||||
</a>
|
</a>
|
||||||
<p class="text-xs mt-2 text-gray-600 font-thin text-center">
|
<p class="text-xs mt-2 text-gray-600 font-thin text-center">
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<!-- Modal Header with Close Button -->
|
<!-- 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="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">
|
<div class="flex items-center justify-between">
|
||||||
<h2 class="text-lg font-medium text-gray-900" id="modal-title">
|
<h2 class="text-lg font-medium text-gray-900 font-heading" id="modal-title">
|
||||||
Post a New Listing
|
Post a New Listing
|
||||||
</h2>
|
</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">
|
<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">
|
||||||
@@ -22,42 +22,42 @@
|
|||||||
<div class="flex justify-between mb-6">
|
<div class="flex justify-between mb-6">
|
||||||
<div id="step-indicator-1-modal" class="step-indicator-modal active-step-modal text-center flex-1">
|
<div id="step-indicator-1-modal" class="step-indicator-modal active-step-modal text-center flex-1">
|
||||||
<div class="w-8 h-8 mx-auto rounded-full bg-indigo-700 text-white flex items-center justify-center text-xs">1</div>
|
<div class="w-8 h-8 mx-auto rounded-full bg-indigo-700 text-white flex items-center justify-center text-xs">1</div>
|
||||||
<p class="text-xs mt-1">Description</p>
|
<p class="text-xs mt-1 font-heading">Description</p>
|
||||||
</div>
|
</div>
|
||||||
<div id="step-indicator-2-modal" class="step-indicator-modal text-center text-gray-500 flex-1">
|
<div id="step-indicator-2-modal" class="step-indicator-modal text-center text-gray-500 flex-1">
|
||||||
<div class="w-8 h-8 mx-auto rounded-full bg-gray-300 flex items-center justify-center text-xs">2</div>
|
<div class="w-8 h-8 mx-auto rounded-full bg-gray-300 flex items-center justify-center text-xs">2</div>
|
||||||
<p class="text-xs mt-1">Location</p>
|
<p class="text-xs mt-1 font-heading">Location</p>
|
||||||
</div>
|
</div>
|
||||||
<div id="step-indicator-3-modal" class="step-indicator-modal text-center text-gray-500 flex-1">
|
<div id="step-indicator-3-modal" class="step-indicator-modal text-center text-gray-500 flex-1">
|
||||||
<div class="w-8 h-8 mx-auto rounded-full bg-gray-300 flex items-center justify-center text-xs">3</div>
|
<div class="w-8 h-8 mx-auto rounded-full bg-gray-300 flex items-center justify-center text-xs">3</div>
|
||||||
<p class="text-xs mt-1">Price & Availability</p>
|
<p class="text-xs mt-1 font-heading">Price & Availability</p>
|
||||||
</div>
|
</div>
|
||||||
<div id="step-indicator-4-modal" class="step-indicator-modal text-center text-gray-500 flex-1">
|
<div id="step-indicator-4-modal" class="step-indicator-modal text-center text-gray-500 flex-1">
|
||||||
<div class="w-8 h-8 mx-auto rounded-full bg-gray-300 flex items-center justify-center text-xs">4</div>
|
<div class="w-8 h-8 mx-auto rounded-full bg-gray-300 flex items-center justify-center text-xs">4</div>
|
||||||
<p class="text-xs mt-1">Contact</p>
|
<p class="text-xs mt-1 font-heading">Contact</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form id="new-listing-form-modal">
|
<form id="new-listing-form-modal">
|
||||||
<!-- Step 1: Description -->
|
<!-- Step 1: Description -->
|
||||||
<div id="step-1-modal" class="form-step-modal active-step-modal">
|
<div id="step-1-modal" class="form-step-modal active-step-modal">
|
||||||
<h2 class="text-lg font-semibold text-indigo-700 mb-4">Step 1: Listing Description</h2>
|
<h2 class="text-lg font-semibold text-indigo-700 mb-4 font-heading">Step 1: Listing Description</h2>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<div>
|
<div>
|
||||||
<label for="photo-modal" class="block text-xs font-medium text-gray-700 mb-1">Listing Photo</label>
|
<label for="photo-modal" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Listing Photo</label>
|
||||||
<input type="file" id="photo-modal" name="photo" class="w-full text-xs text-gray-500 file:mr-4 file:py-2 file:px-4 file:rounded-sm file:border-0 file:text-xs file:font-semibold file:bg-indigo-50 file:text-indigo-700 hover:file:bg-indigo-100 border border-gray-300 rounded-sm cursor-pointer focus:outline-none focus:border-indigo-600" accept="image/*">
|
<input type="file" id="photo-modal" name="photo" class="w-full text-xs text-gray-500 file:mr-4 file:py-2 file:px-4 file:rounded-sm file:border-0 file:text-xs file:font-semibold file:bg-indigo-50 file:text-indigo-700 hover:file:bg-indigo-100 border border-gray-300 rounded-sm cursor-pointer focus:outline-none focus:border-indigo-600" accept="image/*">
|
||||||
<p class="text-xs text-gray-500 mt-1">Upload one image (JPG, PNG).</p>
|
<p class="text-xs text-gray-500 mt-1">Upload one image (JPG, PNG).</p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="title-modal" class="block text-xs font-medium text-gray-700 mb-1">Title</label>
|
<label for="title-modal" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Title</label>
|
||||||
<input type="text" id="title-modal" name="title" placeholder="e.g., Modern Coworking Hub" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
<input type="text" id="title-modal" name="title" placeholder="e.g., Modern Coworking Hub" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="description-modal" class="block text-xs font-medium text-gray-700 mb-1">Description</label>
|
<label for="description-modal" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Description</label>
|
||||||
<textarea id="description-modal" name="description" rows="3" placeholder="Describe your space..." class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm"></textarea>
|
<textarea id="description-modal" name="description" rows="3" placeholder="Describe your space..." class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm"></textarea>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="space-type-modal" class="block text-xs font-medium text-gray-700 mb-1">Space Type</label>
|
<label for="space-type-modal" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Space Type</label>
|
||||||
<select id="space-type-modal" name="space-type" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm bg-white">
|
<select id="space-type-modal" name="space-type" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm bg-white">
|
||||||
<option value="">Select a space type</option>
|
<option value="">Select a space type</option>
|
||||||
<option value="coworking">Coworking</option>
|
<option value="coworking">Coworking</option>
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-6 flex justify-end">
|
<div class="mt-6 flex justify-end">
|
||||||
<button type="button" class="next-step-btn-modal bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">
|
<button type="button" class="next-step-btn-modal bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">
|
||||||
Next <svg class="w-5 h-5 ml-2 -mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" /></svg>
|
Next <svg class="w-5 h-5 ml-2 -mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" /></svg>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -77,10 +77,10 @@
|
|||||||
|
|
||||||
<!-- Step 2: Location -->
|
<!-- Step 2: Location -->
|
||||||
<div id="step-2-modal" class="form-step-modal hidden">
|
<div id="step-2-modal" class="form-step-modal hidden">
|
||||||
<h2 class="text-lg font-semibold text-indigo-700 mb-4">Step 2: Location</h2>
|
<h2 class="text-lg font-semibold text-indigo-700 mb-4 font-heading">Step 2: Location</h2>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
<label for="location-search-modal" class="block text-xs font-medium text-gray-700 mb-1">Select Location</label>
|
<label for="location-search-modal" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Select Location</label>
|
||||||
<input type="text" id="location-search-modal" name="location-search" placeholder="Search city or area..." class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm" autocomplete="off">
|
<input type="text" id="location-search-modal" name="location-search" placeholder="Search city or area..." class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm" autocomplete="off">
|
||||||
<div id="location-dropdown-modal" class="absolute z-20 mt-1 w-full rounded-md bg-white shadow-lg hidden ring-1 ring-black ring-opacity-5 max-h-48 overflow-y-auto py-1">
|
<div id="location-dropdown-modal" class="absolute z-20 mt-1 w-full rounded-md bg-white shadow-lg hidden ring-1 ring-black ring-opacity-5 max-h-48 overflow-y-auto py-1">
|
||||||
<a href="#" data-value="Manila, Philippines" class="location-item-modal block px-4 py-2 text-xs text-gray-700 hover:bg-indigo-50 hover:text-indigo-600">Manila, Philippines</a>
|
<a href="#" data-value="Manila, Philippines" class="location-item-modal block px-4 py-2 text-xs text-gray-700 hover:bg-indigo-50 hover:text-indigo-600">Manila, Philippines</a>
|
||||||
@@ -93,22 +93,22 @@
|
|||||||
<input type="hidden" id="selected-location-modal" name="selected-location">
|
<input type="hidden" id="selected-location-modal" name="selected-location">
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="address-line-1-modal" class="block text-xs font-medium text-gray-700 mb-1">Address Line 1</label>
|
<label for="address-line-1-modal" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Address Line 1</label>
|
||||||
<input type="text" id="address-line-1-modal" name="address-line-1" placeholder="e.g., 123 Main St" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
<input type="text" id="address-line-1-modal" name="address-line-1" placeholder="e.g., 123 Main St" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="address-line-2-modal" class="block text-xs font-medium text-gray-700 mb-1">Address Line 2 (Optional)</label>
|
<label for="address-line-2-modal" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Address Line 2 (Optional)</label>
|
||||||
<input type="text" id="address-line-2-modal" name="address-line-2" placeholder="e.g., Brgy. Batong Dalig" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
<input type="text" id="address-line-2-modal" name="address-line-2" placeholder="e.g., Brgy. Batong Dalig" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-6 flex justify-between">
|
<div class="mt-6 flex justify-between">
|
||||||
<button type="button" class="prev-step-btn-modal bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">
|
<button type="button" class="prev-step-btn-modal bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">
|
||||||
<svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
<svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
||||||
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
|
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
|
||||||
</svg>
|
</svg>
|
||||||
Previous
|
Previous
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="next-step-btn-modal bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">
|
<button type="button" class="next-step-btn-modal bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">
|
||||||
Next <svg class="w-5 h-5 ml-2 -mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" /></svg>
|
Next <svg class="w-5 h-5 ml-2 -mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" /></svg>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -116,10 +116,10 @@
|
|||||||
|
|
||||||
<!-- Step 3: Price & Availability -->
|
<!-- Step 3: Price & Availability -->
|
||||||
<div id="step-3-modal" class="form-step-modal hidden">
|
<div id="step-3-modal" class="form-step-modal hidden">
|
||||||
<h2 class="text-lg font-semibold text-indigo-700 mb-4">Step 3: Price & Availability</h2>
|
<h2 class="text-lg font-semibold text-indigo-700 mb-4 font-heading">Step 3: Price & Availability</h2>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<div>
|
<div>
|
||||||
<label for="price-modal" class="block text-xs font-medium text-gray-700 mb-1">Price (PHP per day)</label>
|
<label for="price-modal" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Price (PHP per day)</label>
|
||||||
<div class="relative mt-1 rounded-sm shadow-sm">
|
<div class="relative mt-1 rounded-sm shadow-sm">
|
||||||
<div class="pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3">
|
<div class="pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3">
|
||||||
<span class="text-gray-500 text-sm">₱</span>
|
<span class="text-gray-500 text-sm">₱</span>
|
||||||
@@ -129,7 +129,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h3 class="text-sm font-medium text-gray-700 mb-2">Availability Date Range</h3>
|
<h3 class="text-sm font-medium text-gray-700 mb-2 font-heading">Availability Date Range</h3>
|
||||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-3">
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-3">
|
||||||
{% include calendar_input.liquid
|
{% include calendar_input.liquid
|
||||||
id="start_datepicker"
|
id="start_datepicker"
|
||||||
@@ -146,13 +146,13 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<h3 class="text-sm font-medium text-gray-700 mb-2">Weekly Availability & Hours</h3>
|
<h3 class="text-sm font-medium text-gray-700 mb-2 font-heading">Weekly Availability & Hours</h3>
|
||||||
{% assign days_list_modal = "Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday" | split: "," %}
|
{% assign days_list_modal = "Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday" | split: "," %}
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<div class="flex flex-wrap border-b border-gray-200">
|
<div class="flex flex-wrap border-b border-gray-200">
|
||||||
{% for day_label_modal in days_list_modal %}
|
{% for day_label_modal in days_list_modal %}
|
||||||
<button type="button"
|
<button type="button"
|
||||||
class="day-tab-button-modal -mb-px py-1.5 px-3 border-b-2 border-transparent text-xs font-medium text-gray-500 hover:text-gray-700 hover:border-gray-300 focus:outline-none"
|
class="day-tab-button-modal -mb-px py-1.5 px-3 border-b-2 border-transparent text-xs font-medium text-gray-500 hover:text-gray-700 hover:border-gray-300 focus:outline-none font-heading"
|
||||||
data-day-target="{{ day_label_modal | downcase }}">
|
data-day-target="{{ day_label_modal | downcase }}">
|
||||||
{{ day_label_modal | slice: 0, 3 }} <!-- Abbreviated day name -->
|
{{ day_label_modal | slice: 0, 3 }} <!-- Abbreviated day name -->
|
||||||
</button>
|
</button>
|
||||||
@@ -163,7 +163,7 @@
|
|||||||
{% for day_label_modal in days_list_modal %}
|
{% for day_label_modal in days_list_modal %}
|
||||||
<div id="availability-content-{{ day_label_modal | downcase }}-modal" class="day-availability-content-modal hidden">
|
<div id="availability-content-{{ day_label_modal | downcase }}-modal" class="day-availability-content-modal hidden">
|
||||||
<div class="bg-gray-50 p-3 rounded-md shadow-sm space-y-3">
|
<div class="bg-gray-50 p-3 rounded-md shadow-sm space-y-3">
|
||||||
<label for="available-{{ day_label_modal | downcase }}-modal" class="flex items-center justify-between w-full cursor-pointer">
|
<label for="available-{{ day_label_modal | downcase }}-modal" class="flex items-center justify-between w-full cursor-pointer font-heading">
|
||||||
<span class="text-xs font-medium text-gray-900">Available on {{ day_label_modal }}</span>
|
<span class="text-xs font-medium text-gray-900">Available on {{ day_label_modal }}</span>
|
||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
id="available-{{ day_label_modal | downcase }}-modal"
|
id="available-{{ day_label_modal | downcase }}-modal"
|
||||||
@@ -177,11 +177,11 @@
|
|||||||
|
|
||||||
<div id="time-selection-{{ day_label_modal | downcase }}-modal" class="day-specific-time-inputs-modal mt-3 grid grid-cols-1 sm:grid-cols-2 gap-x-3 gap-y-2 hidden">
|
<div id="time-selection-{{ day_label_modal | downcase }}-modal" class="day-specific-time-inputs-modal mt-3 grid grid-cols-1 sm:grid-cols-2 gap-x-3 gap-y-2 hidden">
|
||||||
<div>
|
<div>
|
||||||
<label for="start-time-{{ day_label_modal | downcase }}-modal" class="block text-xs font-medium text-gray-700 mb-0.5">Open</label>
|
<label for="start-time-{{ day_label_modal | downcase }}-modal" class="block text-xs font-medium text-gray-700 mb-0.5 font-heading">Open</label>
|
||||||
<input type="time" id="start-time-{{ day_label_modal | downcase }}-modal" name="start_time_{{ day_label_modal | downcase }}" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm bg-white">
|
<input type="time" id="start-time-{{ day_label_modal | downcase }}-modal" name="start_time_{{ day_label_modal | downcase }}" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm bg-white">
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="end-time-{{ day_label_modal | downcase }}-modal" class="block text-xs font-medium text-gray-700 mb-0.5">Close</label>
|
<label for="end-time-{{ day_label_modal | downcase }}-modal" class="block text-xs font-medium text-gray-700 mb-0.5 font-heading">Close</label>
|
||||||
<input type="time" id="end-time-{{ day_label_modal | downcase }}-modal" name="end_time_{{ day_label_modal | downcase }}" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm bg-white">
|
<input type="time" id="end-time-{{ day_label_modal | downcase }}-modal" name="end_time_{{ day_label_modal | downcase }}" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm bg-white">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -191,13 +191,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-6 flex justify-between">
|
<div class="mt-6 flex justify-between">
|
||||||
<button type="button" class="prev-step-btn-modal bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">
|
<button type="button" class="prev-step-btn-modal bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">
|
||||||
<svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
<svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
||||||
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
|
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
|
||||||
</svg>
|
</svg>
|
||||||
Previous
|
Previous
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="next-step-btn-modal bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">
|
<button type="button" class="next-step-btn-modal bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">
|
||||||
Next <svg class="w-5 h-5 ml-2 -mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" /></svg>
|
Next <svg class="w-5 h-5 ml-2 -mr-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" /></svg>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -205,39 +205,39 @@
|
|||||||
|
|
||||||
<!-- Step 4: Contact Information -->
|
<!-- Step 4: Contact Information -->
|
||||||
<div id="step-4-modal" class="form-step-modal hidden">
|
<div id="step-4-modal" class="form-step-modal hidden">
|
||||||
<h2 class="text-lg font-semibold text-indigo-700 mb-4">Step 4: Contact Information</h2>
|
<h2 class="text-lg font-semibold text-indigo-700 mb-4 font-heading">Step 4: Contact Information</h2>
|
||||||
<div class="space-y-4">
|
<div class="space-y-4">
|
||||||
<div>
|
<div>
|
||||||
<label for="space-name-modal" class="block text-xs font-medium text-gray-700 mb-1">Coworking Space Name</label>
|
<label for="space-name-modal" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Coworking Space Name</label>
|
||||||
<input type="text" id="space-name-modal" name="space_name" placeholder="e.g., The Productive Corner" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
<input type="text" id="space-name-modal" name="space_name" placeholder="e.g., The Productive Corner" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
||||||
</div>
|
</div>
|
||||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-3">
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-3">
|
||||||
<div>
|
<div>
|
||||||
<label for="contact-first-name-modal" class="block text-xs font-medium text-gray-700 mb-1">Contact Person - First Name</label>
|
<label for="contact-first-name-modal" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Contact Person - First Name</label>
|
||||||
<input type="text" id="contact-first-name-modal" name="contact_first_name" placeholder="John" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
<input type="text" id="contact-first-name-modal" name="contact_first_name" placeholder="John" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="contact-last-name-modal" class="block text-xs font-medium text-gray-700 mb-1">Contact Person - Last Name</label>
|
<label for="contact-last-name-modal" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Contact Person - Last Name</label>
|
||||||
<input type="text" id="contact-last-name-modal" name="contact_last_name" placeholder="Doe" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
<input type="text" id="contact-last-name-modal" name="contact_last_name" placeholder="Doe" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="contact-number-modal" class="block text-xs font-medium text-gray-700 mb-1">Contact Number</label>
|
<label for="contact-number-modal" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Contact Number</label>
|
||||||
<input type="tel" id="contact-number-modal" name="contact_number" placeholder="e.g., 09171234567" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
<input type="tel" id="contact-number-modal" name="contact_number" placeholder="e.g., 09171234567" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="contact-email-modal" class="block text-xs font-medium text-gray-700 mb-1">Email Address</label>
|
<label for="contact-email-modal" class="block text-xs font-medium text-gray-700 mb-1 font-heading">Email Address</label>
|
||||||
<input type="email" id="contact-email-modal" name="contact_email" placeholder="you@example.com" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
<input type="email" id="contact-email-modal" name="contact_email" placeholder="you@example.com" class="w-full px-3 py-2 border border-gray-300 rounded-sm focus:outline-none focus:border-indigo-600 text-sm">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-6 flex justify-between items-center">
|
<div class="mt-6 flex justify-between items-center">
|
||||||
<button type="button" class="prev-step-btn-modal bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">
|
<button type="button" class="prev-step-btn-modal bg-gray-100 text-indigo-900 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">
|
||||||
<svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
<svg class="w-5 h-5 mr-2 -ml-1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
||||||
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
|
<path fill-rule="evenodd" d="M12.707 5.293a1 1 0 010 1.414L9.414 10l3.293 3.293a1 1 0 01-1.414 1.414l-4-4a1 1 0 010-1.414l4-4a1 1 0 011.414 0z" clip-rule="evenodd" />
|
||||||
</svg>
|
</svg>
|
||||||
Previous
|
Previous
|
||||||
</button>
|
</button>
|
||||||
<button type="submit" class="bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700">
|
<button type="submit" class="bg-indigo-900 text-gray-100 font-semibold py-2 px-4 rounded-lg inline-flex items-center justify-between border-2 border-transparent hover:border-indigo-700 font-heading">
|
||||||
Submit Listing
|
Submit Listing
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user