diff --git a/src/frontend/src/components/AppCard.jsx b/src/frontend/src/components/AppCard.jsx index 5e23e39..74276f1 100644 --- a/src/frontend/src/components/AppCard.jsx +++ b/src/frontend/src/components/AppCard.jsx @@ -117,8 +117,19 @@ export default function AppCard({ app, commits, onRefresh }) { const latestCommit = commits && commits.length > 0 ? commits[0] : null; + // Apps d'infrastructure : portail et dashboard + const isInfra = ['portail-santinova', 'manus-dashboard'].includes(app.id); + return ( -
+
+ {/* Badge infra */} + {isInfra && ( +
+ + ⚙ Infrastructure + +
+ )} {/* Header */}
diff --git a/src/frontend/src/pages/InventairePage.jsx b/src/frontend/src/pages/InventairePage.jsx index 9174844..00f7119 100644 --- a/src/frontend/src/pages/InventairePage.jsx +++ b/src/frontend/src/pages/InventairePage.jsx @@ -247,14 +247,21 @@ export default function InventairePage() {
- ))} + })} )) - : inventory.map((app) => ( - + : inventory.map((app) => { + const isInfra = ['portail-santinova', 'manus-dashboard'].includes(app.id); + return ( +
- {app.name} +
+ {app.name} + {isInfra && ( + Infra + )} +
{app.repoName}
@@ -289,7 +296,7 @@ export default function InventairePage() { /> - ))} + })}