feat: made stuff
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import {
|
||||
getPartialsConfig,
|
||||
makePartials,
|
||||
} from "$root/defaults/makePartials.tsx";
|
||||
import { FreshContext } from "$fresh/server.ts";
|
||||
import { State } from "$root/defaults/interfaces.ts";
|
||||
import MobilityOverview from "../../(_islands)/MobilityOverview.tsx";
|
||||
|
||||
// deno-lint-ignore require-await
|
||||
async function Overview(
|
||||
_request: Request,
|
||||
context: FreshContext<State>,
|
||||
) {
|
||||
const numEtud = Number(context.params.numEtud);
|
||||
return <MobilityOverview initialNumEtud={numEtud} />;
|
||||
}
|
||||
|
||||
export { Overview as Page };
|
||||
export const config = getPartialsConfig();
|
||||
export default makePartials(Overview);
|
||||
Reference in New Issue
Block a user