import * as React from 'react';
import { cn } from '@/lib/utils';

interface AppPageProps {
  children: React.ReactNode;
  className?: string;
}

export function AppPage({ children, className }: AppPageProps) {
  return (
    <div className={cn('overflow-y-auto', className)}>
      <div className="max-w-7xl mx-auto px-6 lg:px-8 animate-fade-in py-6 lg:py-8">
        {children}
      </div>
    </div>
  );
}
