This commit is contained in:
eric
2026-04-01 02:23:17 -05:00
parent 056dadc817
commit de86a65293
8 changed files with 202 additions and 52 deletions

View File

@@ -21,6 +21,8 @@ type LandingPageProps = {
user_id?: string
) => Promise<boolean | { ok: boolean; error?: string }>;
onVerifySuccess: () => void;
wechatNick?: string | null;
wechatAvatar?: string | null;
};
export function LandingPage({
@@ -28,6 +30,8 @@ export function LandingPage({
onVerify,
onVerifyByEmail,
onVerifySuccess,
wechatNick,
wechatAvatar,
}: LandingPageProps) {
const [loginModalOpen, setLoginModalOpen] = useState(false);
const [promoModalOpen, setPromoModalOpen] = useState(false);
@@ -71,6 +75,8 @@ export function LandingPage({
onJoin={onJoin}
onLogin={() => setLoginModalOpen(true)}
payTestMode={payTestMode}
wechatNick={wechatNick}
wechatAvatar={wechatAvatar}
/>
</div>
</div>