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:
@@ -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>
|
||||
);
|
||||
}
|
||||
@@ -47,6 +47,12 @@ export const MODULE_REGISTRY: Record<string, ModuleRegistryEntry> = {
|
||||
{ ssr: false },
|
||||
),
|
||||
},
|
||||
'tender-radar': {
|
||||
component: dynamic(
|
||||
() => import('@/app/(portal)/modules/tender-radar/page'),
|
||||
{ ssr: false },
|
||||
),
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user