import Image from 'next/image'
import { FaSpinner } from 'react-icons/fa';

export const PageLoader = () => {
  return (
    <div className="flex items-center justify-center max-h-screen flex flex-wrap">
      {/* <Image
        src="/spinner.gif"
        alt="Loading..."
        width={100}
        height={100}
        style={{ width: 100, height: 100 }}
        unoptimized
        priority
      /> */}
      <FaSpinner className='animate-spin w-6 h-6' />
    </div>
  );
};
