🚀 UTAS Oman Portal Demo - Complete AI-Enhanced University Portal
✨ Features: • Real AI chatbot with OpenRouter API (bilingual Arabic/English) • Comprehensive UTAS Oman content with programs and admissions • Modern responsive design with Tailwind CSS • Student/Admin authentication and dashboards • Full course catalog with search and filtering • Contact forms and application processes 🤖 AI Capabilities: • Language detection (Arabic/English) • UTAS Oman knowledge base integration • Contextual responses about programs, admissions, scholarships • No mock data - all responses from real AI 🛠️ Technology Stack: • Next.js 14 + React 19 + TypeScript • OpenRouter API with Meta LLaMA 3.1 • Prisma ORM with SQLite • Tailwind CSS for styling 📋 Demo Ready: • Test users file included (TEST-USERS.md) • Navigation test checklist (NAVIGATION-TEST.md) • Clean codebase with proper gitignore • Production-ready configuration
This commit is contained in:
@@ -65,7 +65,7 @@ export const ChatWidget: React.FC = () => {
|
||||
const data = await response.json()
|
||||
|
||||
setIsTyping(false)
|
||||
addMessage(data.response, 'bot', chatMode)
|
||||
addMessage(data.message || data.response, 'bot', chatMode)
|
||||
|
||||
// Check for mental health escalation
|
||||
if (data.shouldEscalate) {
|
||||
|
||||
Reference in New Issue
Block a user