refactor: enhance ProtectedRoute and dashboard components for improved access control and user experience
- Updated the ProtectedRoute component to optimize access checking logic, preventing unnecessary re-checks and improving authentication flow. - Enhanced the dashboard page to automatically open the login modal for authentication errors and refined loading states for better user feedback. - Improved UI elements across various components for consistency and visual appeal, including updated tab styles and enhanced alert messages. - Removed redundant footer from the vacation management page to streamline the interface.
This commit is contained in:
@@ -1993,12 +1993,6 @@
|
||||
{/if}
|
||||
{/await}
|
||||
{/if}
|
||||
|
||||
<footer
|
||||
class="border-base-300/60 bg-base-100 text-base-content/70 mt-8 border-t py-6 text-center text-sm"
|
||||
>
|
||||
SGSE - Sistema de Gerenciamento de Secretaria.
|
||||
</footer>
|
||||
|
||||
<style>
|
||||
/* Calendário de Férias */
|
||||
|
||||
Reference in New Issue
Block a user