import { memo } from "react";
import type { KcContextBase } from "../getKcContext/KcContextBase";
import type { KcProps } from "./KcProps";
import { Login } from "./Login";
import { Register } from "./Register";
import { RegisterUserProfile } from "./RegisterUserProfile";
import { Info } from "./Info";
import { Error } from "./Error";
import { LoginResetPassword } from "./LoginResetPassword";
import { LoginVerifyEmail } from "./LoginVerifyEmail";
import { Terms } from "./Terms";
import { LoginOtp } from "./LoginOtp";
import { LoginUpdateProfile } from "./LoginUpdateProfile";
import { LoginIdpLinkConfirm } from "./LoginIdpLinkConfirm";
export const KcApp = memo(
({ kcContext, ...props }: { kcContext: KcContextBase } & KcProps) => {
switch (kcContext.pageId) {
case "login.ftl":
return ;
case "register.ftl":
return ;
case "register-user-profile.ftl":
return ;
case "info.ftl":
return ;
case "error.ftl":
return ;
case "login-reset-password.ftl":
return ;
case "login-verify-email.ftl":
return ;
case "terms.ftl":
return ;
case "login-otp.ftl":
return ;
case "login-update-profile.ftl":
return ;
case "login-idp-link-confirm.ftl":
return ;
}
},
);