Skip to content

Commit ea7f657

Browse files
committed
added flodesk newsletter signup to page footer
1 parent 9884b19 commit ea7f657

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ simple static website made with parcel.
44

55
you need node.js installed to run it.
66

7-
to run it locally, do `npm run dev`.
7+
to run it locally, do
8+
`npm install`
9+
`npm run dev`
810

911
to build static assets for production, do `npm run build`.
1012

src/index.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,29 @@
3434
<meta property="og:description" content="In this impact report, we assess how our initiatives have made careers in tech more accessible for minorities all around the world." />
3535
<meta property="og:url" content="https://impact-report.codebar.io/" />
3636
<meta property="og:image" content="./assets/social-2025.png" />
37+
38+
<!-- flodesk newsletter code-->
39+
<script>
40+
(function(w, d, t, h, s, n) {
41+
w.FlodeskObject = n;
42+
var fn = function() {
43+
(w[n].q = w[n].q || []).push(arguments);
44+
};
45+
w[n] = w[n] || fn;
46+
var f = d.getElementsByTagName(t)[0];
47+
var v = '?v=' + Math.floor(new Date().getTime() / (120 * 1000)) * 60;
48+
var sm = d.createElement(t);
49+
sm.async = true;
50+
sm.type = 'module';
51+
sm.src = h + s + '.mjs' + v;
52+
f.parentNode.insertBefore(sm, f);
53+
var sn = d.createElement(t);
54+
sn.async = true;
55+
sn.noModule = true;
56+
sn.src = h + s + '.js' + v;
57+
f.parentNode.insertBefore(sn, f);
58+
})(window, document, 'script', 'https://assets.flodesk.com', '/universal', 'fd');
59+
</script>
3760
</head>
3861

3962
<body>
@@ -670,6 +693,21 @@ <h2 class="sign-off">Thank<br /> you</h2>
670693
<p class="medium-text">sponsored by </p><img src="assets/company-logos/pleo.png" alt="Pleo logo" />
671694
</div>
672695

696+
<hr class="my-12 h-0.5 border-t-0 bg-neutral-100 dark:bg-white/10 margin-top-triple" />
697+
698+
<div class=" ">
699+
<div id="fd-form-69dfc93cab2a825e30a189aa"></div>
700+
<script>
701+
window.fd('form', {
702+
formId: '69dfc93cab2a825e30a189aa',
703+
containerEl: '#fd-form-69dfc93cab2a825e30a189aa'
704+
});
705+
</script>
706+
</div>
707+
708+
<hr class="my-12 h-0.5 border-t-0 bg-neutral-100 dark:bg-white/10" />
709+
710+
673711
<ul class="margin-top-triple">
674712
<li><a href="https://slack.codebar.io"><img src="assets/social-media-icons/slack.svg" alt="join the codebar slack" class="social-media-icon"/></a></li>
675713
<li><a href="https://github.com/codebar"><img src="assets/social-media-icons/github.svg" alt="checkout codebar on GitHub" class="social-media-icon"/></a></li>

0 commit comments

Comments
 (0)