21 lines
598 B
TypeScript
21 lines
598 B
TypeScript
"use client";
|
|
import React from "react";
|
|
// components
|
|
import { AuthBase } from "@/components/auth-screens/auth-base";
|
|
// helpers
|
|
import { EAuthModes, EPageTypes } from "@/helpers/authentication.helper";
|
|
// layouts
|
|
import DefaultLayout from "@/layouts/default-layout";
|
|
// wrappers
|
|
import { AuthenticationWrapper } from "@/lib/wrappers/authentication-wrapper";
|
|
|
|
const HomePage = () => (
|
|
<DefaultLayout>
|
|
<AuthenticationWrapper pageType={EPageTypes.NON_AUTHENTICATED}>
|
|
<AuthBase authType={EAuthModes.SIGN_IN} />
|
|
</AuthenticationWrapper>
|
|
</DefaultLayout>
|
|
);
|
|
|
|
export default HomePage;
|