Fix after MR

This commit is contained in:
Kevin FEDYNA
2025-01-15 15:57:08 +01:00
parent b720a5e7b8
commit b894930e12
9 changed files with 49 additions and 65 deletions
+17
View File
@@ -0,0 +1,17 @@
import { AppProperties } from "$root/defaults/interfaces.ts";
type AppCardProps = {
app: AppProperties;
href: string;
};
export default function AppCard(props: AppCardProps) {
return (
<div className="app-card">
<a href={`/${props.href}`} f-client-nav={false}>
<span className="material-symbols-outlined">{props.app.icon}</span>
<p>{props.app.name}</p>
</a>
</div>
);
}
-16
View File
@@ -1,16 +0,0 @@
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>
);
}