's'
This commit is contained in:
@@ -9,6 +9,7 @@ import { CommunityPreview } from "./landing/CommunityPreview";
|
||||
import { FAQSection } from "./landing/FAQSection";
|
||||
import { LandingCTA } from "./landing/LandingCTA";
|
||||
import { LoginModal } from "./landing/LoginModal";
|
||||
import { PromoProofModal } from "./landing/PromoProofModal";
|
||||
import styles from "./vip.module.css";
|
||||
|
||||
type LandingPageProps = {
|
||||
@@ -29,6 +30,7 @@ export function LandingPage({
|
||||
onVerifySuccess,
|
||||
}: LandingPageProps) {
|
||||
const [loginModalOpen, setLoginModalOpen] = useState(false);
|
||||
const [promoModalOpen, setPromoModalOpen] = useState(false);
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -49,7 +51,10 @@ export function LandingPage({
|
||||
<CommunityPreview />
|
||||
</div>
|
||||
<FAQSection />
|
||||
<LandingCTA onJoin={onJoin} onLogin={() => setLoginModalOpen(true)} />
|
||||
<LandingCTA
|
||||
onJoin={onJoin}
|
||||
onLogin={() => setLoginModalOpen(true)}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<LoginModal
|
||||
@@ -59,6 +64,7 @@ export function LandingPage({
|
||||
onVerifyByEmail={onVerifyByEmail}
|
||||
onSuccess={onVerifySuccess}
|
||||
/>
|
||||
<PromoProofModal open={promoModalOpen} onClose={() => setPromoModalOpen(false)} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user