import { DriveRouteScope } from "@/components/drive/drive-route-scope"
import { DemoDriveShell } from "@/components/demo/demo-drive-shell"
import type { Metadata } from "next"
import { suitePageMetadata } from "@/lib/suite/page-metadata"

export const metadata: Metadata = {
  ...suitePageMetadata({
    app: "drive",
    title: "Démo UltiDrive",
    absoluteTitle: true,
    description:
      "Essayez le drive UltiDrive sans compte — démo interactive, zéro rétention.",
  }),
  robots: { index: false },
}

export default function DemoDriveLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <>
      <DriveRouteScope />
      <DemoDriveShell>{children}</DemoDriveShell>
    </>
  )
}
