Rename portal and trust frontends

Update visitor-facing apps to Compliance Portal
types, hooks, and resolvers so they match the
backend GraphQL rename.

Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
Bryan Frimin
2026-07-20 18:08:35 +02:00
parent 53cc6c487e
commit d914cb9ac7
42 changed files with 295 additions and 295 deletions

View File

@@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
import { getTrustCenterUrl } from "@probo/helpers";
import { getCompliancePortalUrl } from "@probo/helpers";
import { useTranslate } from "@probo/i18n";
import { Skeleton, TabLink, Tabs } from "@probo/ui";
@@ -31,12 +31,12 @@ export function MainSkeleton() {
<Skeleton className="w-full h-300" />
<main>
<Tabs className="mb-8">
<TabLink to={getTrustCenterUrl("overview")}>{__("Overview")}</TabLink>
<TabLink to={getTrustCenterUrl("documents")}>{__("Documents")}</TabLink>
<TabLink to={getTrustCenterUrl("subprocessors")}>
<TabLink to={getCompliancePortalUrl("overview")}>{__("Overview")}</TabLink>
<TabLink to={getCompliancePortalUrl("documents")}>{__("Documents")}</TabLink>
<TabLink to={getCompliancePortalUrl("subprocessors")}>
{__("Subprocessors")}
</TabLink>
<TabLink to={getTrustCenterUrl("updates")}>{__("Updates")}</TabLink>
<TabLink to={getCompliancePortalUrl("updates")}>{__("Updates")}</TabLink>
</Tabs>
<TabSkeleton />
</main>