feat: modules and module-editor pages

This commit is contained in:
2025-10-25 12:11:14 +04:00
parent 57a7ab0871
commit 2bdbebc453
40 changed files with 3485 additions and 38 deletions

22
src/app/modules/page.tsx Normal file
View File

@ -0,0 +1,22 @@
import { Suspense } from "react";
import { Center, Loader } from "@mantine/core";
import PageBody from "@/app/modules/components/PageBody";
import { ModulesContextProvider } from "@/app/modules/contexts/ModulesContext";
import PageContainer from "@/components/layout/PageContainer/PageContainer";
export default async function ModulesPage() {
return (
<Suspense
fallback={
<Center h="50vh">
<Loader size="lg" />
</Center>
}>
<PageContainer>
<ModulesContextProvider>
<PageBody />
</ModulesContextProvider>
</PageContainer>
</Suspense>
);
}