style: Compact inquiry sidebar and apply post styles

This commit is contained in:
Kerby Martino (aider) committed 2025-05-11 03:11:27 +08:00
1 parent d93ca99690
commit 55f69c3403
1 file changed
+34 -30
+34 -30
View File
@@ -19,58 +19,62 @@
<div class="flex-1 overflow-y-auto p-4 sm:p-6">
<!-- Modal Content -->
<div class="bg-white h-auto p-6 lg:h-full overflow-y-auto">
<h2 class="text-xl font-bold mb-2">Cozy coworking space in the heart of the south</h2>
<p class="text-sm text-gray-600 mb-4">Incub8 space, Centennial Road, Brgy. Batong Dalig, Kawit, Cavite</p>
<p class="text-xs text-gray-500 mb-4">5 hrs ago</p>
<div class="bg-white h-auto p-4 sm:p-6 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>
<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>
<!-- Image -->
<img src="assets/img/SAMPLE3.png" alt="Sample" class="h-64 w-full object-cover">
<img src="assets/img/SAMPLE3.png" alt="Sample" class="h-48 sm:h-56 w-full object-cover rounded-md mb-4">
<!-- Action Buttons -->
<div class="flex gap-3 mb-6 flex-wrap">
<div class="w-12 h-12 bg-gray-100 rounded-full flex items-center justify-center hover:border-indigo-700 border-2 border-transparent">
<img src="assets/svg/icon_call.svg" class="w-5 h-5" alt="Call">
<div class="flex gap-2 mb-4 flex-wrap">
<div class="w-10 h-10 bg-gray-100 rounded-full flex items-center justify-center hover:border-indigo-700 border-2 border-transparent cursor-pointer">
<img src="assets/svg/icon_call.svg" class="w-4 h-4" alt="Call">
</div>
<div class="w-12 h-12 bg-gray-100 rounded-full flex items-center justify-center hover:border-indigo-700 border-2 border-transparent">
<img src="assets/svg/icon_pin.svg" class="w-5 h-5" alt="Pin">
<div class="w-10 h-10 bg-gray-100 rounded-full flex items-center justify-center hover:border-indigo-700 border-2 border-transparent cursor-pointer">
<img src="assets/svg/icon_pin.svg" class="w-4 h-4" alt="Pin">
</div>
<div class="w-12 h-12 bg-gray-100 rounded-full flex items-center justify-center hover:border-indigo-700 border-2 border-transparent">
<img src="assets/svg/icon_link.svg" class="w-5 h-5" alt="Link">
<div class="w-10 h-10 bg-gray-100 rounded-full flex items-center justify-center hover:border-indigo-700 border-2 border-transparent cursor-pointer">
<img src="assets/svg/icon_link.svg" class="w-4 h-4" alt="Link">
</div>
<div class="w-12 h-12 bg-gray-100 rounded-full flex items-center justify-center hover:border-indigo-700 border-2 border-transparent">
<img src="assets/svg/icon_report.svg" class="w-5 h-5" alt="Report">
<div class="w-10 h-10 bg-gray-100 rounded-full flex items-center justify-center hover:border-indigo-700 border-2 border-transparent cursor-pointer">
<img src="assets/svg/icon_report.svg" class="w-4 h-4" alt="Report">
</div>
<div class="w-12 h-12 bg-gray-100 rounded-full flex items-center justify-center hover:border-indigo-700 border-2 border-transparent">
<img src="assets/svg/icon_heart.svg" class="w-5 h-5" alt="Like">
<div class="w-10 h-10 bg-gray-100 rounded-full flex items-center justify-center hover:border-indigo-700 border-2 border-transparent cursor-pointer">
<img src="assets/svg/icon_heart.svg" class="w-4 h-4" alt="Like">
</div>
</div>
<!-- Form Fields -->
<form class="space-y-4">
<form class="space-y-3">
<div>
<input type="text" placeholder="Full Name" class="w-full px-3 py-2 border border-gray-400 rounded-sm focus:outline-none focus:border-indigo-700">
<p class="text-sm text-gray-500">Invalid Name</p>
<label for="inquiry-full-name" class="block text-xs font-medium text-gray-700 mb-1 sr-only">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>
<p class="text-xs text-red-500 mt-1 hidden">Invalid Name</p> <!-- Example error message, initially hidden -->
</div>
<div class="flex gap-2">
<div class="flex gap-3">
<div class="w-1/2">
<input type="text" placeholder="Contact #" class="w-full px-3 py-2 border border-gray-400 rounded-sm focus:outline-none focus:border-indigo-700">
<p class="text-sm text-gray-500">Invalid Phone Number</p>
<label for="inquiry-contact-num" class="block text-xs font-medium text-gray-700 mb-1 sr-only">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>
<p class="text-xs text-red-500 mt-1 hidden">Invalid Phone Number</p>
</div>
<div class="w-1/2">
<input type="email" placeholder="Email Address" class="w-full px-3 py-2 border border-gray-400 rounded-sm focus:outline-none focus:border-indigo-700">
<p class="text-sm text-gray-500">Invalid Email Address</p>
<label for="inquiry-email" class="block text-xs font-medium text-gray-700 mb-1 sr-only">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>
<p class="text-xs text-red-500 mt-1 hidden">Invalid Email Address</p>
</div>
</div>
<div>
<textarea rows="4" placeholder="Optional Message" class="w-full px-3 py-2 border border-gray-400 rounded-sm focus:outline-none focus:border-indigo-700 text-gray-700"></textarea>
<p class="text-sm text-gray-500">Invalid Message</p>
<label for="inquiry-message" class="block text-xs font-medium text-gray-700 mb-1 sr-only">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>
<p class="text-xs text-red-500 mt-1 hidden">Invalid Message</p>
</div>
<div>
<button type="submit" class="w-full py-2 bg-green-300 text-lg font-bold rounded-lg hover:bg-green-400 transition-colors flex justify-center items-center">
<img src="assets/svg/icon_spinner.svg" class="h-4 animate-spin mr-2" alt="Loading"> SEND INQUIRY
<div class="pt-2">
<button type="submit" class="w-full bg-indigo-900 text-gray-100 font-semibold py-2.5 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 text-sm">
<img src="assets/svg/icon_spinner.svg" class="h-4 animate-spin mr-2 hidden" alt="Loading"> SEND INQUIRY
</button>
<p class="text-xs mt-1 text-gray-600 font-thin text-center">
<p class="text-xs mt-2 text-gray-600 font-thin text-center">
By submitting, you agree to the <b>Terms and Conditions</b>
</p>
</div>