import { Link, useLocation } from "wouter";
import { useAuth } from "@/lib/auth";
import {
Users, FileCode, Shield, Activity, LogOut,
BarChart3, User, Award, Clock, AlertTriangle
} from "lucide-react";
export default function AdminCredentials() {
const { user, logout } = useAuth();
const [, setLocation] = useLocation();
const handleLogout = async () => {
await logout();
setLocation("/");
};
return (
{/* Sidebar */}
{user?.username}
{user?.isAdmin ? "Administrator" : "Member"}
{/* Main Content */}
Credential Issuance
Manage Codex certifications and passport credentials
{/* Coming Soon Notice */}
Codex Certification System
Under Development
The credential issuance system will allow administrators to:
-
Issue Architect Passports with unique identifiers
-
Award skill certifications based on completed curriculum
-
Verify and validate credentials across platforms
-
Revoke credentials when necessary
{/* Placeholder Stats */}
Pending
0
Awaiting Review
);
}
function NavItem({ icon, label, href, active = false }: {
icon: React.ReactNode;
label: string;
href: string;
active?: boolean;
}) {
return (
{icon}
{label}
);
}