"use client";

import dynamic from "next/dynamic";
import { HomeBootOverlay } from "@/app/components/HomeBootOverlay";

const HomeClient = dynamic(() => import("./HomeClient"), {
  ssr: false,
  loading: () => (
    <div className="min-h-screen bg-[var(--background)]">
      <HomeBootOverlay visible subtitle="加载中…" />
    </div>
  ),
});

export function HomeClientLoader() {
  return <HomeClient />;
}
