import Animation from "./animation";

export default function Loading({message}: {message: string}) {
  return (
    <>
      <div className="container relative flex h-screen flex-col items-center justify-center">
        <div className="flex items-center space-x-2">
          <span className="text-md font-bold">eVCP</span>
        </div>
        <div>
          <Animation />
        </div>
        <div className="mt-4 text-sm text-muted-foreground">{message}</div>
      </div>
    </>
  );
}