made changes to the auth layout
This commit was merged in pull request #5.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user