'use client';

import { AuthGuard } from '@/lib/gateways/AuthGuard';
import { ReactNode } from 'react';

interface SponsorLayoutProps {
  children: ReactNode;
}

/**
 * Sponsor Layout
 * 
 * Provides authentication protection for all sponsor-related routes.
 * Wraps children with AuthGuard to ensure only authenticated users can access.
 */
export default function SponsorLayout({ children }: SponsorLayoutProps) {
  return (
    <AuthGuard redirectPath="/auth/login">
      <div className="min-h-screen bg-deep-graphite">
        {children}
      </div>
    </AuthGuard>
  );
}