Fix: Added database initialization on startup to avoid 500 errors in production
This commit is contained in:
@ -333,15 +333,20 @@ const handleLogout = () => {
|
||||
left: 0;
|
||||
width: 280px;
|
||||
height: 100vh;
|
||||
background: var(--header-bg);
|
||||
backdrop-filter: blur(25px);
|
||||
-webkit-backdrop-filter: blur(25px);
|
||||
border-right: 1px solid var(--border-color);
|
||||
background: rgba(15, 23, 42, 0.85); /* Deep Nexus Blue */
|
||||
backdrop-filter: blur(25px) saturate(180%);
|
||||
-webkit-backdrop-filter: blur(25px) saturate(180%);
|
||||
border-right: 1px solid rgba(254, 231, 21, 0.2); /* SIBU Gold Border */
|
||||
padding: 0;
|
||||
z-index: 10000;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
box-shadow: 20px 0 50px rgba(0,0,0,0.3);
|
||||
box-shadow: 20px 0 80px rgba(0,0,0,0.8);
|
||||
}
|
||||
|
||||
:global(.light-theme) .menu-dropdown.nexus-glass {
|
||||
background: rgba(255, 255, 255, 0.85);
|
||||
border-right: 1px solid rgba(16, 24, 32, 0.1);
|
||||
}
|
||||
|
||||
.nexus-user-section {
|
||||
@ -358,12 +363,12 @@ const handleLogout = () => {
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
border-radius: 16px;
|
||||
background: #fee715; /* Siempre Oro SIBU */
|
||||
background: linear-gradient(135deg, #fee715 0%, #facc15 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-shadow: 0 8px 20px rgba(254, 231, 21, 0.3);
|
||||
border: 2px solid rgba(255, 255, 255, 0.2);
|
||||
box-shadow: 0 0 25px rgba(254, 231, 21, 0.4);
|
||||
border: 2px solid rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
.avatar-icon {
|
||||
|
||||
Reference in New Issue
Block a user