Done implementing the templates and the two first pages

This commit is contained in:
garronej
2023-03-20 05:14:25 +01:00
parent 17871daf0c
commit 5b4aeca63c
43 changed files with 1036 additions and 35 deletions

View File

@ -1,6 +1,7 @@
import { lazy, Suspense } from "react";
import type { PageProps } from "keycloakify/login/pages/PageProps";
import type { I18n } from "keycloakify/login/i18n";
import { assert, type Equals } from "tsafe/assert";
import type { I18n } from "./i18n";
import type { KcContext } from "./kcContext";
const Login = lazy(() => import("keycloakify/login/pages/Login"));
@ -75,6 +76,7 @@ export default function Fallback(props: PageProps<KcContext, I18n>) {
case "idp-review-user-profile.ftl":
return <IdpReviewUserProfile kcContext={kcContext} {...rest} />;
}
assert<Equals<typeof kcContext, never>>(false);
})()}
</Suspense>
);