16 lines
467 B
TypeScript
16 lines
467 B
TypeScript
|
|
"use client";
|
||
|
|
|
||
|
|
import { useTranslations } from "next-intl";
|
||
|
|
|
||
|
|
export function PlaceholderPage({ titleKey }: { titleKey: string }) {
|
||
|
|
const tNav = useTranslations("nav");
|
||
|
|
const tCommon = useTranslations("common");
|
||
|
|
return (
|
||
|
|
<div className="flex h-64 items-center justify-center rounded-lg border border-dashed border-border">
|
||
|
|
<p className="text-muted-foreground">
|
||
|
|
{tNav(titleKey as "crm")} — {tCommon("comingSoon")}
|
||
|
|
</p>
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
}
|