made sure we stay on same page when using cta for nodes

This commit is contained in:
Mik-TF 2024-06-20 20:13:01 -04:00
parent d50573ada7
commit dcdf961804
5 changed files with 39 additions and 7 deletions

View File

@ -0,0 +1,29 @@
---
---
<style>
#mailerlitesection {
height: 1000px;
width: 100%
}
</style>
<section>
<div id="mailerlitesection"></div>
<!-- MailerLite Universal -->
<script>
(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 -->
</section>

10
src/mailerlite_form.js Normal file
View File

@ -0,0 +1,10 @@
(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');

View File

@ -59,7 +59,6 @@ const metadata = {
}
],
callToAction: {
target: '_blank',
text: 'Get INCA Nodes',
href: '/typeform',
},
@ -87,7 +86,6 @@ const metadata = {
}
],
callToAction: {
target: '_blank',
text: 'Get INCA Nodes',
href: '/typeform',
},
@ -117,7 +115,6 @@ const metadata = {
}
],
callToAction: {
target: '_blank',
text: 'Get INCA Nodes',
href: '/typeform',
},

View File

@ -35,7 +35,6 @@ const metadata = {
variant: 'primary',
text: 'Get INCA Nodes',
href: '/typeform',
target: '_blank',
icon: 'tabler:brand-minecraft',
},
{ text: 'Learn more', href: '#technology' },
@ -115,7 +114,6 @@ const metadata = {
actions={[
{
variant: 'primary',
target: '_blank',
text: 'Get INCA Nodes',
href: '/typeform',
icon: 'tabler:brand-minecraft',
@ -360,7 +358,6 @@ const metadata = {
variant: 'primary',
text: 'Get INCA Nodes',
href: '/typeform',
target: '_blank',
icon: 'tabler:brand-minecraft',
},
]}

View File

@ -323,7 +323,6 @@ const metadata = {
actions={[
{
variant: 'primary',
target: '_blank',
text: 'Get INCA Nodes',
href: '/typeform',
icon: 'tabler:brand-minecraft',