5ba8b8cb68
Add interactive island components and server partials for notes, students, and admin modules, following the Figma prototype design. - static/styles/ui.css: shared component library (buttons, tables, chips, cards, filters, tabs, form inputs) - notes: NotesView (student grade view with UE cards, promo tabs, weighted averages), AdminConsultNotes, AdminUEs islands + partials - students: ConsultStudents (list/filter/delete), AdminPromotions (CRUD) islands + partials - admin: AdminModules, AdminUsers, AdminRoles islands + partials - All partials use State type with unknown cast for session access Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
485 B
TypeScript
16 lines
485 B
TypeScript
import ConsultStudents from "../../(_islands)/ConsultStudents.tsx";
|
|
import {
|
|
getPartialsConfig,
|
|
makePartials,
|
|
} from "$root/defaults/makePartials.tsx";
|
|
import { FreshContext } from "$fresh/server.ts";
|
|
import { State } from "$root/defaults/interfaces.ts";
|
|
|
|
// deno-lint-ignore require-await
|
|
async function Students(_request: Request, _context: FreshContext<State>) {
|
|
return <ConsultStudents />;
|
|
}
|
|
|
|
export const config = getPartialsConfig();
|
|
export default makePartials(Students);
|