diff --git a/fresh.gen.ts b/fresh.gen.ts index 0d363ec..dad4883 100644 --- a/fresh.gen.ts +++ b/fresh.gen.ts @@ -3,6 +3,7 @@ // This file is automatically updated during development when running `dev.ts`. import * as $_apps_layout from "./routes/(apps)/_layout.tsx"; +import * as $_apps_mobility_index from "./routes/(apps)/mobility/index.tsx"; import * as $_apps_notes_index from "./routes/(apps)/notes/index.tsx"; import * as $_apps_notes_partials_admin_courses from "./routes/(apps)/notes/partials/(admin)/courses.tsx"; import * as $_apps_notes_partials_admin_students from "./routes/(apps)/notes/partials/(admin)/students.tsx"; @@ -24,6 +25,7 @@ import type { Manifest } from "$fresh/server.ts"; const manifest = { routes: { "./routes/(apps)/_layout.tsx": $_apps_layout, + "./routes/(apps)/mobility/index.tsx": $_apps_mobility_index, "./routes/(apps)/notes/index.tsx": $_apps_notes_index, "./routes/(apps)/notes/partials/(admin)/courses.tsx": $_apps_notes_partials_admin_courses, diff --git a/routes/(_components)/ModuleCard.tsx b/routes/(_components)/ModuleCard.tsx new file mode 100644 index 0000000..8e77f1e --- /dev/null +++ b/routes/(_components)/ModuleCard.tsx @@ -0,0 +1,16 @@ +import { AppProperties } from "../(_islands)/AppNavigator.tsx"; + +type ModuleCardProps = { + module: AppProperties; +}; + +export default function ModuleCard({ module }: ModuleCardProps) { + return ( +
+ ); +} diff --git a/routes/(apps)/mobility/(_props)/props.ts b/routes/(apps)/mobility/(_props)/props.ts new file mode 100644 index 0000000..db5371b --- /dev/null +++ b/routes/(apps)/mobility/(_props)/props.ts @@ -0,0 +1,9 @@ +import { AppProperties } from "../../../(_islands)/AppNavigator.tsx"; + +const properties: AppProperties = { + name: "PolyMobility", + icon: "flight_takeoff", + hint: "Gestionnaire de mobilité" +}; + +export default properties; \ No newline at end of file diff --git a/routes/(apps)/mobility/index.tsx b/routes/(apps)/mobility/index.tsx new file mode 100644 index 0000000..ddfcc34 --- /dev/null +++ b/routes/(apps)/mobility/index.tsx @@ -0,0 +1,12 @@ +type ModulesProps = RecordNo modules available.
+ > + ); + } + return ( <>