Deje de usar cdn y mejore el calendario

This commit is contained in:
2026-04-04 16:37:14 -03:00
parent 8102265f92
commit 8ac56c7960
6 changed files with 152 additions and 14 deletions
+3 -2
View File
@@ -1,5 +1,4 @@
<x-layout title="Agenda">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fullcalendar@6.1.20/main.min.css">
<div class="flex w-full justify-between items-end mb-6">
@@ -21,6 +20,9 @@
<script>
window.appointments = @json($appointments);
</script>
<script>
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>
@@ -42,7 +44,6 @@
</button>
<a id="viewEventBtn"
href=""
class="px-4 py-2 bg-neon-lime hover:bg-[#b3e600] text-neutral-900 font-bold rounded-lg">
Ver turno
</a>