import Image from "next/image";
import React from "react";

interface IAuthHeadProps {
  title: string;
}

function AuthHead({ title }: IAuthHeadProps) {
  return (
    <div className="flex flex-col items-center">
      <span className="text-2xl font-bold">{title}</span>
      <Image
        width={0}
        height={0}
        className="w-auto my-20 min-w-[300px]"
        src={"/images/icons/logo.svg"}
        alt="logo"
      />
    </div>
  );
}

export default AuthHead;
