Track HiveGrid Cloud planning reference

This commit is contained in:
david committed 2026-06-26 20:48:01 +02:00
1 parent b3d5ea6764
commit e341c5938a
5784 files changed
+1104929 -3

No files matched your search

@@ -0,0 +1,32 @@
import { Link } from "react-router";
import { useTranslation } from "react-i18next";
import { ErrorPage } from "~/components/ui/errors/ErrorPage";
export interface PageFeatureDisabledProps {
featureLabel?: string;
dashboardPath?: string;
}
export default function PageFeatureDisabled({ featureLabel, dashboardPath = "/dashboard" }: PageFeatureDisabledProps) {
const { t } = useTranslation();
const featureCopy = featureLabel
? t("access.featureDisabled.namedDescription", { feature: featureLabel })
: t("access.featureDisabled.description");
return (
<ErrorPage
status={403}
eyebrow={t("access.featureDisabled.eyebrow")}
title={t("access.featureDisabled.title")}
description={t("access.featureDisabled.fullDescription", {
featureCopy,
})}
withGoBack={false}
actionSlot={
<Link to={dashboardPath} className="text-primary hover:text-primary/90 text-sm font-medium underline">
{t("access.featureDisabled.backToDashboard")}
</Link>
}
/>
);
}