Fixed card CSS and hint
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import { AppProperties } from "../../../(_islands)/AppNavigator.tsx";
|
||||
import { AppProperties } from "$root/defaults/interfaces.ts";
|
||||
|
||||
const properties: AppProperties = {
|
||||
name: "PolyMobility",
|
||||
icon: "flight_takeoff",
|
||||
hint: "Gestionnaire de mobilité",
|
||||
pages: {},
|
||||
adminOnly: [],
|
||||
};
|
||||
|
||||
export default properties;
|
||||
|
||||
@@ -1,11 +1,2 @@
|
||||
type ModulesProps = Record<string | number | symbol, never>;
|
||||
|
||||
export default function Modules(_props: ModulesProps) {
|
||||
return (
|
||||
<>
|
||||
<h2>All PolyMPR modules</h2>
|
||||
<nav>
|
||||
</nav>
|
||||
</>
|
||||
);
|
||||
}
|
||||
import makeIndex from "$root/defaults/makeIndex.ts";
|
||||
export default makeIndex(import.meta.dirname!);
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
import {
|
||||
getPartialsConfig,
|
||||
makePartials,
|
||||
} from "$root/defaults/makePartials.tsx";
|
||||
import { EmptyObject } from "$root/defaults/interfaces.ts";
|
||||
|
||||
type MobilityIndexProps = EmptyObject;
|
||||
|
||||
export function Index(_props: MobilityIndexProps) {
|
||||
return <p>Nothing to see here...</p>;
|
||||
}
|
||||
|
||||
export const config = getPartialsConfig();
|
||||
export default makePartials(Index);
|
||||
@@ -10,7 +10,7 @@ const properties: AppProperties = {
|
||||
students: "Students management",
|
||||
},
|
||||
adminOnly: ["courses", "students"],
|
||||
hint: "Gestionnaire de note",
|
||||
hint: "Student grading management",
|
||||
};
|
||||
|
||||
export default properties;
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
import { getConfig, makePartials } from "$root/defaults/makePartials.tsx";
|
||||
import {
|
||||
getPartialsConfig,
|
||||
makePartials,
|
||||
} from "$root/defaults/makePartials.tsx";
|
||||
|
||||
type NotesIndexProps = Record<string | number | symbol, never>;
|
||||
|
||||
@@ -6,5 +9,5 @@ export function Index(_props: NotesIndexProps) {
|
||||
return <a href="notes" f-partial={"notes/partials"}>bip boup</a>;
|
||||
}
|
||||
|
||||
export const config = getConfig();
|
||||
export const config = getPartialsConfig();
|
||||
export default makePartials(Index);
|
||||
|
||||
Reference in New Issue
Block a user