update Join the Waitlist button
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { type Metadata } from 'next'
|
||||
import Script from 'next/script'
|
||||
import { Mulish } from 'next/font/google'
|
||||
import clsx from 'clsx'
|
||||
|
||||
@@ -26,6 +27,19 @@ export default function RootLayout({
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" className={clsx('antialiased', mulish.variable)}>
|
||||
<head>
|
||||
{/* MailerLite Universal */}
|
||||
<Script id="mailerlite-universal" strategy="afterInteractive">
|
||||
{`(function(m,a,i,l,e,r){ m['MailerLiteObject']=e;function f(){
|
||||
var c={ a:arguments,q:[]};var r=this.push(c);return "number"!=typeof r?r:f.bind(c.q);}
|
||||
f.q=f.q||[];m[e]=m[e]||f.bind(f.q);m[e].q=m[e].q||f.q;r=a.createElement(i);
|
||||
var _=a.getElementsByTagName(i)[0];r.async=1;r.src=l+'?v'+(~~(new Date().getTime()/1000000));
|
||||
_.parentNode.insertBefore(r,_);})(window, document, 'script', 'https://static.mailerlite.com/js/universal.js', 'ml');
|
||||
|
||||
var ml_account = ml('accounts', '1778010', 'x2d3d9f8n1', 'load');`}
|
||||
</Script>
|
||||
{/* End MailerLite Universal */}
|
||||
</head>
|
||||
<body className="bg-black text-white">{children}</body>
|
||||
</html>
|
||||
)
|
||||
|
@@ -1,3 +1,5 @@
|
||||
"use client"
|
||||
|
||||
import { H2, P } from '@/components/Texts'
|
||||
|
||||
export function CallTo() {
|
||||
@@ -20,7 +22,15 @@ export function CallTo() {
|
||||
>
|
||||
Book a Meeting
|
||||
</a>
|
||||
<a href="mailto:info@ourworld.tf" target="_blank" rel="noopener noreferrer" className="text-sm/6 font-semibold text-[#2F3178] hover:text-[#2F3178]/80">
|
||||
<a
|
||||
href="javascript:;"
|
||||
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"
|
||||
>
|
||||
Join the Waitlist <span aria-hidden="true">→</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@@ -1,3 +1,5 @@
|
||||
'use client'
|
||||
|
||||
import { CircleBackground } from '@/components/CircleBackground'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Button } from '@/components/Button'
|
||||
@@ -42,7 +44,15 @@ export function CallToAction() {
|
||||
>
|
||||
Book a Meeting
|
||||
</Button>
|
||||
<Button href="mailto:info@ourworld.tf" target="_blank" rel="noopener noreferrer" variant="outline" color="white">
|
||||
<Button
|
||||
variant="outline"
|
||||
color="white"
|
||||
onClick={() => {
|
||||
if (typeof window !== 'undefined' && (window as any).ml_account) {
|
||||
(window as any).ml_account('webforms', '6108375', 'l9m8g1', 'show')
|
||||
}
|
||||
}}
|
||||
>
|
||||
Join the Waitlist
|
||||
</Button>
|
||||
</div>
|
||||
|
@@ -110,7 +110,15 @@ export function Header() {
|
||||
<NavLinks className="block text-base/7 tracking-tight" />
|
||||
</div>
|
||||
<div className="mt-8 flex flex-col gap-4">
|
||||
<Button href="mailto:info@ourworld.tf" variant="outline" color="white" target="_blank" rel="noopener noreferrer">
|
||||
<Button
|
||||
variant="outline"
|
||||
color="white"
|
||||
onClick={() => {
|
||||
if (typeof window !== 'undefined' && (window as any).ml_account) {
|
||||
(window as any).ml_account('webforms', '6108375', 'l9m8g1', 'show')
|
||||
}
|
||||
}}
|
||||
>
|
||||
Join the Waitlist
|
||||
</Button>
|
||||
<Button href="https://calendly.com/sachao/30min" color="cyan">Book a Meeting</Button>
|
||||
@@ -123,8 +131,16 @@ export function Header() {
|
||||
)}
|
||||
</Popover>
|
||||
<div className="flex items-center gap-6 max-lg:hidden">
|
||||
<Button href="mailto:info@ourworld.tf" variant="outline" color="white" target="_blank" rel="noopener noreferrer">
|
||||
Join the Waitlist
|
||||
<Button
|
||||
variant="outline"
|
||||
color="white"
|
||||
onClick={() => {
|
||||
if (typeof window !== 'undefined' && (window as any).ml_account) {
|
||||
(window as any).ml_account('webforms', '6108375', 'l9m8g1', 'show')
|
||||
}
|
||||
}}
|
||||
>
|
||||
Join the Waitlist
|
||||
</Button>
|
||||
<Button href="https://calendly.com/sachao/30min" color="cyan">Book a Meeting</Button>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user