import React from "react";
import { Link } from "react-router-dom";

export default function LoginLayout({ slogan, children }) {
  return (
    <div className={`layout-wrapper login`}>
      <div className={`main-wrapper login-wrapper w-full h-screen overflow-y-auto sm:p-20 p-10`}>
        <div className="w-full h-full">
          <div className="flex-1 flex justify-center items-center">
            {children && children}
          </div>
          <div className="flex-1 flex justify-center items-center p-10">
            <div className="flex items-center">
              <Link to="#" className="text-[#a1a5b7] text-[15px] px-2 font-medium hover:text-[#009ef7]">
                About
              </Link>
              <Link to="#" className="text-[#a1a5b7] text-[15px] px-2 font-medium hover:text-[#009ef7]">
                Services
              </Link>
              <Link to="#" className="text-[#a1a5b7] text-[15px] px-2 font-medium hover:text-[#009ef7]">
                Contact Us
              </Link>
            </div>
          </div>
          <div className="flex-1 flex justify-center items-center p-10">
            <p className="text-black text-[15px] px-2 font-medium flex items-center">
             <span className="text-3xl mt-2 mr-1">©</span>  2023 - {" "}
              <Link to="/" className="text-[#009ef7] ml-1">
                WrenchBoard
              </Link>{" "}
            </p>
          </div>
        </div>
      </div>
    </div>
  );
}
