feat(10-02): add tender-radar module-loader whitelist entry + placeholder page

- MODULE_REGISTRY['tender-radar'] entry (mirrors cert-manager/dkv-fleet shape)
- minimal client-component placeholder page proving activation -> page-load path
- hardcoded German string is an intentional MVP stub; full i18n is CONFIG-03 (Phase 14)
This commit is contained in:
2026-07-21 10:43:28 +02:00
parent e7b40946c8
commit 3292afb913
2 changed files with 37 additions and 0 deletions
@@ -0,0 +1,31 @@
'use client';
/**
* Ausschreibungs-Radar module page within the portal.
*
* MVP stub (Plan 10-02, CONFIG-01): proves the activation -> page-load
* path (marketplace seed -> module-loader whitelist -> lazy-loaded
* page). Real results UI (search, filters, tender list) lands in
* Phase 11.
*
* Intentional hardcoded German string: full i18n (next-intl message
* keys) is CONFIG-03, planned for Phase 14. Do not add a translation
* key for this stub yet — replace this whole component in Phase 11.
*/
export default function TenderRadarPage() {
return (
<div className="mx-auto max-w-2xl space-y-6 p-6">
<div>
<h1 className="text-2xl font-bold tracking-tight">
Ausschreibungs-Radar
</h1>
</div>
<div className="rounded-lg border border-border bg-card p-6 shadow-sm">
<p className="text-sm text-muted-foreground">
Ausschreibungen werden erfasst.
</p>
</div>
</div>
);
}
+6
View File
@@ -47,6 +47,12 @@ export const MODULE_REGISTRY: Record<string, ModuleRegistryEntry> = {
{ ssr: false }, { ssr: false },
), ),
}, },
'tender-radar': {
component: dynamic(
() => import('@/app/(portal)/modules/tender-radar/page'),
{ ssr: false },
),
},
}; };
/** /**