import { AppShell } from "@/components/app-shell"
import { SiteHeader } from "@/components/site-header"
import { HoursReport } from "@/components/reports/hours-report"
import { requireAuthenticatedSession } from "@/lib/auth-server"

export const dynamic = "force-dynamic"

export default async function ReportsHoursPage() {
  await requireAuthenticatedSession()
  return (
    <AppShell
      header={
        <SiteHeader
          title="Horas"
          lead="Acompanhe horas internas e externas por empresa e compare com a meta mensal contratada."
        />
      }
    >
      <div className="mx-auto w-full max-w-6xl px-4 pb-12 lg:px-6">
        <HoursReport />
      </div>
    </AppShell>
  )
}
