import { HomePageShell } from "@/components/home-page-shell";
import { requireAppContext } from "@/lib/app-auth";
import { getDemoAppConfig, getDemoScenarios } from "@/lib/demo-content";

export default async function Home() {
  await requireAppContext();

  const [appConfig, scenarios] = await Promise.all([
    getDemoAppConfig(),
    getDemoScenarios(),
  ]);

  return <HomePageShell appConfig={appConfig} scenarios={scenarios} />;
}
