Adding cards for modules and creating mobility module

This commit is contained in:
Clayzxr
2025-01-15 15:44:52 +01:00
parent 55cf175181
commit 8cee593d33
8 changed files with 84 additions and 4 deletions
+16
View File
@@ -0,0 +1,16 @@
import { AppProperties } from "../(_islands)/AppNavigator.tsx";
type ModuleCardProps = {
module: AppProperties;
};
export default function ModuleCard({ module }: ModuleCardProps) {
return (
<div className="module-card">
<a href={`/${module.name}`}>
<span className="material-symbols-outlined">{module.icon}</span>
<p>{module.name}</p>
</a>
</div>
);
}