se agrega modelo de asistencias, correcciones de codigo qr y procesador de unsubscribes

This commit is contained in:
2026-02-20 16:11:57 -06:00
parent cf4037cb80
commit 9e227f9653
67 changed files with 691 additions and 114 deletions
+19 -1
View File
@@ -7,9 +7,10 @@
{{-- Livewire styles --}}
@livewireStyles
</head>
<body id="page-top">
<body id="page-top" class="sidebar-toggled">
<div id="wrapper">
@include('layouts._partials.menu')
@@ -83,6 +84,23 @@ window.addEventListener('close-modal', () => {
);
modal?.hide();
});
document.addEventListener("DOMContentLoaded", function () {
function toggleSidebarByScreen() {
if (window.innerWidth < 768) {
document.body.classList.add("sidebar-toggled");
document.querySelector(".sidebar").classList.add("toggled");
} else {
document.body.classList.remove("sidebar-toggled");
document.querySelector(".sidebar").classList.remove("toggled");
}
}
toggleSidebarByScreen();
window.addEventListener("resize", toggleSidebarByScreen);
});
</script>