Skip to content

Create professional demos and 3D mockups in seconds, directly in your browser

1.1 KB
Raw Blame
export default function Loading() {
  return (
    <div className="fixed inset-0 z-50 flex items-center justify-center bg-[#020202]/50 backdrop-blur-2xl animate-in fade-in duration-300">
      <div className="absolute inset-0 overflow-hidden pointer-events-none z-0 opacity-30 select-none">
        <div className="absolute -top-1/4 -left-1/4 size-[600px] rounded-full bg-gradient-to-br from-cyan-600/30 to-emerald-700/0 blur-[120px]" />
        <div className="absolute -bottom-1/4 -right-1/4 size-[700px] rounded-full bg-gradient-to-tl from-indigo-700/25 to-purple-700/0 blur-[120px]" />
      </div>

      <div className="relative flex items-center justify-center z-10 scale-95 animate-[pulse_6s_ease-in-out_infinite]">
        <div className="absolute size-36 rounded-full bg-cyan-700/10 blur-xl pointer-events-none" />
        <img
          src="/svg/logo-openvid.svg"
          alt="Cargando Openvid..."
          className="relative size-30 object-contain select-none filter drop-shadow-[0_0_35px_rgba(6,182,212,0.4)]"
          draggable={false}
        />
      </div>
    </div>
  );
}