feat: finalize academy redesign and production readiness
Align admin, community, search, library, learning and course management with the mockup. Add saved courses, download history, public community feed, instructor directory, backend search, course views, admin content tools and community moderation. Harden API and Nginx for production.
This commit is contained in:
@@ -1,8 +1,19 @@
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { Copy, Download, KeyRound, Loader2, Pencil, Plus, Trash2, UserCheck, UserX, X } from 'lucide-react';
|
||||
import {
|
||||
CopyIcon as Copy,
|
||||
DownloadSimpleIcon as Download,
|
||||
KeyIcon as KeyRound,
|
||||
CircleNotchIcon as Loader2,
|
||||
PencilIcon as Pencil,
|
||||
PlusIcon as Plus,
|
||||
TrashIcon as Trash2,
|
||||
UserCheckIcon as UserCheck,
|
||||
UserMinusIcon as UserX,
|
||||
XIcon as X
|
||||
} from '@phosphor-icons/react';
|
||||
import { ManagedUser } from '../services/api';
|
||||
|
||||
const roleLabel: Record<ManagedUser['role'], string> = { admin: 'Superadmin', instructor: 'Instrutor', student: 'Aluno' };
|
||||
const roleLabel: Record<ManagedUser['role'], string> = { admin: 'Admin', instructor: 'Instrutor', student: 'Aluno' };
|
||||
const inputClass = 'w-full rounded-xl border border-white/10 bg-zinc-900 px-3 py-2.5 text-sm text-white outline-none focus:border-orange-500/70 focus:ring-2 focus:ring-orange-500/15';
|
||||
|
||||
type Props = {
|
||||
|
||||
Reference in New Issue
Block a user