refactor: replace mailerlite popup with direct mailto link for waitlist signup

This commit is contained in:
2025-10-22 11:32:04 +02:00
parent 75b660d81e
commit c59c09eee8
3 changed files with 4 additions and 21 deletions

View File

@@ -23,12 +23,7 @@ export function CallTo() {
Book a Meeting Book a Meeting
</a> </a>
<a <a
href="javascript:;" href="mailto:info@ourworld.tf"
onClick={() => {
if (typeof window !== 'undefined' && (window as any).ml_account) {
(window as any).ml_account('webforms', '6108375', 'l9m8g1', 'show')
}
}}
className="text-sm/6 font-semibold text-[#2F3178] hover:text-[#2F3178]/80" className="text-sm/6 font-semibold text-[#2F3178] hover:text-[#2F3178]/80"
> >
Join the Waitlist <span aria-hidden="true"></span> Join the Waitlist <span aria-hidden="true"></span>

View File

@@ -47,11 +47,7 @@ export function CallToAction() {
<Button <Button
variant="outline" variant="outline"
color="white" color="white"
onClick={() => { href="mailto:info@ourworld.tf"
if (typeof window !== 'undefined' && (window as any).ml_account) {
(window as any).ml_account('webforms', '6108375', 'l9m8g1', 'show')
}
}}
> >
Join the Waitlist Join the Waitlist
</Button> </Button>

View File

@@ -113,11 +113,7 @@ export function Header() {
<Button <Button
variant="outline" variant="outline"
color="white" color="white"
onClick={() => { href="mailto:info@ourworld.tf"
if (typeof window !== 'undefined' && (window as any).ml_account) {
(window as any).ml_account('webforms', '6108375', 'l9m8g1', 'show')
}
}}
> >
Join the Waitlist Join the Waitlist
</Button> </Button>
@@ -134,11 +130,7 @@ export function Header() {
<Button <Button
variant="outline" variant="outline"
color="white" color="white"
onClick={() => { href="mailto:info@ourworld.tf"
if (typeof window !== 'undefined' && (window as any).ml_account) {
(window as any).ml_account('webforms', '6108375', 'l9m8g1', 'show')
}
}}
> >
Join the Waitlist Join the Waitlist
</Button> </Button>