import { ImDrawer2 } from "react-icons/im";

type NoResultsProps = {
  isClient?: boolean;
};

function NoResults({ isClient = false }: NoResultsProps) {
  const description = isClient
    ? "No articles were found. Please select other filters in order to find other articles."
    : "No opportunities found. Please select other filters in order to find opportunities.";

  return (
    <div className="flex flex-col items-center justify-center m-auto space-y-4 py-24">
      <ImDrawer2 className="size-24 my-8" />
      <p className="font-inter text-3xl font-black">No results found.</p>
      <span className="font-noto text-lg text-center">{description}</span>
    </div>
  );
}

export default NoResults;
