feat: add backup recovery, setup wizard and user-view guards
Magent CI/CD / verify (push) Successful in 5m20s
Magent CI/CD / deploy-beta (push) Successful in 1m41s

This commit is contained in:
2026-09-18 17:23:03 +12:00
parent a6a4a9aa24
commit fd6671cf7e
44 changed files with 4650 additions and 114 deletions
+8 -2
View File
@@ -9,6 +9,8 @@ import type { ReactNode } from "react";
import BrandingFavicon from "./ui/BrandingFavicon";
import FeatureGate from "./ui/FeatureGate";
import ApplicationChrome from "./ui/ApplicationChrome";
import SetupGate from "./ui/SetupGate";
import AdminViewGate from "./ui/AdminViewGate";
export const metadata = {
title: "Magent",
@@ -26,8 +28,12 @@ export default function RootLayout({ children }: { children: ReactNode }) {
<body>
<BrandingFavicon />
<div className="page">
<ApplicationChrome />
<FeatureGate>{children}</FeatureGate>
<SetupGate>
<ApplicationChrome />
<AdminViewGate>
<FeatureGate>{children}</FeatureGate>
</AdminViewGate>
</SetupGate>
</div>
</body>
</html>