feat: modernize UI/UX to 2026 US fintech standard, add violet AI accents, and strengthen security controls
- Modern 2026 US fintech visual redesign across User & Admin Dashboards, Marketing pages, Auth screens, and Layouts - Introduced violet accent (#6D28D9 / #8B5CF6) strictly dedicated to AI capabilities (AI Daily Briefing, AI Assistant, Chatbot FAB & Chat UI) - Motion system respecting prefers-reduced-motion and (hover: none) with GPU-accelerated transforms & opacities - High-resolution dark glass monogram logo mark with upward growth motif - Backend security enhancements: strict MIME-type sniffing validation, admin assignment scoping assertions, safe document deletion handling - Nginx strict Content-Security-Policy (CSP) headers and favicon routing
This commit is contained in:
@@ -186,7 +186,7 @@ export default function AdminChatbot() {
|
||||
} finally {
|
||||
setIsTyping(false);
|
||||
}
|
||||
}, [messages, authFetch]);
|
||||
}, [messages, authFetch, sessionId]);
|
||||
|
||||
const handleSendMessage = (e) => { e.preventDefault(); if (inputText.trim()) sendMessage(inputText.trim()); };
|
||||
const handleMenuAsk = (e) => { e.preventDefault(); if (menuInput.trim()) sendMessage(menuInput.trim(), []); };
|
||||
@@ -278,7 +278,7 @@ export default function AdminChatbot() {
|
||||
{/* Bulk action confirmation card */}
|
||||
{pendingBulk && (
|
||||
<div style={{ background: 'var(--warn-bg)', border: '1px solid var(--warn)', borderRadius: 'var(--radius-sm)', padding: '12px', margin: '8px 0' }}>
|
||||
<div style={{ fontWeight: 700, fontSize: '13px', color: 'var(--warn)', marginBottom: '8px' }}>
|
||||
<div style={{ fontWeight: 700, fontSize: '13px', color: 'var(--amber-text)', marginBottom: '8px' }}>
|
||||
⚠️ Confirm bulk action
|
||||
</div>
|
||||
<div style={{ fontSize: '13px', marginBottom: '10px' }}>
|
||||
|
||||
Reference in New Issue
Block a user