added mailing list

This commit is contained in:
Mik-TF 2024-06-20 23:31:54 -04:00
parent b1f6589495
commit ada17139f6
3 changed files with 48 additions and 7 deletions

View File

@ -38,7 +38,22 @@ const { language, textDirection } = I18N;
<!-- Comment the line below to disable View Transitions --> <!-- Comment the line below to disable View Transitions -->
<ViewTransitions fallback="swap" /> <ViewTransitions fallback="swap" />
<script type="text/javascript">window.$crisp=[];window.CRISP_WEBSITE_ID="1a5a5241-91cb-4a41-8323-5ba5ec574da0";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();</script> <script type="text/javascript">window.$crisp=[];window.CRISP_WEBSITE_ID="1a5a5241-91cb-4a41-8323-5ba5ec574da0";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();</script>
<!-- MailerLite Universal -->
<script is:inline>
(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> </head>
<body class="antialiased text-default bg-page tracking-tight"> <body class="antialiased text-default bg-page tracking-tight">

View File

@ -48,10 +48,11 @@ export const footerData = {
{ {
title: 'Communication', title: 'Communication',
links: [ links: [
{ text: 'Join the Mailing List', href: 'javascript:ml_account("webforms", "3562741", "n7q9l7", "show")' },
{ text: 'Contact Us', href: '/contact' }, { text: 'Contact Us', href: '/contact' },
{ text: 'INCA Blog', href: '/blog' },
{ text: 'Reach Support', href: 'https://threefoldfaq.crisp.help/en/' },
{ text: 'ThreeFold Chat', href: 'https://t.me/threefold' }, { text: 'ThreeFold Chat', href: 'https://t.me/threefold' },
{ text: 'INCA Blog', href: '/blog' },
], ],
}, },
], ],

View File

@ -16,6 +16,7 @@ import Partners from './partners.astro'
import Purpose from './purpose.astro' import Purpose from './purpose.astro'
import Inca from './internetcapacity.astro' import Inca from './internetcapacity.astro'
import INCAStats from './incastats.astro' import INCAStats from './incastats.astro'
import EmbedMailerlite from '~/components/widgets/EmbedMailerlite.astro';
@ -306,6 +307,28 @@ const metadata = {
/> />
<!-- CallToAction Widget *********** -->
<CallToAction
actions={[
{
variant: 'primary',
text: 'Get INCA Nodes',
href: '/typeform',
icon: 'tabler:brand-minecraft',
},
]}
>
<Fragment slot="title">
Grow the Internet Capacity with Us!
</Fragment>
<Fragment slot="subtitle">
The grid grows stronger as we build and deploy together. Join the fun!
</Fragment>
</CallToAction>
<!-- HighlightedPosts Widget ******* --> <!-- HighlightedPosts Widget ******* -->
@ -350,24 +373,26 @@ const metadata = {
]} ]}
/> />
<!-- CallToAction Widget *********** --> <!-- CallToAction Widget *********** -->
<CallToAction <CallToAction
actions={[ actions={[
{ {
variant: 'primary', variant: 'primary',
text: 'Get INCA Nodes', text: 'Sign Up',
href: '/typeform', href: 'javascript:ml_account("webforms", "3562741", "n7q9l7", "show")',
icon: 'tabler:brand-minecraft', icon: 'tabler:mail',
}, },
]} ]}
> >
<Fragment slot="title"> <Fragment slot="title">
Grow the Internet Capacity with Us! Be in the Know!
</Fragment> </Fragment>
<Fragment slot="subtitle"> <Fragment slot="subtitle">
The grid grows stronger as we build and deploy together. Join the fun! Join the mailing list to receive news and updates about the project!
</Fragment> </Fragment>
</CallToAction> </CallToAction>
</Layout> </Layout>