feat: Add AI Assistance Portal components and enhance layout; update notification service and processing pipeline for improved request handling

This commit is contained in:
defiQUG
2025-10-05 05:20:00 -07:00
parent 47d913cf34
commit 3aa2e758be
5 changed files with 72 additions and 12 deletions

View File

@@ -2894,7 +2894,7 @@ function PortalsPage() {
return (
<PageShell title="Staff & Partner Portals" icon={Building2} eyebrow="Secure access for team members">
<div className="max-w-4xl mx-auto">
<div className="grid gap-8 md:grid-cols-3">
<div className="grid gap-8 md:grid-cols-2 xl:grid-cols-4">
{/* Admin Portal */}
<motion.div
className="card bg-gradient-to-br from-red-50 to-rose-50 dark:from-red-900/20 dark:to-rose-900/20 border-red-200 dark:border-red-800"
@@ -3014,6 +3014,46 @@ function PortalsPage() {
Access Resource Portal
</a>
</motion.div>
{/* AI Assistance Portal - Phase 3 */}
<motion.div
className="card bg-gradient-to-br from-purple-50 to-violet-50 dark:from-purple-900/20 dark:to-violet-900/20 border-purple-200 dark:border-purple-800"
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ delay: 0.4 }}
>
<div className="text-center mb-6">
<div className="mx-auto w-16 h-16 bg-purple-600 text-white rounded-xl flex items-center justify-center mb-4">
<Brain className="h-8 w-8" />
</div>
<h3 className="text-xl font-semibold text-purple-900 dark:text-purple-100">AI Assistance Portal</h3>
<p className="text-sm text-purple-700 dark:text-purple-300 mt-2">
AI-powered request matching and insights
</p>
</div>
<div className="space-y-2 text-sm text-purple-800 dark:text-purple-200 mb-6">
<div className="flex items-center gap-2">
<Cpu className="h-4 w-4" />
<span>Real-time AI request processing</span>
</div>
<div className="flex items-center gap-2">
<Target className="h-4 w-4" />
<span>Smart resource matching & allocation</span>
</div>
<div className="flex items-center gap-2">
<Activity className="h-4 w-4" />
<span>Predictive analytics & insights</span>
</div>
</div>
<a
href="#/ai-portal"
className="block w-full text-center bg-purple-600 text-white py-3 px-4 rounded-lg hover:bg-purple-700 transition-colors font-medium focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2"
>
Access AI Portal
</a>
</motion.div>
</div>
{/* Access Information */}