made sure we stay on same page when using cta for nodes
This commit is contained in:
parent
d50573ada7
commit
dcdf961804
29
src/components/widgets/EmbedMailerLite.astro
Normal file
29
src/components/widgets/EmbedMailerLite.astro
Normal 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
10
src/mailerlite_form.js
Normal 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');
|
@ -59,7 +59,6 @@ const metadata = {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
callToAction: {
|
callToAction: {
|
||||||
target: '_blank',
|
|
||||||
text: 'Get INCA Nodes',
|
text: 'Get INCA Nodes',
|
||||||
href: '/typeform',
|
href: '/typeform',
|
||||||
},
|
},
|
||||||
@ -87,7 +86,6 @@ const metadata = {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
callToAction: {
|
callToAction: {
|
||||||
target: '_blank',
|
|
||||||
text: 'Get INCA Nodes',
|
text: 'Get INCA Nodes',
|
||||||
href: '/typeform',
|
href: '/typeform',
|
||||||
},
|
},
|
||||||
@ -117,7 +115,6 @@ const metadata = {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
callToAction: {
|
callToAction: {
|
||||||
target: '_blank',
|
|
||||||
text: 'Get INCA Nodes',
|
text: 'Get INCA Nodes',
|
||||||
href: '/typeform',
|
href: '/typeform',
|
||||||
},
|
},
|
||||||
|
@ -35,7 +35,6 @@ const metadata = {
|
|||||||
variant: 'primary',
|
variant: 'primary',
|
||||||
text: 'Get INCA Nodes',
|
text: 'Get INCA Nodes',
|
||||||
href: '/typeform',
|
href: '/typeform',
|
||||||
target: '_blank',
|
|
||||||
icon: 'tabler:brand-minecraft',
|
icon: 'tabler:brand-minecraft',
|
||||||
},
|
},
|
||||||
{ text: 'Learn more', href: '#technology' },
|
{ text: 'Learn more', href: '#technology' },
|
||||||
@ -115,7 +114,6 @@ const metadata = {
|
|||||||
actions={[
|
actions={[
|
||||||
{
|
{
|
||||||
variant: 'primary',
|
variant: 'primary',
|
||||||
target: '_blank',
|
|
||||||
text: 'Get INCA Nodes',
|
text: 'Get INCA Nodes',
|
||||||
href: '/typeform',
|
href: '/typeform',
|
||||||
icon: 'tabler:brand-minecraft',
|
icon: 'tabler:brand-minecraft',
|
||||||
@ -360,7 +358,6 @@ const metadata = {
|
|||||||
variant: 'primary',
|
variant: 'primary',
|
||||||
text: 'Get INCA Nodes',
|
text: 'Get INCA Nodes',
|
||||||
href: '/typeform',
|
href: '/typeform',
|
||||||
target: '_blank',
|
|
||||||
icon: 'tabler:brand-minecraft',
|
icon: 'tabler:brand-minecraft',
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
|
@ -323,7 +323,6 @@ const metadata = {
|
|||||||
actions={[
|
actions={[
|
||||||
{
|
{
|
||||||
variant: 'primary',
|
variant: 'primary',
|
||||||
target: '_blank',
|
|
||||||
text: 'Get INCA Nodes',
|
text: 'Get INCA Nodes',
|
||||||
href: '/typeform',
|
href: '/typeform',
|
||||||
icon: 'tabler:brand-minecraft',
|
icon: 'tabler:brand-minecraft',
|
||||||
|
Loading…
Reference in New Issue
Block a user