loads of tweaks for adding may newsletter and misson trip reports

This includes server pieces that are not live just yet
This commit is contained in:
Chris Cochrun 2023-06-09 07:14:42 -05:00
parent a0f462eae0
commit 341c3cbcd3
37 changed files with 62 additions and 23 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

View file

@ -0,0 +1,26 @@
---
title: "Miriam's Hope & Cary, Mississippi"
date: 2023-06-02
tags: ["Cary, Mississippi", "Miriam's Hope", "Homestead Refuge", "Mission Trip"]
featured_image: "featured.png"
showHero: true
description: "Brick by Brick"
summary: "Brick by Brick"
showAuthor: false
showTableOfContents: true
authors: ["chriscochrun"]
showAuthorsBadge: true
showTaxonomies: true
---
Mission Trip this year is half over already, but we are so excited to share the news of what's been happening with you!
## Miriam's Hope/Homestead Refuge
The Miriam's Hope team is back already, check back here for some insights into what happened and all the cool stories that will be shared! Continue to pray for these teenagers as they bring what God taught them home!
![Miriam's Hope/Homestead Refuge](miriamshope.png "Miriam's Hope/Homestead Refuge")
## Cary Mississippi
Currently the Cary, Mississippi team is down there right now working on all kinds of things! Continue to check up on [Facebook](https://facebook.com/tfcconnection) to stay up to date with what's happening!
![Cary, Mississippi](cary.png "Cary, Mississippi")

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View file

@ -6,6 +6,9 @@ featured_image: "img/mt.jpg"
description: "Our desire to see teenagers develop a heart for missions was the main force behind the development of mission trip opportunities over 30 years ago."
summary: "Our desire to see teenagers develop a heart for missions was the main force behind the development of mission trip opportunities over 30 years ago."
weight: 30
showTableOfContents: false
layout: "simple"
groupByYear: true
---
![mission trip](featured.jpg "Last year's SPLASH 2.0 Trip in North Platte")

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

View file

@ -3,7 +3,7 @@ title: "It Starts Now - Why Families Matter :clock:"
date: 2023-06-01
tags: ["Chris & Abbie Cochrun", "Northern Valley", "Mission Trip"]
newsletter: true
featured_image: "featured.jpg"
featured_image: "featured.png"
showHero: true
description: "The first half of my May has been busy, but once graduations were all over, it's been strangely slow! Normally I'm gearing up for mission trip and would have gotten everything ready to go by now, but now that most things are"
summary: "The first half of my May has been busy, but once graduations were all over, it's been strangely slow! Normally I'm gearing up for mission trip and would have gotten everything ready to go by now, but now that most things are"
@ -24,6 +24,8 @@ That's why I've been praying so hard to alter the direction of the lives of kids
And what we want to see change, is not that they go to church every Sunday or become good people, but that they are so enthralled with Jesus, that they dedicate every part of their lives to Him. Their kids will know Jesus, their families will know Jesus, they do everything they can because they love Jesus and share Him with all their friends around them. They won't go to work each morning in order to make a living or have something to do, they'll do it because they love Jesus and they want others to know Him, and their work is their mission field.
![The Miriam's Hope Team](miriamshope.png "The Miriam's Hope Team")
This brings me back to mission trip. Few places have I seen teenagers grasp that all-encompassing life of following Jesus than on mission trip. Something about stepping away from the rest of the world changes them. Mission trip immerses teenagers in making everything about Jesus and watching carefully all the ways that Jesus is weaving their story. So, it's with much anticipation, that I wait to hear the stories of how teens will have grasped that this year when they come back. I expect to hear some amazing ways that God has made a lasting impact on the lives of the teens going.
And with that, I leave you with this, "The Spirit of the Sovereign Lord is on me, because the Lord has anointed me to proclaim good news to the poor. He has sent me to bind up the brokenhearted, to proclaim freedom for the captives and release from darkness for the prisoners," Isaiah 61:1. That's the way we want kids to live. That they will be so filled with the Spirit that it's their responsibility to do all this for those around them. All because they love Jesus.
@ -31,6 +33,8 @@ And with that, I leave you with this, "The Spirit of the Sovereign Lord is on me
That's one of our verses for mission trip this year, and it's my prayer for the kids going! Pray with me for the team that has just come back and for the team that is just now leaving! The Miriam's Hope team got back on Sunday and the Cary, Mississippi team will leave Wednesday May 31st. Pray for them that hearts are changed in such a way that they must take it upon themselves to love others!
![The Cary Mississippi Team](cary.png "The Cary Mississippi Team")
## Things to Pray About
- Mission trip kids have left by the time you'll read this! Pray as God does incredible things in them and through them!
@ -39,3 +43,11 @@ That's one of our verses for mission trip this year, and it's my prayer for the
- Pray for camp coming up! We have some big needs which you can find out about more here!
- Finally, keep praying for our family as it grows! I'm praying that we've already welcomed another baby boy into our family by the time you read this, but please pray for our family as we adjust to this big addition to our family!
## Cochrun Happenings
While I write this, Abbie hasn't had the baby yet, but I hope she has by the time you read it! This last month we helped with cow working day, going to graduations, and enjoying so much outdoor fun!
I built a table for us to have outdoor meals more often and already we've put it such great use! Josiah and Luke want to eat out there every day and with it being as cool as it has, we've been doing that!
![Cochrun Family!](cochrun-family.png "Cochrun Family")
> If you'd like to donate, please head on over to [the donation page](https://secure.myvanco.com/L-Z772/campaign/C-12WG5)

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View file

@ -66,34 +66,31 @@
let obj = {};
data.forEach((value, key) => obj[key] = value);
/* console.log(JSON.stringify(data)); */
fetch("http://localhost:4242/health-form", {
method: "POST",
/* headers: {
* "Content-Type": "application/json",
* }, */
body: data
}).then((res) => {
console.log(res);
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/';
}
});
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", "http://localhost:4242/health-form"); */
/* xhr.send(data); */
/* var xhr = new XMLHttpRequest();
* xhr.onreadystatechange = function() {
* if (this.readyState == 4 && this.status == 200) {
* }
* };
* xhr.open("POST", "https://n8n.tfcconnection.org/webhook/health-form");
* xhr.send(data); */
console.log(data);
console.log("Hallo!");
/* window.location.replace("https://tfcconnection.org/thankyou/"); */
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 679 KiB

After

Width:  |  Height:  |  Size: 679 KiB

View file

@ -67,7 +67,7 @@
:external-format :latin-1))
(hunchentoot:define-easy-handler (respond :uri "/health-form") ()
(setf (hunchentoot:content-type*) "application/json")
(setf (hunchentoot:content-type*) "plain/text")
(let ((request-type (hunchentoot:request-method hunchentoot:*request*)))
(cond ((eq request-type :get) nil)
((eq request-type :post)
@ -133,5 +133,6 @@
(apply #'concatenate 'string content) image-file-name)))
(setq *last-list-data* (append *last-list-data* form-list))))
(post-health-form *last-list-data*))))))
(post-health-form *last-list-data*)
(format nil "thankyou"))))))