import PageContainer from '@/components/layout/page-container';
import { Card, CardContent, CardHeader } from '@/components/ui/card';
import { Skeleton } from '@/components/ui/skeleton';

export default function Loading() {
  return (
    <PageContainer pageTitle='ประกาศ' pageDescription='กำลังโหลดรายละเอียดประกาศ...'>
      <Card>
        <CardHeader className='space-y-4'>
          <div className='flex gap-2'>
            <Skeleton className='h-6 w-24' />
            <Skeleton className='h-6 w-20' />
          </div>
          <Skeleton className='h-8 w-3/4' />
          <Skeleton className='h-4 w-1/2' />
        </CardHeader>
        <CardContent className='space-y-4'>
          <Skeleton className='h-4 w-full' />
          <Skeleton className='h-4 w-full' />
          <Skeleton className='h-4 w-5/6' />
          <Skeleton className='h-24 w-full' />
        </CardContent>
      </Card>
    </PageContainer>
  );
}
