bugfix speech-to-text and implement avatar and personal greeting
All checks were successful
Deploy FluentGerman.ai / deploy (push) Successful in 53s

This commit is contained in:
2026-02-16 20:11:09 +01:00
parent 8f5bfa3cbc
commit 84cd052ded
8 changed files with 284 additions and 19 deletions

View File

@@ -687,6 +687,155 @@ tr:hover td {
color: #fff;
}
.toast-info {
background: linear-gradient(135deg, rgba(96, 165, 250, 0.9), rgba(59, 130, 246, 0.9));
color: #fff;
}
/* ── Welcome Section ─────────────────────────────────────────────── */
.welcome-section {
background: var(--gradient-card);
backdrop-filter: blur(var(--glass-blur));
-webkit-backdrop-filter: blur(var(--glass-blur));
border: 1px solid var(--glass-border);
border-radius: var(--radius-lg);
padding: 28px 32px;
margin-bottom: 8px;
box-shadow: var(--shadow-md), var(--shadow-glow);
animation: messageIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.welcome-row {
display: flex;
align-items: center;
gap: 24px;
}
.welcome-text {
flex: 1;
min-width: 0;
}
.welcome-greeting {
font-size: 1.4rem;
font-weight: 700;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
letter-spacing: -0.02em;
margin-bottom: 4px;
}
.welcome-subtitle {
color: var(--text-secondary);
font-size: 0.9rem;
margin-bottom: 8px;
}
.welcome-meta {
display: flex;
align-items: center;
gap: 8px;
font-size: 0.8rem;
color: var(--text-muted);
opacity: 0;
transform: translateY(6px);
transition: opacity 0.4s ease, transform 0.4s ease;
}
.welcome-meta.visible {
opacity: 1;
transform: translateY(0);
}
.welcome-meta strong {
color: var(--text-secondary);
}
.meta-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--success);
flex-shrink: 0;
box-shadow: 0 0 6px rgba(52, 211, 153, 0.5);
}
/* ── Avatar ───────────────────────────────────────────────────────── */
.avatar-container {
position: relative;
width: 72px;
height: 72px;
flex-shrink: 0;
}
.avatar-ring {
position: absolute;
inset: 0;
border-radius: 50%;
border: 2px solid transparent;
background: var(--gradient-primary) border-box;
-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
mask-composite: exclude;
animation: avatarSpin 6s linear infinite;
}
.avatar-placeholder {
position: absolute;
inset: 4px;
border-radius: 50%;
background: var(--glass-bg);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.8rem;
animation: avatarBreathe 3s ease-in-out infinite;
box-shadow: inset 0 0 20px rgba(124, 108, 240, 0.08);
}
.avatar-pulse {
position: absolute;
inset: -4px;
border-radius: 50%;
border: 1px solid rgba(124, 108, 240, 0.15);
animation: avatarPulseAnim 3s ease-in-out infinite;
}
@keyframes avatarSpin {
to {
transform: rotate(360deg);
}
}
@keyframes avatarBreathe {
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.03);
}
}
@keyframes avatarPulseAnim {
0%,
100% {
transform: scale(1);
opacity: 0.5;
}
50% {
transform: scale(1.12);
opacity: 0;
}
}
/* ── Animations ───────────────────────────────────────────────────── */
@keyframes fadeIn {
from {
@@ -825,6 +974,27 @@ tr:hover td {
.hide-mobile {
display: none !important;
}
.welcome-section {
padding: 20px;
}
.welcome-row {
gap: 16px;
}
.avatar-container {
width: 56px;
height: 56px;
}
.avatar-placeholder {
font-size: 1.4rem;
}
.welcome-greeting {
font-size: 1.15rem;
}
}
/* ── Utilities ────────────────────────────────────────────────────── */