first commit

This commit is contained in:
Olu Amey
2023-01-16 13:09:45 -05:00
commit a6ebce376c
271 changed files with 39454 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
import React from "react";
import loginThumb from "../../assets/images/auth-thumb.svg";
import logo from "../../assets/images/logo-1.svg";
export default function LoginLayout({ slogan, children }) {
const checkScreenHeight = window.screen.height;
let screen = "";
if (checkScreenHeight <= 950) {
screen = "h-screen";
// screen = "h-[950px]";
} else {
screen = "h-screen";
}
return (
<div className="layout-wrapper">
<div className={`main-wrapper w-full ${screen}`}>
<div className="flex w-full h-full">
<div className="xl:flex hidden w-1/2 h-full p-[70px] flex-col justify-between primary-gradient">
<div className="logo">
<img src={logo} alt="logo" />
</div>
<div className="thumbnail flex justify-center">
<img src={loginThumb} alt="login-thumb" />
</div>
<div className="article w-[600px]">
<p className="text-[60px] font-bold leading-[72px] text-white">
{slogan}
</p>
</div>
</div>
<div className="flex-1 flex justify-center items-center">
{children && children}
</div>
</div>
</div>
</div>
);
}