feat: finalize academy redesign and production readiness
All checks were successful
CI / Validate frontend and API (push) Successful in 2m22s
CI / Build and publish Docker images (push) Successful in 1m6s

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:
Cauê Faleiros
2026-11-05 15:06:53 -03:00
parent 95a4bd4ac7
commit 21085e887d
99 changed files with 10749 additions and 3935 deletions

View File

@@ -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 = {