tweaks for june
This commit is contained in:
parent
f96524b596
commit
16e1340a7c
|
@ -15,6 +15,7 @@ cascade:
|
||||||
showBreadcrumbs: true
|
showBreadcrumbs: true
|
||||||
sharingLinks: ['facebook', 'instagram', 'email', 'reddit']
|
sharingLinks: ['facebook', 'instagram', 'email', 'reddit']
|
||||||
showHero: false
|
showHero: false
|
||||||
|
showAuthor: false
|
||||||
layout: "simple"
|
layout: "simple"
|
||||||
summary: "Chris and Abbie Cochrun serve together on TFC Staff! Chris grew up in Agra KS as a part of the Eastern Heights TFC group, Abbie grew up as a part of the Northern Valley TFC group..."
|
summary: "Chris and Abbie Cochrun serve together on TFC Staff! Chris grew up in Agra KS as a part of the Eastern Heights TFC group, Abbie grew up as a part of the Northern Valley TFC group..."
|
||||||
weight: 70
|
weight: 70
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
#+TITLE: Our Growing Family 👶
|
#+TITLE: Our Growing Family 👶
|
||||||
#+date: 2023-07-07
|
#+date: 2023-07-07
|
||||||
#+tags[]: Chris-Abbie-Cochrun, Northern-Valley, Camp
|
#+tags[]: Chris-Abbie-Cochrun, Northern-Valley, Camp
|
||||||
#+featured_image: "featured.jpg"
|
|
||||||
#+showHero: true
|
#+showHero: true
|
||||||
#+newsletter: true
|
#+newsletter: true
|
||||||
#+description: "This month has been quite crazy, and yet, not much has been done in TFC land. Just, ya know, two mission trips, a staff retreat to work on our plans for the next year, and a whole lot of TFC camp planning!"
|
#+HUGO_CUSTOM_FRONT_MATTER: :showAuthor false
|
||||||
#+summary: "This month has been quite crazy, and yet, not much has been done in TFC land. Just, ya know, two mission trips, a staff retreat to work on our plans for the next year, and a whole lot of TFC camp planning!"
|
|
||||||
#+showAuthor: false
|
|
||||||
#+showAuthorsBadge: true
|
#+showAuthorsBadge: true
|
||||||
#+showTaxonomies: true
|
#+showTaxonomies: true
|
||||||
#+showReadingTime: true
|
#+showReadingTime: true
|
||||||
|
@ -15,6 +12,9 @@
|
||||||
#+layout: "simple"
|
#+layout: "simple"
|
||||||
#+authors[]: chriscochrun
|
#+authors[]: chriscochrun
|
||||||
#+showTableOfContents: true
|
#+showTableOfContents: true
|
||||||
|
#+description: "This month has been quite crazy, and yet, not much has been done in TFC land. Just, ya know, two mission trips, a staff retreat to work on our plans for the next year, and a whole lot of TFC camp planning!"
|
||||||
|
#+summary: "This month has been quite crazy, and yet, not much has been done in TFC land. Just, ya know, two mission trips, a staff retreat to work on our plans for the next year, and a whole lot of TFC camp planning!"
|
||||||
|
#+featured_image: "featured.jpg"
|
||||||
|
|
||||||
|
|
||||||
** Our Growing Family!
|
** Our Growing Family!
|
||||||
|
|
|
@ -67,27 +67,12 @@
|
||||||
data.forEach((value, key) => obj[key] = value);
|
data.forEach((value, key) => obj[key] = value);
|
||||||
|
|
||||||
// For use in dev
|
// For use in dev
|
||||||
fetch("http://localhost:4242/health-form", {
|
/* fetch("http://localhost:4242/health-form", {
|
||||||
method: "POST",
|
* method: "POST",
|
||||||
body: data
|
* body: data
|
||||||
}).then((res) => {
|
* }).then((res) => {
|
||||||
console.log(res);
|
* console.log(res);
|
||||||
if (res.ok) {
|
* if (res.ok) {
|
||||||
if (mtRegistration === 'now')
|
|
||||||
window.location.href = 'https://secure.myvanco.com/L-Z772/campaign/C-13DM3';
|
|
||||||
else if (registration === 'now')
|
|
||||||
window.location.href = 'https://secure.myvanco.com/L-Z772/campaign/C-13JPJ';
|
|
||||||
else if (registration === 'full')
|
|
||||||
window.location.href = 'https://secure.myvanco.com/L-Z772/campaign/C-13JQE';
|
|
||||||
else
|
|
||||||
window.location.href = '/thankyou/';
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// For use in prod
|
|
||||||
/* var xhr = new XMLHttpRequest();
|
|
||||||
* xhr.onreadystatechange = function() {
|
|
||||||
* if (this.readyState == 4 && this.status == 200) {
|
|
||||||
* if (mtRegistration === 'now')
|
* if (mtRegistration === 'now')
|
||||||
* window.location.href = 'https://secure.myvanco.com/L-Z772/campaign/C-13DM3';
|
* window.location.href = 'https://secure.myvanco.com/L-Z772/campaign/C-13DM3';
|
||||||
* else if (registration === 'now')
|
* else if (registration === 'now')
|
||||||
|
@ -97,9 +82,24 @@
|
||||||
* else
|
* else
|
||||||
* window.location.href = '/thankyou/';
|
* window.location.href = '/thankyou/';
|
||||||
* }
|
* }
|
||||||
* };
|
* }); */
|
||||||
* xhr.open("POST", "https://n8n.tfcconnection.org/webhook/health-form");
|
|
||||||
* xhr.send(data); */
|
// For use in prod
|
||||||
|
var xhr = new XMLHttpRequest();
|
||||||
|
xhr.onreadystatechange = function() {
|
||||||
|
if (this.readyState == 4 && this.status == 200) {
|
||||||
|
if (mtRegistration === 'now')
|
||||||
|
window.location.href = 'https://secure.myvanco.com/L-Z772/campaign/C-13DM3';
|
||||||
|
else if (registration === 'now')
|
||||||
|
window.location.href = 'https://secure.myvanco.com/L-Z772/campaign/C-13JPJ';
|
||||||
|
else if (registration === 'full')
|
||||||
|
window.location.href = 'https://secure.myvanco.com/L-Z772/campaign/C-13JQE';
|
||||||
|
else
|
||||||
|
window.location.href = '/thankyou/';
|
||||||
|
}
|
||||||
|
};
|
||||||
|
xhr.open("POST", "https://n8n.tfcconnection.org/webhook/health-form");
|
||||||
|
xhr.send(data);
|
||||||
|
|
||||||
console.log(data);
|
console.log(data);
|
||||||
/* window.location.replace("https://tfcconnection.org/thankyou/"); */
|
/* window.location.replace("https://tfcconnection.org/thankyou/"); */
|
||||||
|
|
Loading…
Reference in a new issue