import { getVolunteer } from "@/app/lib/volunteers";
import HomeContent from "./components/HomeContent";

export const dynamic = "force-dynamic";

/** 首页：服务端先查询第一个志愿者，替换发起人志愿者卡片 */
export default async function Home() {
  const volunteer = await getVolunteer();
  return <HomeContent initialVolunteer={volunteer} />;
}
