Agregue modo dark al calendar y al la vista del turno

This commit is contained in:
2026-04-04 18:14:11 -03:00
parent c1921b7372
commit 8c22563cc1
3 changed files with 37 additions and 30 deletions
+15 -9
View File
@@ -11,7 +11,7 @@
</div>
<a href="{{ route('taller.index') }}"
class="px-5 py-2.5 bg-neon-lime text-neutral-900 font-bold rounded-lg hover:bg-[#b3e600] uppercase tracking-wide text-xs flex items-center gap-2">
class="px-5 py-2.5 bg-neutral-900 text-white hover:bg-neutral-700 dark:bg-neon-lime dark:text-neutral-900 dark:hover:bg-[#b3e600] font-bold rounded-lg uppercase tracking-wide text-xs flex items-center gap-2">
Volver a Taller
</a>
@@ -21,32 +21,38 @@
window.appointments = @json($appointments);
</script>
<script>
window.appointmentShowTemplate = "{{ route('appointments.show', ':id') }}";
window.appointmentShowTemplate = "{{ route('appointments.show', ':id') }}";
</script>
<div id="calendar" class="w-full border-2 rounded-xl py-3 px-3 bg-neutral-900/50 border border-neutral-800"></div>
<div id="calendar" class="w-full rounded-xl py-3 px-3 bg-white border border-neutral-200 shadow-sm dark:bg-neutral-900/50 dark:border-neutral-800 dark:shadow-none"></div>
</x-layout>
<div id="eventModal"
class="hidden fixed inset-0 z-50 flex items-center justify-center">
<div class="relative text-white p-6 rounded-xl w-96 shadow-2xl border-2 bg-neutral-900 border border-neutral-800">
<div class="relative p-6 rounded-xl w-96 shadow-2xl border
bg-white border-neutral-200 text-neutral-900
dark:bg-neutral-900 dark:border-neutral-700 dark:text-white">
<h2 id="modalTitle" class="text-xl font-bold mb-2"></h2>
<h2 id="modalTitle" class="text-xl font-bold mb-2 text-neutral-900 dark:text-white"></h2>
<p id="modalDate" class="text-gray-300 mb-4"></p>
<p id="modalDate" class="mb-4 text-neutral-500 dark:text-gray-300"></p>
<div class="flex justify-end gap-2">
<button id="closeModal"
class="px-4 py-2 bg-gray-600 hover:bg-gray-500 rounded-lg">
class="px-4 py-2 rounded-lg
bg-neutral-100 hover:bg-neutral-200 text-neutral-700
dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white">
Cerrar
</button>
<a id="viewEventBtn"
class="px-4 py-2 bg-neon-lime hover:bg-[#b3e600] text-neutral-900 font-bold rounded-lg">
class="px-4 py-2 font-bold rounded-lg
bg-neutral-900 hover:bg-neutral-700 text-white
dark:bg-neon-lime dark:hover:bg-[#b3e600] dark:text-neutral-900">
Ver turno
</a>
</div>
</div>
</div>
</div>