// Server Component — reads env vars and passes provider list to the client UI
import { getSignInProviders } from "@/lib/get-sign-in-providers";
import { SignInForm } from "./sign-in-form";

export default function SignInPage() {
	const providers = getSignInProviders(
		process.env as Record<string, string | undefined>,
	);
	return <SignInForm providers={providers} />;
}
