import { HomePageSkeleton } from "./components/HomePageSkeleton";
import { HomeClientLoader } from "./HomeClientLoader";

export default function Page() {
  return (
    <div className="relative min-h-screen bg-[var(--background)]">
      {/* SSR 即输出骨架，JS 未执行前也不白屏 */}
      <div className="pointer-events-none absolute inset-0 z-0 overflow-hidden">
        <HomePageSkeleton />
      </div>
      <div className="relative z-[1] min-h-screen">
        <HomeClientLoader />
      </div>
    </div>
  );
}
