feat: implement admin dashboard with authentication, menu management, and responsive UI components

This commit is contained in:
Michael committed 2026-04-10 10:43:04 +02:00
1 parent 1de5448e55
commit 5ff4784596
11 files changed
+668 -254

No files matched your search

+75 -19
View File
@@ -3,35 +3,91 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2.5rem;
gap: 1rem;
padding: 2rem 1.5rem;
text-decoration: none;
text-align: center;
color: var(--foreground);
gap: 1.5rem;
font-size: 1.25rem;
font-weight: 600;
color: var(--fg);
min-height: 180px;
cursor: pointer;
aspect-ratio: 1 / 1;
position: relative;
overflow: hidden;
}
.iconWrapper {
background: var(--accent);
color: white;
padding: 1rem;
border-radius: 18px;
/* Glow accent on hover */
.menuButton::after {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
opacity: 0;
transition: opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);
pointer-events: none;
}
.menuButton:hover::after {
opacity: 1;
}
/* Favicon wrapper */
.faviconWrapper {
width: 64px;
height: 64px;
border-radius: 16px;
background: var(--glass-bg);
border: 1px solid var(--glass-border);
display: flex;
align-items: center;
justify-content: center;
width: 64px;
height: 64px;
transition: var(--transition-smooth);
overflow: hidden;
transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
flex-shrink: 0;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.menuButton:hover .iconWrapper {
transform: scale(1.1);
box-shadow: 0 0 20px var(--accent);
.menuButton:hover .faviconWrapper {
transform: scale(1.08);
box-shadow: 0 8px 24px var(--accent-glow);
}
.favicon {
width: 40px;
height: 40px;
object-fit: contain;
}
.faviconFallback {
color: var(--accent);
display: flex;
align-items: center;
justify-content: center;
}
/* Label */
.label {
letter-spacing: -0.01em;
font-size: 0.95rem;
font-weight: 600;
letter-spacing: -0.02em;
text-align: center;
line-height: 1.3;
max-width: 160px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* Arrow indicator */
.arrowIcon {
position: absolute;
top: 12px;
right: 14px;
color: var(--fg-secondary);
opacity: 0;
transform: translate(-4px, 4px);
transition: all 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
.menuButton:hover .arrowIcon {
opacity: 1;
transform: translate(0, 0);
}