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,35 @@
import { Link } from "react-router";
import { useTranslation } from "react-i18next";
import { ErrorPage } from "~/components/ui/errors/ErrorPage";
export interface PagePlanRequiredProps {
tenantSlug?: string;
subscriptionPath?: string;
}
export default function PagePlanRequired({ tenantSlug, subscriptionPath }: PagePlanRequiredProps) {
const { t } = useTranslation();
return (
<ErrorPage
status={403}
eyebrow={t("access.planRequired.eyebrow")}
title={t("access.planRequired.title")}
description={
tenantSlug
? t("access.planRequired.namedDescription", {
tenant: tenantSlug,
})
: t("access.planRequired.description")
}
withGoBack={false}
actionSlot={
subscriptionPath ? (
<Link to={subscriptionPath} className="text-primary hover:text-primary/90 text-sm font-medium underline">
{t("access.planRequired.manageSubscription")}
</Link>
) : null
}
/>
);
}