feat(portal): add client settings routes and translations

This commit is contained in:
poyrazavsever
2026-07-21 12:49:55 +03:00
parent fcc6f2078a
commit 48f9d7bc87
15 changed files with 1720 additions and 68 deletions
+10
View File
@@ -0,0 +1,10 @@
import { getUserPreferences } from "@/server/settings/preferences";
import { requirePortalBackend } from "@/server/web/portal";
import { PortalAppearanceForm } from "./portal-appearance-form";
export default async function PortalAppearanceSettingsPage() {
const { actor } = await requirePortalBackend();
const preferences = getUserPreferences(actor);
return <PortalAppearanceForm initialColorMode={preferences.colorMode} />;
}