/* global React, Icon, Eyebrow, GoldRule, Pill, Button, Container, SectionHead, Reveal, Wordmark, ParallaxLayer */ // ====================== SHARED DATA ====================================== const COURSES = [ { n: "01", title: "Understanding the Kingdom", img: "assets/course-01.jpg", file: "understanding-the-kingdom.html", blurb: "The foundation everything else builds on. See the Kingdom of God as a governing reality you were called to represent." }, { n: "02", title: "Kingdom Economics & Biblical Finance", img: "assets/course-02.jpg", file: "kingdom-economics.html", blurb: "Learn to steward resources by Kingdom principles — from personal finance to marketplace influence." }, { n: "03", title: "Prayer and Spiritual Warfare", img: "assets/course-03.jpg", file: "prayer-and-spiritual-warfare.html", blurb: "Engage in effective, authoritative prayer and stand firm in the midst of spiritual conflict." }, { n: "04", title: "Prophets & Prophecy", img: "assets/course-04.jpg", file: "prophets-and-prophecy.html", blurb: "Understand the prophetic, its purpose, its order, and its right use in the Church today." }, { n: "05", title: "Purpose of the Church", img: "assets/course-05.jpg", file: "purpose-of-the-church.html", blurb: "The Church was not designed to simply survive, it was designed to govern. Recover the mission and original design of the Church as God intended it to function." }, { n: "06", title: "Order in the House", img: "assets/course-06.jpg", file: "order-in-the-house.html", blurb: "Healthy organizations don't happen by accident. Learn to govern ministry and community with the structure, accountability, and honor that sustains them through every season." }, { n: "07", title: "Praise and Worship", img: "assets/course-07.jpg", file: "praise-and-worship.html", blurb: "Worship is not a warm-up. It is a weapon and a lifestyle. Cultivate a ministry of worship that is deeply rooted in Scripture and expressed with excellence." }, { n: "08", title: "Ministry of Helps and Hospitality", img: "assets/course-08.jpg", file: "ministry-of-helps.html", blurb: "Every great mission runs on people who serve with excellence behind the scenes. Learn the gifts that strengthen and sustain the body — and why they matter more than most leaders realize." }, ]; window.COURSES = COURSES; // ====================== HERO (CENTERED, VIDEO-LED — homepage) ============ function HeroSplit({ eyebrow, title, sub, body, onWalkthrough }) { return (
{/* background video leads the hero */} {/* subtle top scrim — only enough to keep the nav legible; her face stays clear */}
); } window.HeroSplit = HeroSplit; // ====================== HERO (BANNER — inner pages) ====================== function HeroBanner({ eyebrow, title, sub, body, primary, secondary, align = "center", minH = 560, video }) { const centered = align === "center"; const videoSrc = video && (((window.__resources && window.__resources[video.id]) || video.src)); return (
{video && ( )} {video &&
); } window.HeroBanner = HeroBanner; // ====================== CLICK-TO-PLAY YOUTUBE EMBED ====================== // Click once to start — no autoplay, no mute, no loop. Once pressed, it plays through normally. function YouTubeEmbed({ id, title }) { const [playing, setPlaying] = React.useState(false); return (
{playing ? ( ) : ( )}
); } window.YouTubeEmbed = YouTubeEmbed; // ====================== COURSE CARD (photo-led) ========================== function CourseCard({ c, delay = 0 }) { const [hover, setHover] = React.useState(false); return ( setHover(true)} onMouseLeave={() => setHover(false)} style={{ display: "flex", flexDirection: "column", textDecoration: "none", background: "#fff", border: "1px solid var(--line)", borderRadius: 10, overflow: "hidden", height: "100%", boxSizing: "border-box", boxShadow: hover ? "var(--shadow-md)" : "var(--shadow-sm)", transform: hover ? "translateY(-4px)" : "none", transition: "all .25s var(--ease)" }}> {/* Photo */}
{c.img ? ( {typeof