🚀 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:
@@ -6,7 +6,6 @@ interface User {
|
||||
id: string;
|
||||
email: string;
|
||||
name: string;
|
||||
role: 'STUDENT' | 'ADMIN' | 'FACULTY' | 'PRESIDENT' | 'STAFF' | 'PROSPECTIVE' | 'default';
|
||||
}
|
||||
|
||||
interface UserProfile {
|
||||
@@ -136,8 +135,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {
|
||||
const user: User = {
|
||||
id: mockUser.id,
|
||||
email: mockUser.email,
|
||||
name: mockUser.name,
|
||||
role: mockUser.role
|
||||
name: mockUser.name
|
||||
};
|
||||
|
||||
const profile: UserProfile = {
|
||||
|
||||
Reference in New Issue
Block a user