import React from "react";
import Header from "@/app/(presentation-generator)/dashboard/components/Header";
import { HamsterLoader } from "@/components/ui/hamster-loader";

interface LoadingSpinnerProps {
  message: string;
}

export const LoadingSpinner: React.FC<LoadingSpinnerProps> = ({ message }) => {
  return (
    <div className="min-h-screen bg-gradient-to-br from-slate-50 to-slate-100">
      <Header />
      <div className="flex items-center justify-center aspect-video mx-auto px-6">
        <div className="text-center space-y-2 my-6 bg-white p-6 rounded-lg shadow-md">
          <HamsterLoader size="md" />
          <p>{message}</p>
        </div>
      </div>
    </div>
  );
}; 