made changes to the auth layout

This commit was merged in pull request #5.
This commit is contained in:
2023-10-20 06:45:34 -07:00
parent 5d4cbc7a1c
commit 39fe9eaaa2
5 changed files with 121 additions and 20 deletions
+7 -7
View File
@@ -44,9 +44,12 @@ const Layout = ({ children }) => {
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
</Head>
<div className={`main-wrapper-content ${active ? "active" : ""}`} style={{
paddingLeft: isAuthenticationPage && "0",
}}>
<div
className={`main-wrapper-content ${active ? "active" : ""}`}
style={{
paddingLeft: isAuthenticationPage && "0",
}}
>
{!isAuthenticationPage && (
<>
<TopNavbar toggleActive={toggleActive} />
@@ -55,10 +58,7 @@ const Layout = ({ children }) => {
)}
<div
className="main-content"
style={{
paddingRight: isAuthenticationPage && "0",
}}
className={`main-content ${isAuthenticationPage ? "authBox" : ""}`}
>
{children}
</div>