diff --git a/vre-panel/pages/auth/signin.tsx b/vre-panel/pages/auth/signin.tsx index 48d0c75..b6982dc 100644 --- a/vre-panel/pages/auth/signin.tsx +++ b/vre-panel/pages/auth/signin.tsx @@ -1,14 +1,25 @@ import { getProviders, getSession, signIn } from "next-auth/react" import getConfig from 'next/config' +import {useContext} from "react"; +import {PaasConfigContext} from "../../context/PaasConfig"; const { publicRuntimeConfig } = getConfig() export default function SignIn({ providers }: { providers: any }) { + + const {paasConfig, paasConfigLoading} = useContext(PaasConfigContext) + return (
- LifeWatch Logo + {paasConfigLoading || ( + Site icon + )} <> {Object.values(providers).map((provider: any) => (
diff --git a/vre-panel/templates/Nav.tsx b/vre-panel/templates/Nav.tsx index 19439d3..8d156ca 100644 --- a/vre-panel/templates/Nav.tsx +++ b/vre-panel/templates/Nav.tsx @@ -18,15 +18,13 @@ const Nav = () => {