diff --git a/CHANGELOG.md b/CHANGELOG.md index d2a98ad..fd7b077 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ Each package and app has its own section and its own tags (`contracts@1.0.0`, `accounts@1.0.0`, …). +## website@1.6.0 - 2026-11-27 + +The demo church has real photos, and photos in small frames load at their size. Details in +`apps/website/CHANGELOG.md`. No migration. + +- **Demo photos:** 104 Unsplash stock photos (models, free under the Unsplash License, credited + in `apps/website/backend/demo-photos/CREDITS.md`) instead of the generated illustration: a set + per demo profile, a portrait for every leader, a picture for each event, and a photo for each + message instead of the stand-in video's thumbnail. Loaded like uploads, in the responsive sizes. +- **Faster on phones:** the collage hero, the team's portraits and the ministry cards give the + browser their real width (`sizes`), so a phone no longer fetches the full-width photo for a + small frame. + ## website@1.5.0 + crosscode script - 2026-11-27 The Church Website's nightly backup also backs up the photos and files. Details in diff --git a/apps/website/CHANGELOG.md b/apps/website/CHANGELOG.md index 2fd6b5c..23b07ad 100644 --- a/apps/website/CHANGELOG.md +++ b/apps/website/CHANGELOG.md @@ -1,5 +1,42 @@ # Changelog — Church Website +## [1.6.0] — 2026-11-27 + +No migration, no new environment settings. + +### Changed + +- **The demo church has photos** instead of the generated "hills and sun" illustration that + stood in for every picture. 104 stock photos from Unsplash (free under the Unsplash License; + credits in `backend/demo-photos/CREDITS.md` and `photos.json`), 12 MB of WebP in + `backend/demo-photos/`. Each demo profile has its own set (`photos` in `src/demo/seeds.ts`): a + stone parish church, a city spire, a worship night, a school hall, a family table, farmland, a + coffee table, a campus. The ministry pictures match what they are (Sunday school, choir, soup + kitchen, students). Acacia Hill (a template on its own) gets an acacia at sunrise. The people + are the photographers' models. +- **Every leader has a portrait** (before: only the first, so the team showed three empty + circles), named for them in its alt text (`photos.team`). +- **The demo's events have pictures** (`photos.events`; before: the grey placeholder on event + cards). Photos that compress well where an event page shows them large (the picnic is 75 KB at + 960 px, not the 170 KB of the busier one), so the event pages stay at Lighthouse 90+. +- **The demo's messages have photos** (`photos.messages`: a pulpit, an open Bible, a + microphone, a preacher who matches the speaker) instead of the stand-in video's thumbnail. + `Message.thumbnailUrl` set to one of the site's own uploads (`/api/uploads/…`) now comes before + the YouTube thumbnail (`messageThumbnail`); admins and the YouTube feed store YouTube's address + there, which is still never used, so nothing changes for a church's own messages. +- Demo photos become media assets the way an upload does (`processImage`: 480, 960 and 1600 px + in WebP and JPEG), so demo sites serve responsive images. Each photo is processed once per + machine (`/crosscode-website-demo/`, made in a folder of its own and renamed into place) + and copied into `/demo/`. Without `demo-photos/`, the illustration still stands in. +- e2e: the fake YouTube thumbnail is one of the demo photos. + +### Fixed + +- Photos in small frames are fetched at their size, not the screen's: Community's collage hero + (fixed 10–16rem frames), the collage row in the other templates (a third of the width), the + team's portraits (12rem, 20rem featured) and the ministry cards (a quarter or a third of the + width) say so in `sizes`. A phone fetched the 960 or 1600 px photo for each before. + ## [1.5.0] — 2026-11-27 No migration, no new environment settings. diff --git a/apps/website/WHATS-NEW.md b/apps/website/WHATS-NEW.md index c62235b..8da31b9 100644 --- a/apps/website/WHATS-NEW.md +++ b/apps/website/WHATS-NEW.md @@ -3,6 +3,14 @@ What each version changes for the church, in plain language (read by the Hub like Cross Events' WHATS-NEW.md; a section shows once its version is tagged). +## 1.6.0 + +- **Photos load faster on phones.** Photos in small frames (the collage at the top of the + Community template, your team's portraits and the ministry cards) are now downloaded at the size + they're shown, instead of full width. Nothing to change on your side. +- Behind the scenes, Cross Code's demonstration websites now show real photos of a (made-up) + church instead of drawings. + ## 1.5.0 - **Your photos and files are backed up too.** Every night, after your site's content, your media diff --git a/apps/website/backend/demo-photos/CREDITS.md b/apps/website/backend/demo-photos/CREDITS.md new file mode 100644 index 0000000..9f8867f --- /dev/null +++ b/apps/website/backend/demo-photos/CREDITS.md @@ -0,0 +1,115 @@ +# Demo photos + +The demo church's photos (`src/demo/`), from [Unsplash](https://unsplash.com), used under the +[Unsplash License](https://unsplash.com/license): free to use, commercially too, without asking. +The people in them are the photographers' models, standing in for the fictional churches' people. +Credit is not required, but given here. Each is WebP, at most 2000 px wide (portraits 1000 × 1250, +cropped to the face); `photos.json` holds their alt text, size and credit, keyed by the names the +demo profiles use (`src/demo/seeds.ts`). + +| Photo | Photographer | On Unsplash | +|-------|--------------|-------------| +| `acacia-sunrise` | [Damian Patkowski](https://unsplash.com/@damianpatkowski) | [T-LfvX-7IVg](https://unsplash.com/photos/tree-between-green-land-during-golden-hour-T-LfvX-7IVg) | +| `city-spire` | [Ross Sneddon](https://unsplash.com/@rosssneddon) | [2XTPV6WykVc](https://unsplash.com/photos/person-walking-on-pathway-2XTPV6WykVc) | +| `stone-church` | [Wolfgang Weiser](https://unsplash.com/@hamburgmeinefreundin) | [UCnBapalXbE](https://unsplash.com/photos/historic-brick-church-with-tall-spire-surrounded-by-trees-UCnBapalXbE) | +| `country-church` | [Vedanth Ravi](https://unsplash.com/@vedanthravi) | [ql9-rgPUPZE](https://unsplash.com/photos/old-stone-church-ruins-under-a-blue-sky-ql9-rgPUPZE) | +| `church-light` | [Debby Hudson](https://unsplash.com/@hudsoncrafted) | [sgdyBq6kheQ](https://unsplash.com/photos/cathedral-interior-sgdyBq6kheQ) | +| `church-aisle` | [BEN ELLIOTT](https://unsplash.com/@benjaminelliott) | [-_M9YXEliAI](https://unsplash.com/photos/a-large-church-with-a-large-stained-glass-window--_M9YXEliAI) | +| `church-doors` | [João Weyne Justa](https://unsplash.com/@joaoweynej) | [VCbtM1PR4_o](https://unsplash.com/photos/empty-church-pews-lead-to-a-cross-in-the-distance-VCbtM1PR4_o) | +| `church-white` | [Julia Taubitz](https://unsplash.com/@justmejuliee) | [MVE9TBMdXLs](https://unsplash.com/photos/pews-and-chandelier-in-vimmerby-church-MVE9TBMdXLs) | +| `farm-road` | [Mario Beducci](https://unsplash.com/@mariobeducci) | [sVp8eXOLovA](https://unsplash.com/photos/a-winding-dirt-road-through-rolling-hills-at-sunset-sVp8eXOLovA) | +| `farm-bales` | [Vi Bell](https://unsplash.com/@vibell) | [BZa5NqifCt8](https://unsplash.com/photos/hay-bales-in-harvested-field-BZa5NqifCt8) | +| `school-hall` | [Pix Tresa](https://unsplash.com/@pixtresa) | [qRtFqXNkssY](https://unsplash.com/photos/wooden-folding-chairs-in-paneled-room-qRtFqXNkssY) | +| `hall-chairs` | [Adolfo Félix](https://unsplash.com/@adolfofelix) | [6hSBcpa7qVI](https://unsplash.com/photos/rows-of-empty-chairs-in-a-wood-paneled-room-6hSBcpa7qVI) | +| `campus-path` | [avansear](https://unsplash.com/@avansear) | [nWyKIZVidIs](https://unsplash.com/photos/campus-path-with-trees-and-people-nWyKIZVidIs) | +| `congregation-warm` | [Christian Harb](https://unsplash.com/@c7arb) | [RAENAd2Rxoo](https://unsplash.com/photos/a-congregation-gathered-inside-a-large-hall-RAENAd2Rxoo) | +| `congregation-pews` | [Christian Harb](https://unsplash.com/@c7arb) | [e77txgeniiU](https://unsplash.com/photos/audience-seated-in-a-church-during-a-service-e77txgeniiU) | +| `congregation-modern` | [Sophie Spree](https://unsplash.com/@sophiespree) | [9zJcrli2WCU](https://unsplash.com/photos/a-group-of-people-standing-in-a-room-with-their-hands-in-the-air-9zJcrli2WCU) | +| `congregation-hall` | [Charise Pieterse](https://unsplash.com/@cedarhillchurch) | [IyGJ38BOcP8](https://unsplash.com/photos/people-standing-in-church-worship-IyGJ38BOcP8) | +| `worship-hands` | [Fallon Michael](https://unsplash.com/@fallonmichaeltx) | [bUd6kWoVfII](https://unsplash.com/photos/people-raising-their-hands-up-bUd6kWoVfII) | +| `band-stage` | [Memento Media](https://unsplash.com/@heymemento) | [PbQF8EIsR2U](https://unsplash.com/photos/man-in-black-leather-jacket-playing-guitar-PbQF8EIsR2U) | +| `band-big` | [Bree Anne](https://unsplash.com/@breebuddy) | [dDED_VZ2jbI](https://unsplash.com/photos/people-sitting-on-chairs-watching-band-performing-on-stage-dDED_VZ2jbI) | +| `band-small` | [AMONWAT DUMKRUT](https://unsplash.com/@amonwatdumkrut) | [3E0KqEVDKzg](https://unsplash.com/photos/woman-singing-in-church-worship-service-3E0KqEVDKzg) | +| `guitar-singer` | [Luke Thornton](https://unsplash.com/@lukethorntonofficial) | [JNl7o-Mj2cc](https://unsplash.com/photos/man-in-gray-v-neck-long-sleeve-shirt-playing-brown-acoustic-guitar-JNl7o-Mj2cc) | +| `guitar-room` | [Gabriel Rodrigues](https://unsplash.com/@gabrielrodriguesoficial) | [p6V49LDtWA4](https://unsplash.com/photos/a-man-sitting-on-a-chair-playing-a-guitar-p6V49LDtWA4) | +| `choir-church` | [Green Liu](https://unsplash.com/@greenliustudio) | [ZaZcvU_WuF8](https://unsplash.com/photos/a-group-of-people-singing-in-front-of-a-golden-alter-ZaZcvU_WuF8) | +| `choir-gospel` | [John Onaeko](https://unsplash.com/@iyinoluwaonaeko) | [8__esxuic9Q](https://unsplash.com/photos/group-of-people-standing-on-brown-wooden-floor-8__esxuic9Q) | +| `organ` | [Spencer Plouzek](https://unsplash.com/@theguccer2100) | [aOexpXIBH_I](https://unsplash.com/photos/man-playing-a-large-wooden-pipe-organ-aOexpXIBH_I) | +| `candles` | [Eli Solitas](https://unsplash.com/@elisolitas) | [q6e4zwgtUcM](https://unsplash.com/photos/lighted-candles-on-black-metal-candle-holder-q6e4zwgtUcM) | +| `kids-craft` | [Yosi Prihantoro](https://unsplash.com/@yosipri) | [1q2Fo7Bx-pk](https://unsplash.com/photos/a-young-girl-is-holding-a-cross-made-of-paper-1q2Fo7Bx-pk) | +| `kids-drawing` | [Ruslan Horovyi](https://unsplash.com/@ruslanstock) | [ycuGtOTAtuU](https://unsplash.com/photos/two-young-students-drawing-together-in-a-classroom-ycuGtOTAtuU) | +| `kids-teacher` | [Rewired Digital](https://unsplash.com/@rewired41) | [kPkRpy6pIIg](https://unsplash.com/photos/teacher-guiding-children-drawing-at-a-table-kPkRpy6pIIg) | +| `kids-class` | [Yegor Makarenko](https://unsplash.com/@photochel228) | [WGEgIC76RjA](https://unsplash.com/photos/adult-and-children-in-classroom-WGEgIC76RjA) | +| `toddlers` | [Amanda Costelloe](https://unsplash.com/@oliveevephoto) | [8EHfZL6rFFg](https://unsplash.com/photos/two-young-girls-playing-with-colorful-wooden-blocks-8EHfZL6rFFg) | +| `youth-group` | [Nicolas Lobos](https://unsplash.com/@lobosnico) | [AqUp2AfDgu8](https://unsplash.com/photos/people-standing-near-building-AqUp2AfDgu8) | +| `youth-outdoors` | [Elliot Krueger](https://unsplash.com/@kruegerelliot) | [qNreMakc6eU](https://unsplash.com/photos/a-group-of-people-sitting-on-a-rock-in-the-woods-qNreMakc6eU) | +| `teens` | [Eliott Reyna](https://unsplash.com/@eliottreyna) | [axTm0ee3YP4](https://unsplash.com/photos/five-persons-on-front-of-chain-link-fence-axTm0ee3YP4) | +| `meal-table` | [Jesse Vigil](https://unsplash.com/@jessevig) | [I_b1PEyg8dY](https://unsplash.com/photos/a-group-of-people-sitting-at-a-long-table-I_b1PEyg8dY) | +| `meal-friends` | [Sweet Life](https://unsplash.com/@sweetlifediabetes) | [OxkxluMeAGs](https://unsplash.com/photos/a-group-of-people-sitting-around-a-table-eating-food-OxkxluMeAGs) | +| `meal-family` | [National Cancer Institute](https://unsplash.com/@nci) | [cfGG0niafjc](https://unsplash.com/photos/group-of-person-eating-indoors-cfGG0niafjc) | +| `supper-hall` | [Sweet Life](https://unsplash.com/@sweetlifediabetes) | [sQ3r1oIsaBY](https://unsplash.com/photos/a-group-of-people-sitting-around-a-table-eating-food-sQ3r1oIsaBY) | +| `soup-bowl` | [Dan DeAlmeida](https://unsplash.com/@ddealmeida) | [4aM_QE-HRLw](https://unsplash.com/photos/a-couple-of-people-holding-a-bowl-of-food-4aM_QE-HRLw) | +| `food-parcels` | [Steward Masweneng](https://unsplash.com/@stewardesign) | [fMcRbRaaZiI](https://unsplash.com/photos/a-group-of-people-standing-around-a-purple-plate-fMcRbRaaZiI) | +| `bible-study` | [Ben White](https://unsplash.com/@benwhitephotography) | [qM18dmqsTqk](https://unsplash.com/photos/man-in-black-crew-neck-t-shirt-holding-black-tablet-computer-qM18dmqsTqk) | +| `bible-coffee` | [Nicolas Lobos](https://unsplash.com/@lobosnico) | [rHwMkuJD6GM](https://unsplash.com/photos/black-smartphone-on-white-notebook-rHwMkuJD6GM) | +| `coffee-friends` | [Vitaly Gariev](https://unsplash.com/@silverkblack) | [_9rMpg5aI8k](https://unsplash.com/photos/people-talking-at-cafe-wooden-table-_9rMpg5aI8k) | +| `coffee-group` | [Vitaly Gariev](https://unsplash.com/@silverkblack) | [BlCgKHTRkFI](https://unsplash.com/photos/friends-chat-and-enjoy-coffee-at-a-cafe-BlCgKHTRkFI) | +| `students-lecture` | [Vitaly Gariev](https://unsplash.com/@silverkblack) | [T9yehHSvLL4](https://unsplash.com/photos/students-talking-in-a-lecture-hall-classroom-T9yehHSvLL4) | +| `students-fair` | [Aayush Khator](https://unsplash.com/@aayushkhator) | [VzeCjrU0V04](https://unsplash.com/photos/a-crowd-of-people-at-an-outdoor-event-VzeCjrU0V04) | +| `students-lawn` | [Dominic Kurniawan Suryaputra](https://unsplash.com/@d_ks11) | [tputvRf4bjA](https://unsplash.com/photos/a-group-of-people-sitting-on-top-of-a-lush-green-field-tputvRf4bjA) | +| `prayer-group` | [Elianna Gill](https://unsplash.com/@elianna_gill03) | [Q588c92mWEI](https://unsplash.com/photos/a-group-of-people-standing-around-each-other-Q588c92mWEI) | +| `visit-tea` | [Centre for Ageing Better](https://unsplash.com/@ageing_better) | [GJaWV0YoBeU](https://unsplash.com/photos/three-seniors-talking-and-smiling-together-GJaWV0YoBeU) | +| `welcome-hug` | [Filip Rankovic Grobgaard](https://unsplash.com/@filipgrobgaard) | [tkI306JXz7o](https://unsplash.com/photos/a-group-of-people-embracing-and-laughing-together-tkI306JXz7o) | +| `welcome-greeting` | [Erika Giraud](https://unsplash.com/@erikasayssmile) | [7KhbREQPFD4](https://unsplash.com/photos/two-men-hugging-on-focus-photography-7KhbREQPFD4) | +| `friends-picnic` | [Vitaly Gariev](https://unsplash.com/@silverkblack) | [ux5wWkiW4ZA](https://unsplash.com/photos/friends-celebrating-a-birthday-outdoors-with-a-cake-ux5wWkiW4ZA) | +| `family-picnic` | [Ainur Iman](https://unsplash.com/@mynameisiknow) | [IVCbWMeiFk4](https://unsplash.com/photos/family-picnic-in-sunlit-park-IVCbWMeiFk4) | +| `family-walk` | [Gray Clary](https://unsplash.com/@grayclary57) | [9eU9t4vxQVk](https://unsplash.com/photos/a-group-of-people-walking-down-a-path-in-a-park-9eU9t4vxQVk) | +| `pastor-thandi` | [K Studios](https://unsplash.com/@kstudios) | [pvwaNk2E-6E](https://unsplash.com/photos/a-smiling-woman-with-braided-hair-and-traditional-attire-pvwaNk2E-6E) | +| `pastor-margaret` | [Age Cymru](https://unsplash.com/@agecymru) | [1Mo0BfBzjBk](https://unsplash.com/photos/a-smiling-woman-stands-before-a-rustic-corrugated-building-1Mo0BfBzjBk) | +| `pastor-peter` | [ben o'bro](https://unsplash.com/@benobro) | [C5XyLljkMrY](https://unsplash.com/photos/man-taking-a-selfie-C5XyLljkMrY) | +| `pastor-naidoo` | [manish_ jadhav_photography05](https://unsplash.com/@mjphotography05) | [6jzu-aBdfUU](https://unsplash.com/photos/woman-and-man-in-traditional-attire-6jzu-aBdfUU) | +| `pastor-moore` | [Alef Morais](https://unsplash.com/@alef_visuals) | [Bop-YufQ-LQ](https://unsplash.com/photos/a-smiling-couple-stands-together-near-the-ocean-Bop-YufQ-LQ) | +| `pastor-andile` | [Idowu Emmanuel](https://unsplash.com/@springimagix) | [1D41F-bt6p0](https://unsplash.com/photos/man-in-blue-and-white-striped-button-up-shirt-smiling-1D41F-bt6p0) | +| `pastor-willem` | [Kyle Bushnell](https://unsplash.com/@kylebushnell) | [ZhAWv5iuFGQ](https://unsplash.com/photos/man-in-black-crew-neck-shirt-ZhAWv5iuFGQ) | +| `pastor-daniel` | [Mina Rad](https://unsplash.com/@miinrad) | [1pLb0DK4_1o](https://unsplash.com/photos/a-man-with-a-beard-sitting-on-some-steps-1pLb0DK4_1o) | +| `pastor-ian` | [Shubham Sharan](https://unsplash.com/@shubhamsharan) | [WCZ_1bx6D5I](https://unsplash.com/photos/a-man-wearing-glasses-WCZ_1bx6D5I) | +| `team-pieter` | [Vicky Hladynets](https://unsplash.com/@vhladynets) | [_gDoyVv5F4c](https://unsplash.com/photos/man-in-white-crew-neck-shirt-_gDoyVv5F4c) | +| `team-lerato` | [Christina @ wocintechchat.com M](https://unsplash.com/@wocintechchat) | [Kpd-JMLeKJk](https://unsplash.com/photos/woman-standing-and-smiling-Kpd-JMLeKJk) | +| `team-johan` | [Lance Reis](https://unsplash.com/@lancereis) | [TTdJV-K1IUg](https://unsplash.com/photos/a-man-with-a-beard-wearing-a-hat-TTdJV-K1IUg) | +| `team-sipho` | [Inocent Drici](https://unsplash.com/@inidrici) | [OGljLs0DnJ4](https://unsplash.com/photos/young-black-man-with-a-big-smile-OGljLs0DnJ4) | +| `team-anne` | [Davide Aracri](https://unsplash.com/@davieees) | [0NDVW4wO1Ms](https://unsplash.com/photos/a-woman-with-dark-hair-0NDVW4wO1Ms) | +| `team-david` | [Christophe Meyer](https://unsplash.com/@christophe_myr) | [2k1RUXZhMPY](https://unsplash.com/photos/man-in-red-crew-neck-shirt-2k1RUXZhMPY) | +| `team-claire` | [PodMatch](https://unsplash.com/@podmatch) | [2mMhaoBGjCs](https://unsplash.com/photos/woman-in-black-blazer-smiling-2mMhaoBGjCs) | +| `team-tom` | [Peri Stojnic](https://unsplash.com/@whoisperi) | [G9dttphDDE4](https://unsplash.com/photos/man-in-black-crew-neck-t-shirt-G9dttphDDE4) | +| `team-nomsa` | [Brian Kungu](https://unsplash.com/@oldceltic) | [olDpu0_Q-A0](https://unsplash.com/photos/a-woman-in-a-denim-shirt-holds-a-cup-olDpu0_Q-A0) | +| `team-kagiso` | [Divine Effiong](https://unsplash.com/@iamdivineeffiong) | [O1lbOY0H5rc](https://unsplash.com/photos/man-in-black-crew-neck-t-shirt-O1lbOY0H5rc) | +| `team-megan` | [Felipe Souza](https://unsplash.com/@dszlipe) | [Vc_mU9UmJbM](https://unsplash.com/photos/woman-in-black-hoodie-and-blue-chair-Vc_mU9UmJbM) | +| `team-ruan` | [Nathan Dumlao](https://unsplash.com/@nate_dumlao) | [26rK1-bH9Ls](https://unsplash.com/photos/man-in-gray-crew-neck-shirt-smiling-26rK1-bH9Ls) | +| `team-ayesha` | [Mehrpouya H](https://unsplash.com/@mehrpouya) | [isuiNDHQPzs](https://unsplash.com/photos/woman-in-white-t-shirt-outdoors-isuiNDHQPzs) | +| `team-chris` | [Joseph Gonzalez](https://unsplash.com/@miracletwentyone) | [iFgRcqHznqg](https://unsplash.com/photos/man-wearing-white-v-neck-shirt-iFgRcqHznqg) | +| `team-grace` | [NORBAINE GLORY TAMAR](https://unsplash.com/@g_light) | [o9LPROnZJfA](https://unsplash.com/photos/woman-in-red-blazer-o9LPROnZJfA) | +| `team-michelle` | [Troy Spoelma](https://unsplash.com/@spoelee4) | [EV8PPQG6zxY](https://unsplash.com/photos/a-woman-with-long-hair-wearing-a-blue-blazer-EV8PPQG6zxY) | +| `team-reddy` | [Pranit Tandon](https://unsplash.com/@prantan) | [BJ_PVL5vpc4](https://unsplash.com/photos/man-and-woman-embracing-in-park-BJ_PVL5vpc4) | +| `team-lwazi` | [150 Billi](https://unsplash.com/@150billi) | [dRgM67tRZHk](https://unsplash.com/photos/a-man-with-a-beard-and-a-green-shirt-dRgM67tRZHk) | +| `team-elsie` | [Hosein Sediqi](https://unsplash.com/@hoseinsediqii) | [sBkSyfPzakI](https://unsplash.com/photos/an-older-woman-with-white-hair-and-a-smile-sBkSyfPzakI) | +| `team-bongani` | [melvin Ankrah](https://unsplash.com/@hashtagmelvin) | [fEY925P2GlQ](https://unsplash.com/photos/a-happy-black-man-smiling-in-a-black-shirt-fEY925P2GlQ) | +| `team-marie` | [Doug Bagg](https://unsplash.com/@dougbagg_) | [9iLbXsMZ6ls](https://unsplash.com/photos/smiling-woman-in-brown-blazer-9iLbXsMZ6ls) | +| `team-refilwe` | [alex starnes](https://unsplash.com/@alexstarnes) | [PK_t0Lrh7MM](https://unsplash.com/photos/smiling-woman-in-yellow-blazer-holding-tablet-PK_t0Lrh7MM) | +| `team-sam` | [Its me Pravin](https://unsplash.com/@paul__pro) | [duzGG1gkgMw](https://unsplash.com/photos/a-man-leaning-over-a-wooden-table-in-a-warehouse-duzGG1gkgMw) | +| `team-nadia` | [amin naderloei](https://unsplash.com/@aminnaderloei) | [OmjeNvHwkDI](https://unsplash.com/photos/a-smiling-woman-sits-outdoors-on-a-rock-OmjeNvHwkDI) | +| `team-lisa` | [Ionela Mat](https://unsplash.com/@ionelaaaaa) | [s3PJLnFKjnI](https://unsplash.com/photos/woman-smiles-while-posing-near-foliage-s3PJLnFKjnI) | +| `team-thabo` | [nana o.](https://unsplash.com/@afroscope) | [10fvuGtnoEM](https://unsplash.com/photos/man-near-tree-10fvuGtnoEM) | +| `team-priya` | [amin naderloei](https://unsplash.com/@aminnaderloei) | [5KsbzX5M9mo](https://unsplash.com/photos/young-woman-in-glasses-smiling-in-a-forest-5KsbzX5M9mo) | +| `open-bible` | [Sixteen Miles Out](https://unsplash.com/@sixteenmilesout) | [L-mNqn89I2s](https://unsplash.com/photos/green-plant-on-white-book-page-L-mNqn89I2s) | +| `pulpit` | [Mitchell Leach](https://unsplash.com/@mitchellleach) | [DmdQGZqR_38](https://unsplash.com/photos/brown-wooden-cross-on-brown-wooden-cabinet-DmdQGZqR_38) | +| `church-quiet` | [Martin Jernberg](https://unsplash.com/@martinjernberg) | [ySjfkwugiEA](https://unsplash.com/photos/a-man-sitting-in-a-church-with-stained-glass-windows-ySjfkwugiEA) | +| `sermon-robe` | [Benjamin Brunner](https://unsplash.com/@ben_brunner) | [MbYFGJT06gk](https://unsplash.com/photos/a-man-in-a-black-robe-holding-a-book-MbYFGJT06gk) | +| `sermon-collar` | [RECARDO DAVIDSON](https://unsplash.com/@shotbyriki) | [26JmMEHe9nk](https://unsplash.com/photos/clergywoman-in-black-suit-stands-before-a-stone-wall-26JmMEHe9nk) | +| `sermon-stage` | [Phil Hearing](https://unsplash.com/@philhearing) | [mgPIJGLM0SU](https://unsplash.com/photos/a-man-standing-on-top-of-a-stage-next-to-a-microphone-mgPIJGLM0SU) | +| `sermon-hall` | [adrianna geo](https://unsplash.com/@adrigeo_) | [xjzhVNOvfZM](https://unsplash.com/photos/people-sitting-on-chairs-inside-room-xjzhVNOvfZM) | +| `sermon-dark` | [Zach Lucero](https://unsplash.com/@zlucerophoto) | [X4V-El4qvZ4](https://unsplash.com/photos/a-man-in-a-suit-and-tie-holding-a-piece-of-paper-X4V-El4qvZ4) | +| `mic-audience` | [Joao Cruz](https://unsplash.com/@jcruzweb) | [IkEpl3JkVqU](https://unsplash.com/photos/shallow-focus-photo-of-black-corded-microphone-IkEpl3JkVqU) | +| `mic-blue` | [Matthias Wagner](https://unsplash.com/@matwag) | [QrqeusbpFMM](https://unsplash.com/photos/black-and-gray-microphone-on-black-stand-QrqeusbpFMM) | +| `mic-red` | [Allie Reefer](https://unsplash.com/@thepghtraveler) | [rAoQn6kwv64](https://unsplash.com/photos/a-microphone-on-a-stand-in-front-of-a-red-background-rAoQn6kwv64) | +| `mic-white` | [Madrosah Sunnah](https://unsplash.com/@26_ms) | [UA1nd6-Dndw](https://unsplash.com/photos/black-and-gray-microphone-on-white-background-UA1nd6-Dndw) | +| `mic-crowd` | [Herlambang Tinasih Gusti](https://unsplash.com/@tinasihgusti) | [-ymBs1mVim8](https://unsplash.com/photos/a-man-standing-in-front-of-a-crowd-of-people--ymBs1mVim8) | diff --git a/apps/website/backend/demo-photos/acacia-sunrise.webp b/apps/website/backend/demo-photos/acacia-sunrise.webp new file mode 100644 index 0000000..18f0867 Binary files /dev/null and b/apps/website/backend/demo-photos/acacia-sunrise.webp differ diff --git a/apps/website/backend/demo-photos/band-big.webp b/apps/website/backend/demo-photos/band-big.webp new file mode 100644 index 0000000..4096ccd Binary files /dev/null and b/apps/website/backend/demo-photos/band-big.webp differ diff --git a/apps/website/backend/demo-photos/band-small.webp b/apps/website/backend/demo-photos/band-small.webp new file mode 100644 index 0000000..1b5ece8 Binary files /dev/null and b/apps/website/backend/demo-photos/band-small.webp differ diff --git a/apps/website/backend/demo-photos/band-stage.webp b/apps/website/backend/demo-photos/band-stage.webp new file mode 100644 index 0000000..fed6b14 Binary files /dev/null and b/apps/website/backend/demo-photos/band-stage.webp differ diff --git a/apps/website/backend/demo-photos/bible-coffee.webp b/apps/website/backend/demo-photos/bible-coffee.webp new file mode 100644 index 0000000..5c875cc Binary files /dev/null and b/apps/website/backend/demo-photos/bible-coffee.webp differ diff --git a/apps/website/backend/demo-photos/bible-study.webp b/apps/website/backend/demo-photos/bible-study.webp new file mode 100644 index 0000000..a4bc904 Binary files /dev/null and b/apps/website/backend/demo-photos/bible-study.webp differ diff --git a/apps/website/backend/demo-photos/campus-path.webp b/apps/website/backend/demo-photos/campus-path.webp new file mode 100644 index 0000000..42f5fd0 Binary files /dev/null and b/apps/website/backend/demo-photos/campus-path.webp differ diff --git a/apps/website/backend/demo-photos/candles.webp b/apps/website/backend/demo-photos/candles.webp new file mode 100644 index 0000000..f37232b Binary files /dev/null and b/apps/website/backend/demo-photos/candles.webp differ diff --git a/apps/website/backend/demo-photos/choir-church.webp b/apps/website/backend/demo-photos/choir-church.webp new file mode 100644 index 0000000..b810766 Binary files /dev/null and b/apps/website/backend/demo-photos/choir-church.webp differ diff --git a/apps/website/backend/demo-photos/choir-gospel.webp b/apps/website/backend/demo-photos/choir-gospel.webp new file mode 100644 index 0000000..d2dffaf Binary files /dev/null and b/apps/website/backend/demo-photos/choir-gospel.webp differ diff --git a/apps/website/backend/demo-photos/church-aisle.webp b/apps/website/backend/demo-photos/church-aisle.webp new file mode 100644 index 0000000..9a4e59e Binary files /dev/null and b/apps/website/backend/demo-photos/church-aisle.webp differ diff --git a/apps/website/backend/demo-photos/church-doors.webp b/apps/website/backend/demo-photos/church-doors.webp new file mode 100644 index 0000000..eccc191 Binary files /dev/null and b/apps/website/backend/demo-photos/church-doors.webp differ diff --git a/apps/website/backend/demo-photos/church-light.webp b/apps/website/backend/demo-photos/church-light.webp new file mode 100644 index 0000000..98f965e Binary files /dev/null and b/apps/website/backend/demo-photos/church-light.webp differ diff --git a/apps/website/backend/demo-photos/church-quiet.webp b/apps/website/backend/demo-photos/church-quiet.webp new file mode 100644 index 0000000..88645cd Binary files /dev/null and b/apps/website/backend/demo-photos/church-quiet.webp differ diff --git a/apps/website/backend/demo-photos/church-white.webp b/apps/website/backend/demo-photos/church-white.webp new file mode 100644 index 0000000..5daae0e Binary files /dev/null and b/apps/website/backend/demo-photos/church-white.webp differ diff --git a/apps/website/backend/demo-photos/city-spire.webp b/apps/website/backend/demo-photos/city-spire.webp new file mode 100644 index 0000000..d8ec36e Binary files /dev/null and b/apps/website/backend/demo-photos/city-spire.webp differ diff --git a/apps/website/backend/demo-photos/coffee-friends.webp b/apps/website/backend/demo-photos/coffee-friends.webp new file mode 100644 index 0000000..a27f8d5 Binary files /dev/null and b/apps/website/backend/demo-photos/coffee-friends.webp differ diff --git a/apps/website/backend/demo-photos/coffee-group.webp b/apps/website/backend/demo-photos/coffee-group.webp new file mode 100644 index 0000000..bda99ff Binary files /dev/null and b/apps/website/backend/demo-photos/coffee-group.webp differ diff --git a/apps/website/backend/demo-photos/congregation-hall.webp b/apps/website/backend/demo-photos/congregation-hall.webp new file mode 100644 index 0000000..cc1dcf1 Binary files /dev/null and b/apps/website/backend/demo-photos/congregation-hall.webp differ diff --git a/apps/website/backend/demo-photos/congregation-modern.webp b/apps/website/backend/demo-photos/congregation-modern.webp new file mode 100644 index 0000000..e6408a9 Binary files /dev/null and b/apps/website/backend/demo-photos/congregation-modern.webp differ diff --git a/apps/website/backend/demo-photos/congregation-pews.webp b/apps/website/backend/demo-photos/congregation-pews.webp new file mode 100644 index 0000000..c480a9e Binary files /dev/null and b/apps/website/backend/demo-photos/congregation-pews.webp differ diff --git a/apps/website/backend/demo-photos/congregation-warm.webp b/apps/website/backend/demo-photos/congregation-warm.webp new file mode 100644 index 0000000..355691e Binary files /dev/null and b/apps/website/backend/demo-photos/congregation-warm.webp differ diff --git a/apps/website/backend/demo-photos/country-church.webp b/apps/website/backend/demo-photos/country-church.webp new file mode 100644 index 0000000..c8b4d65 Binary files /dev/null and b/apps/website/backend/demo-photos/country-church.webp differ diff --git a/apps/website/backend/demo-photos/family-picnic.webp b/apps/website/backend/demo-photos/family-picnic.webp new file mode 100644 index 0000000..a856d26 Binary files /dev/null and b/apps/website/backend/demo-photos/family-picnic.webp differ diff --git a/apps/website/backend/demo-photos/family-walk.webp b/apps/website/backend/demo-photos/family-walk.webp new file mode 100644 index 0000000..862ce34 Binary files /dev/null and b/apps/website/backend/demo-photos/family-walk.webp differ diff --git a/apps/website/backend/demo-photos/farm-bales.webp b/apps/website/backend/demo-photos/farm-bales.webp new file mode 100644 index 0000000..7a96bff Binary files /dev/null and b/apps/website/backend/demo-photos/farm-bales.webp differ diff --git a/apps/website/backend/demo-photos/farm-road.webp b/apps/website/backend/demo-photos/farm-road.webp new file mode 100644 index 0000000..b32e28b Binary files /dev/null and b/apps/website/backend/demo-photos/farm-road.webp differ diff --git a/apps/website/backend/demo-photos/food-parcels.webp b/apps/website/backend/demo-photos/food-parcels.webp new file mode 100644 index 0000000..59a6bcc Binary files /dev/null and b/apps/website/backend/demo-photos/food-parcels.webp differ diff --git a/apps/website/backend/demo-photos/friends-picnic.webp b/apps/website/backend/demo-photos/friends-picnic.webp new file mode 100644 index 0000000..7ee1b5b Binary files /dev/null and b/apps/website/backend/demo-photos/friends-picnic.webp differ diff --git a/apps/website/backend/demo-photos/guitar-room.webp b/apps/website/backend/demo-photos/guitar-room.webp new file mode 100644 index 0000000..afeaecf Binary files /dev/null and b/apps/website/backend/demo-photos/guitar-room.webp differ diff --git a/apps/website/backend/demo-photos/guitar-singer.webp b/apps/website/backend/demo-photos/guitar-singer.webp new file mode 100644 index 0000000..45b0358 Binary files /dev/null and b/apps/website/backend/demo-photos/guitar-singer.webp differ diff --git a/apps/website/backend/demo-photos/hall-chairs.webp b/apps/website/backend/demo-photos/hall-chairs.webp new file mode 100644 index 0000000..6fcba79 Binary files /dev/null and b/apps/website/backend/demo-photos/hall-chairs.webp differ diff --git a/apps/website/backend/demo-photos/kids-class.webp b/apps/website/backend/demo-photos/kids-class.webp new file mode 100644 index 0000000..ff6e36f Binary files /dev/null and b/apps/website/backend/demo-photos/kids-class.webp differ diff --git a/apps/website/backend/demo-photos/kids-craft.webp b/apps/website/backend/demo-photos/kids-craft.webp new file mode 100644 index 0000000..b2ce0cc Binary files /dev/null and b/apps/website/backend/demo-photos/kids-craft.webp differ diff --git a/apps/website/backend/demo-photos/kids-drawing.webp b/apps/website/backend/demo-photos/kids-drawing.webp new file mode 100644 index 0000000..d41b81e Binary files /dev/null and b/apps/website/backend/demo-photos/kids-drawing.webp differ diff --git a/apps/website/backend/demo-photos/kids-teacher.webp b/apps/website/backend/demo-photos/kids-teacher.webp new file mode 100644 index 0000000..0c6a09d Binary files /dev/null and b/apps/website/backend/demo-photos/kids-teacher.webp differ diff --git a/apps/website/backend/demo-photos/meal-family.webp b/apps/website/backend/demo-photos/meal-family.webp new file mode 100644 index 0000000..af1fc6e Binary files /dev/null and b/apps/website/backend/demo-photos/meal-family.webp differ diff --git a/apps/website/backend/demo-photos/meal-friends.webp b/apps/website/backend/demo-photos/meal-friends.webp new file mode 100644 index 0000000..850a630 Binary files /dev/null and b/apps/website/backend/demo-photos/meal-friends.webp differ diff --git a/apps/website/backend/demo-photos/meal-table.webp b/apps/website/backend/demo-photos/meal-table.webp new file mode 100644 index 0000000..5af58f2 Binary files /dev/null and b/apps/website/backend/demo-photos/meal-table.webp differ diff --git a/apps/website/backend/demo-photos/mic-audience.webp b/apps/website/backend/demo-photos/mic-audience.webp new file mode 100644 index 0000000..9359c51 Binary files /dev/null and b/apps/website/backend/demo-photos/mic-audience.webp differ diff --git a/apps/website/backend/demo-photos/mic-blue.webp b/apps/website/backend/demo-photos/mic-blue.webp new file mode 100644 index 0000000..caed944 Binary files /dev/null and b/apps/website/backend/demo-photos/mic-blue.webp differ diff --git a/apps/website/backend/demo-photos/mic-crowd.webp b/apps/website/backend/demo-photos/mic-crowd.webp new file mode 100644 index 0000000..31f2272 Binary files /dev/null and b/apps/website/backend/demo-photos/mic-crowd.webp differ diff --git a/apps/website/backend/demo-photos/mic-red.webp b/apps/website/backend/demo-photos/mic-red.webp new file mode 100644 index 0000000..696d3ee Binary files /dev/null and b/apps/website/backend/demo-photos/mic-red.webp differ diff --git a/apps/website/backend/demo-photos/mic-white.webp b/apps/website/backend/demo-photos/mic-white.webp new file mode 100644 index 0000000..7bb51c8 Binary files /dev/null and b/apps/website/backend/demo-photos/mic-white.webp differ diff --git a/apps/website/backend/demo-photos/open-bible.webp b/apps/website/backend/demo-photos/open-bible.webp new file mode 100644 index 0000000..6ea2eb2 Binary files /dev/null and b/apps/website/backend/demo-photos/open-bible.webp differ diff --git a/apps/website/backend/demo-photos/organ.webp b/apps/website/backend/demo-photos/organ.webp new file mode 100644 index 0000000..fcc6724 Binary files /dev/null and b/apps/website/backend/demo-photos/organ.webp differ diff --git a/apps/website/backend/demo-photos/pastor-andile.webp b/apps/website/backend/demo-photos/pastor-andile.webp new file mode 100644 index 0000000..f0c2fab Binary files /dev/null and b/apps/website/backend/demo-photos/pastor-andile.webp differ diff --git a/apps/website/backend/demo-photos/pastor-daniel.webp b/apps/website/backend/demo-photos/pastor-daniel.webp new file mode 100644 index 0000000..df71d89 Binary files /dev/null and b/apps/website/backend/demo-photos/pastor-daniel.webp differ diff --git a/apps/website/backend/demo-photos/pastor-ian.webp b/apps/website/backend/demo-photos/pastor-ian.webp new file mode 100644 index 0000000..8137dd6 Binary files /dev/null and b/apps/website/backend/demo-photos/pastor-ian.webp differ diff --git a/apps/website/backend/demo-photos/pastor-margaret.webp b/apps/website/backend/demo-photos/pastor-margaret.webp new file mode 100644 index 0000000..9f06942 Binary files /dev/null and b/apps/website/backend/demo-photos/pastor-margaret.webp differ diff --git a/apps/website/backend/demo-photos/pastor-moore.webp b/apps/website/backend/demo-photos/pastor-moore.webp new file mode 100644 index 0000000..6e9f650 Binary files /dev/null and b/apps/website/backend/demo-photos/pastor-moore.webp differ diff --git a/apps/website/backend/demo-photos/pastor-naidoo.webp b/apps/website/backend/demo-photos/pastor-naidoo.webp new file mode 100644 index 0000000..588e1a8 Binary files /dev/null and b/apps/website/backend/demo-photos/pastor-naidoo.webp differ diff --git a/apps/website/backend/demo-photos/pastor-peter.webp b/apps/website/backend/demo-photos/pastor-peter.webp new file mode 100644 index 0000000..de16f65 Binary files /dev/null and b/apps/website/backend/demo-photos/pastor-peter.webp differ diff --git a/apps/website/backend/demo-photos/pastor-thandi.webp b/apps/website/backend/demo-photos/pastor-thandi.webp new file mode 100644 index 0000000..9fe1c07 Binary files /dev/null and b/apps/website/backend/demo-photos/pastor-thandi.webp differ diff --git a/apps/website/backend/demo-photos/pastor-willem.webp b/apps/website/backend/demo-photos/pastor-willem.webp new file mode 100644 index 0000000..19e6f1e Binary files /dev/null and b/apps/website/backend/demo-photos/pastor-willem.webp differ diff --git a/apps/website/backend/demo-photos/photos.json b/apps/website/backend/demo-photos/photos.json new file mode 100644 index 0000000..53f096f --- /dev/null +++ b/apps/website/backend/demo-photos/photos.json @@ -0,0 +1,1042 @@ +{ + "acacia-sunrise": { + "file": "acacia-sunrise.webp", + "alt": "An acacia tree on the hills at sunrise", + "width": 2000, + "height": 1333, + "photographer": "Damian Patkowski", + "photographerUrl": "https://unsplash.com/@damianpatkowski", + "unsplash": "https://unsplash.com/photos/tree-between-green-land-during-golden-hour-T-LfvX-7IVg", + "id": "T-LfvX-7IVg" + }, + "city-spire": { + "file": "city-spire.webp", + "alt": "A church spire against the morning sky in the city", + "width": 2000, + "height": 1333, + "photographer": "Ross Sneddon", + "photographerUrl": "https://unsplash.com/@rosssneddon", + "unsplash": "https://unsplash.com/photos/person-walking-on-pathway-2XTPV6WykVc", + "id": "2XTPV6WykVc" + }, + "stone-church": { + "file": "stone-church.webp", + "alt": "An old stone church among the trees", + "width": 2000, + "height": 1333, + "photographer": "Wolfgang Weiser", + "photographerUrl": "https://unsplash.com/@hamburgmeinefreundin", + "unsplash": "https://unsplash.com/photos/historic-brick-church-with-tall-spire-surrounded-by-trees-UCnBapalXbE", + "id": "UCnBapalXbE" + }, + "country-church": { + "file": "country-church.webp", + "alt": "A country church under a wide sky", + "width": 2000, + "height": 1600, + "photographer": "Vedanth Ravi", + "photographerUrl": "https://unsplash.com/@vedanthravi", + "unsplash": "https://unsplash.com/photos/old-stone-church-ruins-under-a-blue-sky-ql9-rgPUPZE", + "id": "ql9-rgPUPZE" + }, + "church-light": { + "file": "church-light.webp", + "alt": "Morning light in the church, with wooden pews", + "width": 2000, + "height": 1333, + "photographer": "Debby Hudson", + "photographerUrl": "https://unsplash.com/@hudsoncrafted", + "unsplash": "https://unsplash.com/photos/cathedral-interior-sgdyBq6kheQ", + "id": "sgdyBq6kheQ" + }, + "church-aisle": { + "file": "church-aisle.webp", + "alt": "The aisle of a small church, with stained glass at the front", + "width": 2000, + "height": 1333, + "photographer": "BEN ELLIOTT", + "photographerUrl": "https://unsplash.com/@benjaminelliott", + "unsplash": "https://unsplash.com/photos/a-large-church-with-a-large-stained-glass-window--_M9YXEliAI", + "id": "-_M9YXEliAI" + }, + "church-doors": { + "file": "church-doors.webp", + "alt": "Open doors at the end of the aisle", + "width": 2000, + "height": 1333, + "photographer": "João Weyne Justa", + "photographerUrl": "https://unsplash.com/@joaoweynej", + "unsplash": "https://unsplash.com/photos/empty-church-pews-lead-to-a-cross-in-the-distance-VCbtM1PR4_o", + "id": "VCbtM1PR4_o" + }, + "church-white": { + "file": "church-white.webp", + "alt": "A bright church with a chandelier", + "width": 2000, + "height": 1333, + "photographer": "Julia Taubitz", + "photographerUrl": "https://unsplash.com/@justmejuliee", + "unsplash": "https://unsplash.com/photos/pews-and-chandelier-in-vimmerby-church-MVE9TBMdXLs", + "id": "MVE9TBMdXLs" + }, + "farm-road": { + "file": "farm-road.webp", + "alt": "A road through farmland in the afternoon", + "width": 2000, + "height": 850, + "photographer": "Mario Beducci", + "photographerUrl": "https://unsplash.com/@mariobeducci", + "unsplash": "https://unsplash.com/photos/a-winding-dirt-road-through-rolling-hills-at-sunset-sVp8eXOLovA", + "id": "sVp8eXOLovA" + }, + "farm-bales": { + "file": "farm-bales.webp", + "alt": "Hay bales in a harvested field", + "width": 2000, + "height": 1333, + "photographer": "Vi Bell", + "photographerUrl": "https://unsplash.com/@vibell", + "unsplash": "https://unsplash.com/photos/hay-bales-in-harvested-field-BZa5NqifCt8", + "id": "BZa5NqifCt8" + }, + "school-hall": { + "file": "school-hall.webp", + "alt": "Chairs set out in a hall, ready for Sunday", + "width": 2000, + "height": 1333, + "photographer": "Pix Tresa", + "photographerUrl": "https://unsplash.com/@pixtresa", + "unsplash": "https://unsplash.com/photos/wooden-folding-chairs-in-paneled-room-qRtFqXNkssY", + "id": "qRtFqXNkssY" + }, + "hall-chairs": { + "file": "hall-chairs.webp", + "alt": "Rows of chairs in a hall", + "width": 2000, + "height": 1600, + "photographer": "Adolfo Félix", + "photographerUrl": "https://unsplash.com/@adolfofelix", + "unsplash": "https://unsplash.com/photos/rows-of-empty-chairs-in-a-wood-paneled-room-6hSBcpa7qVI", + "id": "6hSBcpa7qVI" + }, + "campus-path": { + "file": "campus-path.webp", + "alt": "Students walking under the trees on campus", + "width": 2000, + "height": 1333, + "photographer": "avansear", + "photographerUrl": "https://unsplash.com/@avansear", + "unsplash": "https://unsplash.com/photos/campus-path-with-trees-and-people-nWyKIZVidIs", + "id": "nWyKIZVidIs" + }, + "congregation-warm": { + "file": "congregation-warm.webp", + "alt": "The congregation standing to sing", + "width": 2000, + "height": 1333, + "photographer": "Christian Harb", + "photographerUrl": "https://unsplash.com/@c7arb", + "unsplash": "https://unsplash.com/photos/a-congregation-gathered-inside-a-large-hall-RAENAd2Rxoo", + "id": "RAENAd2Rxoo" + }, + "congregation-pews": { + "file": "congregation-pews.webp", + "alt": "People in the pews during a service", + "width": 2000, + "height": 1333, + "photographer": "Christian Harb", + "photographerUrl": "https://unsplash.com/@c7arb", + "unsplash": "https://unsplash.com/photos/audience-seated-in-a-church-during-a-service-e77txgeniiU", + "id": "e77txgeniiU" + }, + "congregation-modern": { + "file": "congregation-modern.webp", + "alt": "People worshipping in a modern church", + "width": 2000, + "height": 1316, + "photographer": "Sophie Spree", + "photographerUrl": "https://unsplash.com/@sophiespree", + "unsplash": "https://unsplash.com/photos/a-group-of-people-standing-in-a-room-with-their-hands-in-the-air-9zJcrli2WCU", + "id": "9zJcrli2WCU" + }, + "congregation-hall": { + "file": "congregation-hall.webp", + "alt": "A church meeting in a hall", + "width": 2000, + "height": 1333, + "photographer": "Charise Pieterse", + "photographerUrl": "https://unsplash.com/@cedarhillchurch", + "unsplash": "https://unsplash.com/photos/people-standing-in-church-worship-IyGJ38BOcP8", + "id": "IyGJ38BOcP8" + }, + "worship-hands": { + "file": "worship-hands.webp", + "alt": "Hands raised in worship", + "width": 2000, + "height": 1333, + "photographer": "Fallon Michael", + "photographerUrl": "https://unsplash.com/@fallonmichaeltx", + "unsplash": "https://unsplash.com/photos/people-raising-their-hands-up-bUd6kWoVfII", + "id": "bUd6kWoVfII" + }, + "band-stage": { + "file": "band-stage.webp", + "alt": "The worship band on stage", + "width": 2000, + "height": 1333, + "photographer": "Memento Media", + "photographerUrl": "https://unsplash.com/@heymemento", + "unsplash": "https://unsplash.com/photos/man-in-black-leather-jacket-playing-guitar-PbQF8EIsR2U", + "id": "PbQF8EIsR2U" + }, + "band-big": { + "file": "band-big.webp", + "alt": "A worship night with the band and the lights", + "width": 2000, + "height": 1333, + "photographer": "Bree Anne", + "photographerUrl": "https://unsplash.com/@breebuddy", + "unsplash": "https://unsplash.com/photos/people-sitting-on-chairs-watching-band-performing-on-stage-dDED_VZ2jbI", + "id": "dDED_VZ2jbI" + }, + "band-small": { + "file": "band-small.webp", + "alt": "A small worship band leading the songs", + "width": 1400, + "height": 934, + "photographer": "AMONWAT DUMKRUT", + "photographerUrl": "https://unsplash.com/@amonwatdumkrut", + "unsplash": "https://unsplash.com/photos/woman-singing-in-church-worship-service-3E0KqEVDKzg", + "id": "3E0KqEVDKzg" + }, + "guitar-singer": { + "file": "guitar-singer.webp", + "alt": "Singing with an acoustic guitar", + "width": 1400, + "height": 933, + "photographer": "Luke Thornton", + "photographerUrl": "https://unsplash.com/@lukethorntonofficial", + "unsplash": "https://unsplash.com/photos/man-in-gray-v-neck-long-sleeve-shirt-playing-brown-acoustic-guitar-JNl7o-Mj2cc", + "id": "JNl7o-Mj2cc" + }, + "guitar-room": { + "file": "guitar-room.webp", + "alt": "A guitarist in a bright, simple room", + "width": 1400, + "height": 933, + "photographer": "Gabriel Rodrigues", + "photographerUrl": "https://unsplash.com/@gabrielrodriguesoficial", + "unsplash": "https://unsplash.com/photos/a-man-sitting-on-a-chair-playing-a-guitar-p6V49LDtWA4", + "id": "p6V49LDtWA4" + }, + "choir-church": { + "file": "choir-church.webp", + "alt": "The choir singing in church", + "width": 1400, + "height": 933, + "photographer": "Green Liu", + "photographerUrl": "https://unsplash.com/@greenliustudio", + "unsplash": "https://unsplash.com/photos/a-group-of-people-singing-in-front-of-a-golden-alter-ZaZcvU_WuF8", + "id": "ZaZcvU_WuF8" + }, + "choir-gospel": { + "file": "choir-gospel.webp", + "alt": "A choir in red and black robes", + "width": 1400, + "height": 933, + "photographer": "John Onaeko", + "photographerUrl": "https://unsplash.com/@iyinoluwaonaeko", + "unsplash": "https://unsplash.com/photos/group-of-people-standing-on-brown-wooden-floor-8__esxuic9Q", + "id": "8__esxuic9Q" + }, + "organ": { + "file": "organ.webp", + "alt": "The organist at the organ", + "width": 1400, + "height": 942, + "photographer": "Spencer Plouzek", + "photographerUrl": "https://unsplash.com/@theguccer2100", + "unsplash": "https://unsplash.com/photos/man-playing-a-large-wooden-pipe-organ-aOexpXIBH_I", + "id": "aOexpXIBH_I" + }, + "candles": { + "file": "candles.webp", + "alt": "Candles lit for prayer", + "width": 1400, + "height": 932, + "photographer": "Eli Solitas", + "photographerUrl": "https://unsplash.com/@elisolitas", + "unsplash": "https://unsplash.com/photos/lighted-candles-on-black-metal-candle-holder-q6e4zwgtUcM", + "id": "q6e4zwgtUcM" + }, + "kids-craft": { + "file": "kids-craft.webp", + "alt": "Children making a craft at Sunday school", + "width": 1400, + "height": 788, + "photographer": "Yosi Prihantoro", + "photographerUrl": "https://unsplash.com/@yosipri", + "unsplash": "https://unsplash.com/photos/a-young-girl-is-holding-a-cross-made-of-paper-1q2Fo7Bx-pk", + "id": "1q2Fo7Bx-pk" + }, + "kids-drawing": { + "file": "kids-drawing.webp", + "alt": "Two children drawing together", + "width": 1400, + "height": 927, + "photographer": "Ruslan Horovyi", + "photographerUrl": "https://unsplash.com/@ruslanstock", + "unsplash": "https://unsplash.com/photos/two-young-students-drawing-together-in-a-classroom-ycuGtOTAtuU", + "id": "ycuGtOTAtuU" + }, + "kids-teacher": { + "file": "kids-teacher.webp", + "alt": "A teacher with children around a table", + "width": 1400, + "height": 933, + "photographer": "Rewired Digital", + "photographerUrl": "https://unsplash.com/@rewired41", + "unsplash": "https://unsplash.com/photos/teacher-guiding-children-drawing-at-a-table-kPkRpy6pIIg", + "id": "kPkRpy6pIIg" + }, + "kids-class": { + "file": "kids-class.webp", + "alt": "Children busy at their tables", + "width": 1400, + "height": 1051, + "photographer": "Yegor Makarenko", + "photographerUrl": "https://unsplash.com/@photochel228", + "unsplash": "https://unsplash.com/photos/adult-and-children-in-classroom-WGEgIC76RjA", + "id": "WGEgIC76RjA" + }, + "toddlers": { + "file": "toddlers.webp", + "alt": "Little ones playing with toys", + "width": 1400, + "height": 933, + "photographer": "Amanda Costelloe", + "photographerUrl": "https://unsplash.com/@oliveevephoto", + "unsplash": "https://unsplash.com/photos/two-young-girls-playing-with-colorful-wooden-blocks-8EHfZL6rFFg", + "id": "8EHfZL6rFFg" + }, + "youth-group": { + "file": "youth-group.webp", + "alt": "The youth group hanging out", + "width": 1400, + "height": 1007, + "photographer": "Nicolas Lobos", + "photographerUrl": "https://unsplash.com/@lobosnico", + "unsplash": "https://unsplash.com/photos/people-standing-near-building-AqUp2AfDgu8", + "id": "AqUp2AfDgu8" + }, + "youth-outdoors": { + "file": "youth-outdoors.webp", + "alt": "Teenagers sitting together outside", + "width": 1400, + "height": 933, + "photographer": "Elliot Krueger", + "photographerUrl": "https://unsplash.com/@kruegerelliot", + "unsplash": "https://unsplash.com/photos/a-group-of-people-sitting-on-a-rock-in-the-woods-qNreMakc6eU", + "id": "qNreMakc6eU" + }, + "teens": { + "file": "teens.webp", + "alt": "Teenagers chatting after youth", + "width": 1400, + "height": 838, + "photographer": "Eliott Reyna", + "photographerUrl": "https://unsplash.com/@eliottreyna", + "unsplash": "https://unsplash.com/photos/five-persons-on-front-of-chain-link-fence-axTm0ee3YP4", + "id": "axTm0ee3YP4" + }, + "meal-table": { + "file": "meal-table.webp", + "alt": "A long table set for a shared meal outdoors", + "width": 2000, + "height": 1330, + "photographer": "Jesse Vigil", + "photographerUrl": "https://unsplash.com/@jessevig", + "unsplash": "https://unsplash.com/photos/a-group-of-people-sitting-at-a-long-table-I_b1PEyg8dY", + "id": "I_b1PEyg8dY" + }, + "meal-friends": { + "file": "meal-friends.webp", + "alt": "Friends sharing supper around a table", + "width": 1400, + "height": 933, + "photographer": "Sweet Life", + "photographerUrl": "https://unsplash.com/@sweetlifediabetes", + "unsplash": "https://unsplash.com/photos/a-group-of-people-sitting-around-a-table-eating-food-OxkxluMeAGs", + "id": "OxkxluMeAGs" + }, + "meal-family": { + "file": "meal-family.webp", + "alt": "A family around the dinner table", + "width": 2000, + "height": 1333, + "photographer": "National Cancer Institute", + "photographerUrl": "https://unsplash.com/@nci", + "unsplash": "https://unsplash.com/photos/group-of-person-eating-indoors-cfGG0niafjc", + "id": "cfGG0niafjc" + }, + "supper-hall": { + "file": "supper-hall.webp", + "alt": "Supper together after the service", + "width": 1400, + "height": 933, + "photographer": "Sweet Life", + "photographerUrl": "https://unsplash.com/@sweetlifediabetes", + "unsplash": "https://unsplash.com/photos/a-group-of-people-sitting-around-a-table-eating-food-sQ3r1oIsaBY", + "id": "sQ3r1oIsaBY" + }, + "soup-bowl": { + "file": "soup-bowl.webp", + "alt": "A bowl of soup handed across the table", + "width": 1400, + "height": 933, + "photographer": "Dan DeAlmeida", + "photographerUrl": "https://unsplash.com/@ddealmeida", + "unsplash": "https://unsplash.com/photos/a-couple-of-people-holding-a-bowl-of-food-4aM_QE-HRLw", + "id": "4aM_QE-HRLw" + }, + "food-parcels": { + "file": "food-parcels.webp", + "alt": "Food served to people in the community", + "width": 1400, + "height": 927, + "photographer": "Steward Masweneng", + "photographerUrl": "https://unsplash.com/@stewardesign", + "unsplash": "https://unsplash.com/photos/a-group-of-people-standing-around-a-purple-plate-fMcRbRaaZiI", + "id": "fMcRbRaaZiI" + }, + "bible-study": { + "file": "bible-study.webp", + "alt": "A group studying the Bible outdoors", + "width": 1400, + "height": 932, + "photographer": "Ben White", + "photographerUrl": "https://unsplash.com/@benwhitephotography", + "unsplash": "https://unsplash.com/photos/man-in-black-crew-neck-t-shirt-holding-black-tablet-computer-qM18dmqsTqk", + "id": "qM18dmqsTqk" + }, + "bible-coffee": { + "file": "bible-coffee.webp", + "alt": "An open Bible, a notebook and a cup of coffee", + "width": 1400, + "height": 935, + "photographer": "Nicolas Lobos", + "photographerUrl": "https://unsplash.com/@lobosnico", + "unsplash": "https://unsplash.com/photos/black-smartphone-on-white-notebook-rHwMkuJD6GM", + "id": "rHwMkuJD6GM" + }, + "coffee-friends": { + "file": "coffee-friends.webp", + "alt": "Friends talking over coffee", + "width": 1400, + "height": 788, + "photographer": "Vitaly Gariev", + "photographerUrl": "https://unsplash.com/@silverkblack", + "unsplash": "https://unsplash.com/photos/people-talking-at-cafe-wooden-table-_9rMpg5aI8k", + "id": "_9rMpg5aI8k" + }, + "coffee-group": { + "file": "coffee-group.webp", + "alt": "A group around a café table", + "width": 1400, + "height": 788, + "photographer": "Vitaly Gariev", + "photographerUrl": "https://unsplash.com/@silverkblack", + "unsplash": "https://unsplash.com/photos/friends-chat-and-enjoy-coffee-at-a-cafe-BlCgKHTRkFI", + "id": "BlCgKHTRkFI" + }, + "students-lecture": { + "file": "students-lecture.webp", + "alt": "Students working together", + "width": 1400, + "height": 788, + "photographer": "Vitaly Gariev", + "photographerUrl": "https://unsplash.com/@silverkblack", + "unsplash": "https://unsplash.com/photos/students-talking-in-a-lecture-hall-classroom-T9yehHSvLL4", + "id": "T9yehHSvLL4" + }, + "students-fair": { + "file": "students-fair.webp", + "alt": "Students at an outdoor fair on campus", + "width": 1400, + "height": 933, + "photographer": "Aayush Khator", + "photographerUrl": "https://unsplash.com/@aayushkhator", + "unsplash": "https://unsplash.com/photos/a-crowd-of-people-at-an-outdoor-event-VzeCjrU0V04", + "id": "VzeCjrU0V04" + }, + "students-lawn": { + "file": "students-lawn.webp", + "alt": "Students on the lawn by the clock tower", + "width": 1400, + "height": 1050, + "photographer": "Dominic Kurniawan Suryaputra", + "photographerUrl": "https://unsplash.com/@d_ks11", + "unsplash": "https://unsplash.com/photos/a-group-of-people-sitting-on-top-of-a-lush-green-field-tputvRf4bjA", + "id": "tputvRf4bjA" + }, + "prayer-group": { + "file": "prayer-group.webp", + "alt": "Friends praying together", + "width": 1400, + "height": 933, + "photographer": "Elianna Gill", + "photographerUrl": "https://unsplash.com/@elianna_gill03", + "unsplash": "https://unsplash.com/photos/a-group-of-people-standing-around-each-other-Q588c92mWEI", + "id": "Q588c92mWEI" + }, + "visit-tea": { + "file": "visit-tea.webp", + "alt": "Tea and a chat during a visit", + "width": 1400, + "height": 933, + "photographer": "Centre for Ageing Better", + "photographerUrl": "https://unsplash.com/@ageing_better", + "unsplash": "https://unsplash.com/photos/three-seniors-talking-and-smiling-together-GJaWV0YoBeU", + "id": "GJaWV0YoBeU" + }, + "welcome-hug": { + "file": "welcome-hug.webp", + "alt": "A warm welcome at the door", + "width": 1400, + "height": 1081, + "photographer": "Filip Rankovic Grobgaard", + "photographerUrl": "https://unsplash.com/@filipgrobgaard", + "unsplash": "https://unsplash.com/photos/a-group-of-people-embracing-and-laughing-together-tkI306JXz7o", + "id": "tkI306JXz7o" + }, + "welcome-greeting": { + "file": "welcome-greeting.webp", + "alt": "Greeting each other before the service", + "width": 1400, + "height": 933, + "photographer": "Erika Giraud", + "photographerUrl": "https://unsplash.com/@erikasayssmile", + "unsplash": "https://unsplash.com/photos/two-men-hugging-on-focus-photography-7KhbREQPFD4", + "id": "7KhbREQPFD4" + }, + "friends-picnic": { + "file": "friends-picnic.webp", + "alt": "Friends at a picnic in the park", + "width": 1400, + "height": 788, + "photographer": "Vitaly Gariev", + "photographerUrl": "https://unsplash.com/@silverkblack", + "unsplash": "https://unsplash.com/photos/friends-celebrating-a-birthday-outdoors-with-a-cake-ux5wWkiW4ZA", + "id": "ux5wWkiW4ZA" + }, + "family-picnic": { + "file": "family-picnic.webp", + "alt": "Families having a picnic under the trees", + "width": 1400, + "height": 933, + "photographer": "Ainur Iman", + "photographerUrl": "https://unsplash.com/@mynameisiknow", + "unsplash": "https://unsplash.com/photos/family-picnic-in-sunlit-park-IVCbWMeiFk4", + "id": "IVCbWMeiFk4" + }, + "family-walk": { + "file": "family-walk.webp", + "alt": "A family walking along a path in the park", + "width": 2000, + "height": 1333, + "photographer": "Gray Clary", + "photographerUrl": "https://unsplash.com/@grayclary57", + "unsplash": "https://unsplash.com/photos/a-group-of-people-walking-down-a-path-in-a-park-9eU9t4vxQVk", + "id": "9eU9t4vxQVk" + }, + "pastor-thandi": { + "file": "pastor-thandi.webp", + "alt": "Pastor Thandi Mokoena", + "width": 1000, + "height": 1250, + "photographer": "K Studios", + "photographerUrl": "https://unsplash.com/@kstudios", + "unsplash": "https://unsplash.com/photos/a-smiling-woman-with-braided-hair-and-traditional-attire-pvwaNk2E-6E", + "id": "pvwaNk2E-6E" + }, + "pastor-margaret": { + "file": "pastor-margaret.webp", + "alt": "The Revd Margaret Pillay", + "width": 1000, + "height": 1250, + "photographer": "Age Cymru", + "photographerUrl": "https://unsplash.com/@agecymru", + "unsplash": "https://unsplash.com/photos/a-smiling-woman-stands-before-a-rustic-corrugated-building-1Mo0BfBzjBk", + "id": "1Mo0BfBzjBk" + }, + "pastor-peter": { + "file": "pastor-peter.webp", + "alt": "Canon Peter Mahlangu", + "width": 1000, + "height": 1250, + "photographer": "ben o'bro", + "photographerUrl": "https://unsplash.com/@benobro", + "unsplash": "https://unsplash.com/photos/man-taking-a-selfie-C5XyLljkMrY", + "id": "C5XyLljkMrY" + }, + "pastor-naidoo": { + "file": "pastor-naidoo.webp", + "alt": "Jason and Lindi Naidoo", + "width": 1000, + "height": 1250, + "photographer": "manish_ jadhav_photography05", + "photographerUrl": "https://unsplash.com/@mjphotography05", + "unsplash": "https://unsplash.com/photos/woman-and-man-in-traditional-attire-6jzu-aBdfUU", + "id": "6jzu-aBdfUU" + }, + "pastor-moore": { + "file": "pastor-moore.webp", + "alt": "Ben and Zanele Moore", + "width": 1000, + "height": 1250, + "photographer": "Alef Morais", + "photographerUrl": "https://unsplash.com/@alef_visuals", + "unsplash": "https://unsplash.com/photos/a-smiling-couple-stands-together-near-the-ocean-Bop-YufQ-LQ", + "id": "Bop-YufQ-LQ" + }, + "pastor-andile": { + "file": "pastor-andile.webp", + "alt": "Pastor Andile Zulu", + "width": 1000, + "height": 1250, + "photographer": "Idowu Emmanuel", + "photographerUrl": "https://unsplash.com/@springimagix", + "unsplash": "https://unsplash.com/photos/man-in-blue-and-white-striped-button-up-shirt-smiling-1D41F-bt6p0", + "id": "1D41F-bt6p0" + }, + "pastor-willem": { + "file": "pastor-willem.webp", + "alt": "Ds. Willem Coetzee", + "width": 1000, + "height": 1250, + "photographer": "Kyle Bushnell", + "photographerUrl": "https://unsplash.com/@kylebushnell", + "unsplash": "https://unsplash.com/photos/man-in-black-crew-neck-shirt-ZhAWv5iuFGQ", + "id": "ZhAWv5iuFGQ" + }, + "pastor-daniel": { + "file": "pastor-daniel.webp", + "alt": "Daniel Joubert", + "width": 1000, + "height": 1250, + "photographer": "Mina Rad", + "photographerUrl": "https://unsplash.com/@miinrad", + "unsplash": "https://unsplash.com/photos/a-man-with-a-beard-sitting-on-some-steps-1pLb0DK4_1o", + "id": "1pLb0DK4_1o" + }, + "pastor-ian": { + "file": "pastor-ian.webp", + "alt": "Dr Ian Mabaso", + "width": 1000, + "height": 1250, + "photographer": "Shubham Sharan", + "photographerUrl": "https://unsplash.com/@shubhamsharan", + "unsplash": "https://unsplash.com/photos/a-man-wearing-glasses-WCZ_1bx6D5I", + "id": "WCZ_1bx6D5I" + }, + "team-pieter": { + "file": "team-pieter.webp", + "alt": "Pieter van Wyk", + "width": 1000, + "height": 1250, + "photographer": "Vicky Hladynets", + "photographerUrl": "https://unsplash.com/@vhladynets", + "unsplash": "https://unsplash.com/photos/man-in-white-crew-neck-shirt-_gDoyVv5F4c", + "id": "_gDoyVv5F4c" + }, + "team-lerato": { + "file": "team-lerato.webp", + "alt": "Lerato Dlamini", + "width": 1000, + "height": 1250, + "photographer": "Christina @ wocintechchat.com M", + "photographerUrl": "https://unsplash.com/@wocintechchat", + "unsplash": "https://unsplash.com/photos/woman-standing-and-smiling-Kpd-JMLeKJk", + "id": "Kpd-JMLeKJk" + }, + "team-johan": { + "file": "team-johan.webp", + "alt": "Johan Botha", + "width": 1000, + "height": 1250, + "photographer": "Lance Reis", + "photographerUrl": "https://unsplash.com/@lancereis", + "unsplash": "https://unsplash.com/photos/a-man-with-a-beard-wearing-a-hat-TTdJV-K1IUg", + "id": "TTdJV-K1IUg" + }, + "team-sipho": { + "file": "team-sipho.webp", + "alt": "The Revd Sipho Ndlovu", + "width": 1000, + "height": 1250, + "photographer": "Inocent Drici", + "photographerUrl": "https://unsplash.com/@inidrici", + "unsplash": "https://unsplash.com/photos/young-black-man-with-a-big-smile-OGljLs0DnJ4", + "id": "OGljLs0DnJ4" + }, + "team-anne": { + "file": "team-anne.webp", + "alt": "Anne Fourie", + "width": 1000, + "height": 1250, + "photographer": "Davide Aracri", + "photographerUrl": "https://unsplash.com/@davieees", + "unsplash": "https://unsplash.com/photos/a-woman-with-dark-hair-0NDVW4wO1Ms", + "id": "0NDVW4wO1Ms" + }, + "team-david": { + "file": "team-david.webp", + "alt": "David Smith", + "width": 1000, + "height": 1250, + "photographer": "Christophe Meyer", + "photographerUrl": "https://unsplash.com/@christophe_myr", + "unsplash": "https://unsplash.com/photos/man-in-red-crew-neck-shirt-2k1RUXZhMPY", + "id": "2k1RUXZhMPY" + }, + "team-claire": { + "file": "team-claire.webp", + "alt": "The Revd Claire Jacobs", + "width": 1000, + "height": 1250, + "photographer": "PodMatch", + "photographerUrl": "https://unsplash.com/@podmatch", + "unsplash": "https://unsplash.com/photos/woman-in-black-blazer-smiling-2mMhaoBGjCs", + "id": "2mMhaoBGjCs" + }, + "team-tom": { + "file": "team-tom.webp", + "alt": "Tom Venter", + "width": 1000, + "height": 1250, + "photographer": "Peri Stojnic", + "photographerUrl": "https://unsplash.com/@whoisperi", + "unsplash": "https://unsplash.com/photos/man-in-black-crew-neck-t-shirt-G9dttphDDE4", + "id": "G9dttphDDE4" + }, + "team-nomsa": { + "file": "team-nomsa.webp", + "alt": "Nomsa Khumalo", + "width": 1000, + "height": 1250, + "photographer": "Brian Kungu", + "photographerUrl": "https://unsplash.com/@oldceltic", + "unsplash": "https://unsplash.com/photos/a-woman-in-a-denim-shirt-holds-a-cup-olDpu0_Q-A0", + "id": "olDpu0_Q-A0" + }, + "team-kagiso": { + "file": "team-kagiso.webp", + "alt": "Kagiso Molefe", + "width": 1000, + "height": 1250, + "photographer": "Divine Effiong", + "photographerUrl": "https://unsplash.com/@iamdivineeffiong", + "unsplash": "https://unsplash.com/photos/man-in-black-crew-neck-t-shirt-O1lbOY0H5rc", + "id": "O1lbOY0H5rc" + }, + "team-megan": { + "file": "team-megan.webp", + "alt": "Megan Steyn", + "width": 1000, + "height": 1250, + "photographer": "Felipe Souza", + "photographerUrl": "https://unsplash.com/@dszlipe", + "unsplash": "https://unsplash.com/photos/woman-in-black-hoodie-and-blue-chair-Vc_mU9UmJbM", + "id": "Vc_mU9UmJbM" + }, + "team-ruan": { + "file": "team-ruan.webp", + "alt": "Ruan Pretorius", + "width": 1000, + "height": 1250, + "photographer": "Nathan Dumlao", + "photographerUrl": "https://unsplash.com/@nate_dumlao", + "unsplash": "https://unsplash.com/photos/man-in-gray-crew-neck-shirt-smiling-26rK1-bH9Ls", + "id": "26rK1-bH9Ls" + }, + "team-ayesha": { + "file": "team-ayesha.webp", + "alt": "Ayesha Patel", + "width": 1000, + "height": 1250, + "photographer": "Mehrpouya H", + "photographerUrl": "https://unsplash.com/@mehrpouya", + "unsplash": "https://unsplash.com/photos/woman-in-white-t-shirt-outdoors-isuiNDHQPzs", + "id": "isuiNDHQPzs" + }, + "team-chris": { + "file": "team-chris.webp", + "alt": "Chris Hendricks", + "width": 1000, + "height": 1250, + "photographer": "Joseph Gonzalez", + "photographerUrl": "https://unsplash.com/@miracletwentyone", + "unsplash": "https://unsplash.com/photos/man-wearing-white-v-neck-shirt-iFgRcqHznqg", + "id": "iFgRcqHznqg" + }, + "team-grace": { + "file": "team-grace.webp", + "alt": "Grace Okafor", + "width": 1000, + "height": 1250, + "photographer": "NORBAINE GLORY TAMAR", + "photographerUrl": "https://unsplash.com/@g_light", + "unsplash": "https://unsplash.com/photos/woman-in-red-blazer-o9LPROnZJfA", + "id": "o9LPROnZJfA" + }, + "team-michelle": { + "file": "team-michelle.webp", + "alt": "Michelle de Beer", + "width": 1000, + "height": 1250, + "photographer": "Troy Spoelma", + "photographerUrl": "https://unsplash.com/@spoelee4", + "unsplash": "https://unsplash.com/photos/a-woman-with-long-hair-wearing-a-blue-blazer-EV8PPQG6zxY", + "id": "EV8PPQG6zxY" + }, + "team-reddy": { + "file": "team-reddy.webp", + "alt": "Kevin and Tracy Reddy", + "width": 1000, + "height": 1250, + "photographer": "Pranit Tandon", + "photographerUrl": "https://unsplash.com/@prantan", + "unsplash": "https://unsplash.com/photos/man-and-woman-embracing-in-park-BJ_PVL5vpc4", + "id": "BJ_PVL5vpc4" + }, + "team-lwazi": { + "file": "team-lwazi.webp", + "alt": "Lwazi Mthembu", + "width": 1000, + "height": 1250, + "photographer": "150 Billi", + "photographerUrl": "https://unsplash.com/@150billi", + "unsplash": "https://unsplash.com/photos/a-man-with-a-beard-and-a-green-shirt-dRgM67tRZHk", + "id": "dRgM67tRZHk" + }, + "team-elsie": { + "file": "team-elsie.webp", + "alt": "Elsie Maritz", + "width": 1000, + "height": 1250, + "photographer": "Hosein Sediqi", + "photographerUrl": "https://unsplash.com/@hoseinsediqii", + "unsplash": "https://unsplash.com/photos/an-older-woman-with-white-hair-and-a-smile-sBkSyfPzakI", + "id": "sBkSyfPzakI" + }, + "team-bongani": { + "file": "team-bongani.webp", + "alt": "Bongani Sithole", + "width": 1000, + "height": 1250, + "photographer": "melvin Ankrah", + "photographerUrl": "https://unsplash.com/@hashtagmelvin", + "unsplash": "https://unsplash.com/photos/a-happy-black-man-smiling-in-a-black-shirt-fEY925P2GlQ", + "id": "fEY925P2GlQ" + }, + "team-marie": { + "file": "team-marie.webp", + "alt": "Marie Louw", + "width": 1000, + "height": 1250, + "photographer": "Doug Bagg", + "photographerUrl": "https://unsplash.com/@dougbagg_", + "unsplash": "https://unsplash.com/photos/smiling-woman-in-brown-blazer-9iLbXsMZ6ls", + "id": "9iLbXsMZ6ls" + }, + "team-refilwe": { + "file": "team-refilwe.webp", + "alt": "Refilwe Mokoena", + "width": 1000, + "height": 1250, + "photographer": "alex starnes", + "photographerUrl": "https://unsplash.com/@alexstarnes", + "unsplash": "https://unsplash.com/photos/smiling-woman-in-yellow-blazer-holding-tablet-PK_t0Lrh7MM", + "id": "PK_t0Lrh7MM" + }, + "team-sam": { + "file": "team-sam.webp", + "alt": "Sam Abrahams", + "width": 1000, + "height": 1250, + "photographer": "Its me Pravin", + "photographerUrl": "https://unsplash.com/@paul__pro", + "unsplash": "https://unsplash.com/photos/a-man-leaning-over-a-wooden-table-in-a-warehouse-duzGG1gkgMw", + "id": "duzGG1gkgMw" + }, + "team-nadia": { + "file": "team-nadia.webp", + "alt": "Nadia Govender", + "width": 1000, + "height": 1250, + "photographer": "amin naderloei", + "photographerUrl": "https://unsplash.com/@aminnaderloei", + "unsplash": "https://unsplash.com/photos/a-smiling-woman-sits-outdoors-on-a-rock-OmjeNvHwkDI", + "id": "OmjeNvHwkDI" + }, + "team-lisa": { + "file": "team-lisa.webp", + "alt": "Lisa Roberts", + "width": 1000, + "height": 1250, + "photographer": "Ionela Mat", + "photographerUrl": "https://unsplash.com/@ionelaaaaa", + "unsplash": "https://unsplash.com/photos/woman-smiles-while-posing-near-foliage-s3PJLnFKjnI", + "id": "s3PJLnFKjnI" + }, + "team-thabo": { + "file": "team-thabo.webp", + "alt": "Thabo Nkosi", + "width": 1000, + "height": 1250, + "photographer": "nana o.", + "photographerUrl": "https://unsplash.com/@afroscope", + "unsplash": "https://unsplash.com/photos/man-near-tree-10fvuGtnoEM", + "id": "10fvuGtnoEM" + }, + "team-priya": { + "file": "team-priya.webp", + "alt": "Priya Singh", + "width": 1000, + "height": 1250, + "photographer": "amin naderloei", + "photographerUrl": "https://unsplash.com/@aminnaderloei", + "unsplash": "https://unsplash.com/photos/young-woman-in-glasses-smiling-in-a-forest-5KsbzX5M9mo", + "id": "5KsbzX5M9mo" + }, + "open-bible": { + "file": "open-bible.webp", + "alt": "An open Bible on the table", + "width": 1400, + "height": 933, + "photographer": "Sixteen Miles Out", + "photographerUrl": "https://unsplash.com/@sixteenmilesout", + "unsplash": "https://unsplash.com/photos/green-plant-on-white-book-page-L-mNqn89I2s", + "id": "L-mNqn89I2s" + }, + "pulpit": { + "file": "pulpit.webp", + "alt": "The pulpit, with crosses on the wall behind", + "width": 1400, + "height": 935, + "photographer": "Mitchell Leach", + "photographerUrl": "https://unsplash.com/@mitchellleach", + "unsplash": "https://unsplash.com/photos/brown-wooden-cross-on-brown-wooden-cabinet-DmdQGZqR_38", + "id": "DmdQGZqR_38" + }, + "church-quiet": { + "file": "church-quiet.webp", + "alt": "A quiet church before the service", + "width": 1400, + "height": 788, + "photographer": "Martin Jernberg", + "photographerUrl": "https://unsplash.com/@martinjernberg", + "unsplash": "https://unsplash.com/photos/a-man-sitting-in-a-church-with-stained-glass-windows-ySjfkwugiEA", + "id": "ySjfkwugiEA" + }, + "sermon-robe": { + "file": "sermon-robe.webp", + "alt": "A minister in a robe holding a Bible", + "width": 1400, + "height": 933, + "photographer": "Benjamin Brunner", + "photographerUrl": "https://unsplash.com/@ben_brunner", + "unsplash": "https://unsplash.com/photos/a-man-in-a-black-robe-holding-a-book-MbYFGJT06gk", + "id": "MbYFGJT06gk" + }, + "sermon-collar": { + "file": "sermon-collar.webp", + "alt": "A priest standing at the front of the church", + "width": 1400, + "height": 933, + "photographer": "RECARDO DAVIDSON", + "photographerUrl": "https://unsplash.com/@shotbyriki", + "unsplash": "https://unsplash.com/photos/clergywoman-in-black-suit-stands-before-a-stone-wall-26JmMEHe9nk", + "id": "26JmMEHe9nk" + }, + "sermon-stage": { + "file": "sermon-stage.webp", + "alt": "A preacher on stage", + "width": 1400, + "height": 934, + "photographer": "Phil Hearing", + "photographerUrl": "https://unsplash.com/@philhearing", + "unsplash": "https://unsplash.com/photos/a-man-standing-on-top-of-a-stage-next-to-a-microphone-mgPIJGLM0SU", + "id": "mgPIJGLM0SU" + }, + "sermon-hall": { + "file": "sermon-hall.webp", + "alt": "A talk in the hall on a Sunday", + "width": 1400, + "height": 933, + "photographer": "adrianna geo", + "photographerUrl": "https://unsplash.com/@adrigeo_", + "unsplash": "https://unsplash.com/photos/people-sitting-on-chairs-inside-room-xjzhVNOvfZM", + "id": "xjzhVNOvfZM" + }, + "sermon-dark": { + "file": "sermon-dark.webp", + "alt": "A preacher speaking", + "width": 1400, + "height": 933, + "photographer": "Zach Lucero", + "photographerUrl": "https://unsplash.com/@zlucerophoto", + "unsplash": "https://unsplash.com/photos/a-man-in-a-suit-and-tie-holding-a-piece-of-paper-X4V-El4qvZ4", + "id": "X4V-El4qvZ4" + }, + "mic-audience": { + "file": "mic-audience.webp", + "alt": "A microphone in front of a full hall", + "width": 1400, + "height": 930, + "photographer": "Joao Cruz", + "photographerUrl": "https://unsplash.com/@jcruzweb", + "unsplash": "https://unsplash.com/photos/shallow-focus-photo-of-black-corded-microphone-IkEpl3JkVqU", + "id": "IkEpl3JkVqU" + }, + "mic-blue": { + "file": "mic-blue.webp", + "alt": "A microphone on an empty stage", + "width": 1400, + "height": 933, + "photographer": "Matthias Wagner", + "photographerUrl": "https://unsplash.com/@matwag", + "unsplash": "https://unsplash.com/photos/black-and-gray-microphone-on-black-stand-QrqeusbpFMM", + "id": "QrqeusbpFMM" + }, + "mic-red": { + "file": "mic-red.webp", + "alt": "A microphone in front of red seats", + "width": 1400, + "height": 1050, + "photographer": "Allie Reefer", + "photographerUrl": "https://unsplash.com/@thepghtraveler", + "unsplash": "https://unsplash.com/photos/a-microphone-on-a-stand-in-front-of-a-red-background-rAoQn6kwv64", + "id": "rAoQn6kwv64" + }, + "mic-white": { + "file": "mic-white.webp", + "alt": "A microphone in a bright room", + "width": 1400, + "height": 788, + "photographer": "Madrosah Sunnah", + "photographerUrl": "https://unsplash.com/@26_ms", + "unsplash": "https://unsplash.com/photos/black-and-gray-microphone-on-white-background-UA1nd6-Dndw", + "id": "UA1nd6-Dndw" + }, + "mic-crowd": { + "file": "mic-crowd.webp", + "alt": "A speaker in front of a crowd holding up lights", + "width": 1400, + "height": 788, + "photographer": "Herlambang Tinasih Gusti", + "photographerUrl": "https://unsplash.com/@tinasihgusti", + "unsplash": "https://unsplash.com/photos/a-man-standing-in-front-of-a-crowd-of-people--ymBs1mVim8", + "id": "-ymBs1mVim8" + } +} diff --git a/apps/website/backend/demo-photos/prayer-group.webp b/apps/website/backend/demo-photos/prayer-group.webp new file mode 100644 index 0000000..0def10d Binary files /dev/null and b/apps/website/backend/demo-photos/prayer-group.webp differ diff --git a/apps/website/backend/demo-photos/pulpit.webp b/apps/website/backend/demo-photos/pulpit.webp new file mode 100644 index 0000000..27c2919 Binary files /dev/null and b/apps/website/backend/demo-photos/pulpit.webp differ diff --git a/apps/website/backend/demo-photos/school-hall.webp b/apps/website/backend/demo-photos/school-hall.webp new file mode 100644 index 0000000..44a89e0 Binary files /dev/null and b/apps/website/backend/demo-photos/school-hall.webp differ diff --git a/apps/website/backend/demo-photos/sermon-collar.webp b/apps/website/backend/demo-photos/sermon-collar.webp new file mode 100644 index 0000000..185bcce Binary files /dev/null and b/apps/website/backend/demo-photos/sermon-collar.webp differ diff --git a/apps/website/backend/demo-photos/sermon-dark.webp b/apps/website/backend/demo-photos/sermon-dark.webp new file mode 100644 index 0000000..e2b4ff9 Binary files /dev/null and b/apps/website/backend/demo-photos/sermon-dark.webp differ diff --git a/apps/website/backend/demo-photos/sermon-hall.webp b/apps/website/backend/demo-photos/sermon-hall.webp new file mode 100644 index 0000000..9a911f5 Binary files /dev/null and b/apps/website/backend/demo-photos/sermon-hall.webp differ diff --git a/apps/website/backend/demo-photos/sermon-robe.webp b/apps/website/backend/demo-photos/sermon-robe.webp new file mode 100644 index 0000000..9dcf9bb Binary files /dev/null and b/apps/website/backend/demo-photos/sermon-robe.webp differ diff --git a/apps/website/backend/demo-photos/sermon-stage.webp b/apps/website/backend/demo-photos/sermon-stage.webp new file mode 100644 index 0000000..3bfd619 Binary files /dev/null and b/apps/website/backend/demo-photos/sermon-stage.webp differ diff --git a/apps/website/backend/demo-photos/soup-bowl.webp b/apps/website/backend/demo-photos/soup-bowl.webp new file mode 100644 index 0000000..aa62cf4 Binary files /dev/null and b/apps/website/backend/demo-photos/soup-bowl.webp differ diff --git a/apps/website/backend/demo-photos/stone-church.webp b/apps/website/backend/demo-photos/stone-church.webp new file mode 100644 index 0000000..fb6fd06 Binary files /dev/null and b/apps/website/backend/demo-photos/stone-church.webp differ diff --git a/apps/website/backend/demo-photos/students-fair.webp b/apps/website/backend/demo-photos/students-fair.webp new file mode 100644 index 0000000..ce0ef6f Binary files /dev/null and b/apps/website/backend/demo-photos/students-fair.webp differ diff --git a/apps/website/backend/demo-photos/students-lawn.webp b/apps/website/backend/demo-photos/students-lawn.webp new file mode 100644 index 0000000..6356dd2 Binary files /dev/null and b/apps/website/backend/demo-photos/students-lawn.webp differ diff --git a/apps/website/backend/demo-photos/students-lecture.webp b/apps/website/backend/demo-photos/students-lecture.webp new file mode 100644 index 0000000..011f8c1 Binary files /dev/null and b/apps/website/backend/demo-photos/students-lecture.webp differ diff --git a/apps/website/backend/demo-photos/supper-hall.webp b/apps/website/backend/demo-photos/supper-hall.webp new file mode 100644 index 0000000..3de4933 Binary files /dev/null and b/apps/website/backend/demo-photos/supper-hall.webp differ diff --git a/apps/website/backend/demo-photos/team-anne.webp b/apps/website/backend/demo-photos/team-anne.webp new file mode 100644 index 0000000..c88c4d4 Binary files /dev/null and b/apps/website/backend/demo-photos/team-anne.webp differ diff --git a/apps/website/backend/demo-photos/team-ayesha.webp b/apps/website/backend/demo-photos/team-ayesha.webp new file mode 100644 index 0000000..ac05085 Binary files /dev/null and b/apps/website/backend/demo-photos/team-ayesha.webp differ diff --git a/apps/website/backend/demo-photos/team-bongani.webp b/apps/website/backend/demo-photos/team-bongani.webp new file mode 100644 index 0000000..9ba8019 Binary files /dev/null and b/apps/website/backend/demo-photos/team-bongani.webp differ diff --git a/apps/website/backend/demo-photos/team-chris.webp b/apps/website/backend/demo-photos/team-chris.webp new file mode 100644 index 0000000..484cc69 Binary files /dev/null and b/apps/website/backend/demo-photos/team-chris.webp differ diff --git a/apps/website/backend/demo-photos/team-claire.webp b/apps/website/backend/demo-photos/team-claire.webp new file mode 100644 index 0000000..fcd825e Binary files /dev/null and b/apps/website/backend/demo-photos/team-claire.webp differ diff --git a/apps/website/backend/demo-photos/team-david.webp b/apps/website/backend/demo-photos/team-david.webp new file mode 100644 index 0000000..0424510 Binary files /dev/null and b/apps/website/backend/demo-photos/team-david.webp differ diff --git a/apps/website/backend/demo-photos/team-elsie.webp b/apps/website/backend/demo-photos/team-elsie.webp new file mode 100644 index 0000000..0bb8b60 Binary files /dev/null and b/apps/website/backend/demo-photos/team-elsie.webp differ diff --git a/apps/website/backend/demo-photos/team-grace.webp b/apps/website/backend/demo-photos/team-grace.webp new file mode 100644 index 0000000..50e774e Binary files /dev/null and b/apps/website/backend/demo-photos/team-grace.webp differ diff --git a/apps/website/backend/demo-photos/team-johan.webp b/apps/website/backend/demo-photos/team-johan.webp new file mode 100644 index 0000000..5456590 Binary files /dev/null and b/apps/website/backend/demo-photos/team-johan.webp differ diff --git a/apps/website/backend/demo-photos/team-kagiso.webp b/apps/website/backend/demo-photos/team-kagiso.webp new file mode 100644 index 0000000..b2184c4 Binary files /dev/null and b/apps/website/backend/demo-photos/team-kagiso.webp differ diff --git a/apps/website/backend/demo-photos/team-lerato.webp b/apps/website/backend/demo-photos/team-lerato.webp new file mode 100644 index 0000000..29df8d1 Binary files /dev/null and b/apps/website/backend/demo-photos/team-lerato.webp differ diff --git a/apps/website/backend/demo-photos/team-lisa.webp b/apps/website/backend/demo-photos/team-lisa.webp new file mode 100644 index 0000000..11124b1 Binary files /dev/null and b/apps/website/backend/demo-photos/team-lisa.webp differ diff --git a/apps/website/backend/demo-photos/team-lwazi.webp b/apps/website/backend/demo-photos/team-lwazi.webp new file mode 100644 index 0000000..d4c7fff Binary files /dev/null and b/apps/website/backend/demo-photos/team-lwazi.webp differ diff --git a/apps/website/backend/demo-photos/team-marie.webp b/apps/website/backend/demo-photos/team-marie.webp new file mode 100644 index 0000000..24b4f0e Binary files /dev/null and b/apps/website/backend/demo-photos/team-marie.webp differ diff --git a/apps/website/backend/demo-photos/team-megan.webp b/apps/website/backend/demo-photos/team-megan.webp new file mode 100644 index 0000000..997f406 Binary files /dev/null and b/apps/website/backend/demo-photos/team-megan.webp differ diff --git a/apps/website/backend/demo-photos/team-michelle.webp b/apps/website/backend/demo-photos/team-michelle.webp new file mode 100644 index 0000000..3b801ef Binary files /dev/null and b/apps/website/backend/demo-photos/team-michelle.webp differ diff --git a/apps/website/backend/demo-photos/team-nadia.webp b/apps/website/backend/demo-photos/team-nadia.webp new file mode 100644 index 0000000..e8ee4f3 Binary files /dev/null and b/apps/website/backend/demo-photos/team-nadia.webp differ diff --git a/apps/website/backend/demo-photos/team-nomsa.webp b/apps/website/backend/demo-photos/team-nomsa.webp new file mode 100644 index 0000000..e276e1d Binary files /dev/null and b/apps/website/backend/demo-photos/team-nomsa.webp differ diff --git a/apps/website/backend/demo-photos/team-pieter.webp b/apps/website/backend/demo-photos/team-pieter.webp new file mode 100644 index 0000000..690a2ca Binary files /dev/null and b/apps/website/backend/demo-photos/team-pieter.webp differ diff --git a/apps/website/backend/demo-photos/team-priya.webp b/apps/website/backend/demo-photos/team-priya.webp new file mode 100644 index 0000000..ad63791 Binary files /dev/null and b/apps/website/backend/demo-photos/team-priya.webp differ diff --git a/apps/website/backend/demo-photos/team-reddy.webp b/apps/website/backend/demo-photos/team-reddy.webp new file mode 100644 index 0000000..e2daec1 Binary files /dev/null and b/apps/website/backend/demo-photos/team-reddy.webp differ diff --git a/apps/website/backend/demo-photos/team-refilwe.webp b/apps/website/backend/demo-photos/team-refilwe.webp new file mode 100644 index 0000000..0b54308 Binary files /dev/null and b/apps/website/backend/demo-photos/team-refilwe.webp differ diff --git a/apps/website/backend/demo-photos/team-ruan.webp b/apps/website/backend/demo-photos/team-ruan.webp new file mode 100644 index 0000000..e6abe8d Binary files /dev/null and b/apps/website/backend/demo-photos/team-ruan.webp differ diff --git a/apps/website/backend/demo-photos/team-sam.webp b/apps/website/backend/demo-photos/team-sam.webp new file mode 100644 index 0000000..bb0cb5a Binary files /dev/null and b/apps/website/backend/demo-photos/team-sam.webp differ diff --git a/apps/website/backend/demo-photos/team-sipho.webp b/apps/website/backend/demo-photos/team-sipho.webp new file mode 100644 index 0000000..2fada00 Binary files /dev/null and b/apps/website/backend/demo-photos/team-sipho.webp differ diff --git a/apps/website/backend/demo-photos/team-thabo.webp b/apps/website/backend/demo-photos/team-thabo.webp new file mode 100644 index 0000000..dff6f32 Binary files /dev/null and b/apps/website/backend/demo-photos/team-thabo.webp differ diff --git a/apps/website/backend/demo-photos/team-tom.webp b/apps/website/backend/demo-photos/team-tom.webp new file mode 100644 index 0000000..a716739 Binary files /dev/null and b/apps/website/backend/demo-photos/team-tom.webp differ diff --git a/apps/website/backend/demo-photos/teens.webp b/apps/website/backend/demo-photos/teens.webp new file mode 100644 index 0000000..f773d03 Binary files /dev/null and b/apps/website/backend/demo-photos/teens.webp differ diff --git a/apps/website/backend/demo-photos/toddlers.webp b/apps/website/backend/demo-photos/toddlers.webp new file mode 100644 index 0000000..ed1fb84 Binary files /dev/null and b/apps/website/backend/demo-photos/toddlers.webp differ diff --git a/apps/website/backend/demo-photos/visit-tea.webp b/apps/website/backend/demo-photos/visit-tea.webp new file mode 100644 index 0000000..3404f7e Binary files /dev/null and b/apps/website/backend/demo-photos/visit-tea.webp differ diff --git a/apps/website/backend/demo-photos/welcome-greeting.webp b/apps/website/backend/demo-photos/welcome-greeting.webp new file mode 100644 index 0000000..b7b55be Binary files /dev/null and b/apps/website/backend/demo-photos/welcome-greeting.webp differ diff --git a/apps/website/backend/demo-photos/welcome-hug.webp b/apps/website/backend/demo-photos/welcome-hug.webp new file mode 100644 index 0000000..13189d9 Binary files /dev/null and b/apps/website/backend/demo-photos/welcome-hug.webp differ diff --git a/apps/website/backend/demo-photos/worship-hands.webp b/apps/website/backend/demo-photos/worship-hands.webp new file mode 100644 index 0000000..e5005ea Binary files /dev/null and b/apps/website/backend/demo-photos/worship-hands.webp differ diff --git a/apps/website/backend/demo-photos/youth-group.webp b/apps/website/backend/demo-photos/youth-group.webp new file mode 100644 index 0000000..11f235d Binary files /dev/null and b/apps/website/backend/demo-photos/youth-group.webp differ diff --git a/apps/website/backend/demo-photos/youth-outdoors.webp b/apps/website/backend/demo-photos/youth-outdoors.webp new file mode 100644 index 0000000..74ecc2f Binary files /dev/null and b/apps/website/backend/demo-photos/youth-outdoors.webp differ diff --git a/apps/website/backend/package.json b/apps/website/backend/package.json index 4d73cee..8d30d33 100644 --- a/apps/website/backend/package.json +++ b/apps/website/backend/package.json @@ -1,6 +1,6 @@ { "name": "@crosscode/website-backend", - "version": "1.5.0", + "version": "1.6.0", "description": "Church Website: the public site's content API, the admin API, publishing and uploads", "private": true, "type": "module", diff --git a/apps/website/backend/src/demo/demoChurch.ts b/apps/website/backend/src/demo/demoChurch.ts index 3aa157c..5f70e05 100644 --- a/apps/website/backend/src/demo/demoChurch.ts +++ b/apps/website/backend/src/demo/demoChurch.ts @@ -1,7 +1,7 @@ /** * The demo church (WEBSITE-1.0-PLAN §11, "Demo church"): a fictional church, fictional people and - * illustrated images (no photos of anyone), loaded into a template for development, the Hub's demo - * sites and the crosscode-site screenshots. `npm run demo -- --template bold`. + * stock photos (models, not anyone from a church), loaded into a template for development, the + * Hub's demo sites and the crosscode-site screenshots. `npm run demo -- --template bold`. * * 1.3.0: also the eight demo profiles (seeds.ts, `npm run demo -- --profile bold-plant`), which * keep the church's own profile (Accounts' organisation settings), the site settings, the site @@ -12,6 +12,7 @@ * been published unless told otherwise. */ import fs from 'node:fs'; +import os from 'node:os'; import path from 'node:path'; import { fileURLToPath } from 'node:url'; import { CHURCH_SCHEMA, WEBSITE_TEMPLATES, type agent, type Church, type WebsiteTemplate } from '@crosscode/contracts'; @@ -20,7 +21,8 @@ import { churchProfile } from '../church/profile.js'; import type { SectionData } from '../site/sections.js'; import { publish } from '../site/snapshot.js'; import { TEMPLATE_HEADERS, TEMPLATE_VARIANTS, SECTION_TYPES, defaultDesign, type SiteDesign } from '../site/variants.js'; -import { DEMO_SEEDS, type DemoSeed } from './seeds.js'; +import { MAX_WIDTH, WIDTHS, processImage, type Sizes } from '../admin/media.js'; +import { DEMO_SEEDS, type DemoPhotos, type DemoSeed } from './seeds.js'; export const DEMO_COLOURS = { primary: '#1d5c63', accent: '#e0a458' }; @@ -54,7 +56,7 @@ export function demoProfile(publicUrl: string): Church { } as Church; } -/** An illustrated "photo": hills, a sun and a path in the church's colours (SVG, no people). */ +/** Hills, a sun and a path in the church's colours (SVG): what stands in for a demo photo that is missing. */ export function illustration(seed: number, w = 1600, h = 1000, colours: { primary: string; accent: string } = DEMO_COLOURS): string { const hues = [colours.primary, colours.accent, '#7fb7be', '#f3e3c3', '#284b52']; const c = (i: number) => hues[(seed + i) % hues.length]; @@ -73,24 +75,87 @@ type Ids = Record; const HEX = /^#[0-9a-f]{6}$/i; -async function demoMedia(ctx: Ctx, uploadDir: string, alts: Record, colours: { primary: string; accent: string }): Promise { - const items: [string, number][] = [['hero', 0], ['collage2', 1], ['collage3', 2], ['welcome', 3], ['pastor', 4], ['invite', 5], ['kids', 6], ['youth', 7], ['care', 8], ['music', 9]]; - const ids: Ids = {}; - fs.mkdirSync(path.join(uploadDir, 'demo'), { recursive: true }); - for (const [key, seed] of items) { +export const defaultUploadDir = () => path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', '..', 'uploads'); + +/** + * The demo's photos (Unsplash, free to use: credits in demo-photos/photos.json and CREDITS.md). + * Stock photos of models standing in for the fictional churches' people and places. + */ +export const DEMO_PHOTO_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', '..', 'demo-photos'); +type DemoPhoto = { file: string; alt: string; width: number; height: number }; +let photoList: Record | null = null; +export function demoPhotos(): Record { + if (!photoList) { + try { photoList = JSON.parse(fs.readFileSync(path.join(DEMO_PHOTO_DIR, 'photos.json'), 'utf8')) as Record; } catch { photoList = {}; } + } + return photoList; +} + +/** + * One demo photo as a media asset, in the responsive sizes a real upload gets. The processed files + * stay in `/demo/` (the demo replaces rows, not files), so a later demo reuses them. + * Without the photo (a checkout without demo-photos/), the illustration stands in. + */ +async function demoAsset(ctx: Ctx, uploadDir: string, key: string, alt: string, fallbackSeed: number, colours: { primary: string; accent: string }): Promise { + const photo = demoPhotos()[key]; + const source = photo && path.join(DEMO_PHOTO_DIR, photo.file); + if (!source || !fs.existsSync(source)) { const filename = `demo/${key}.svg`; - const svg = illustration(seed, 1600, 1000, colours); + const svg = illustration(fallbackSeed, 1600, 1000, colours); fs.writeFileSync(path.join(uploadDir, filename), svg); - const row = await ctx.db.mediaAsset.create({ data: { filename, mime: 'image/svg+xml', bytes: Buffer.byteLength(svg), width: 1600, height: 1000, alt: alts[key]! } }); - ids[key] = row.id; + const row = await ctx.db.mediaAsset.create({ data: { filename, mime: 'image/svg+xml', bytes: Buffer.byteLength(svg), width: 1600, height: 1000, alt } }); + return row.id; + } + const width = Math.min(photo.width, MAX_WIDTH); + const height = Math.round((photo.height * width) / photo.width); + const sizes: Sizes = WIDTHS.filter((w) => w < width).map((w) => ({ w, webp: `${key}-${w}.webp`, jpg: `${key}-${w}.jpg` })); + const names = [`${key}.webp`, ...sizes.flatMap((s) => [s.webp, s.jpg])]; + // Made once per machine (in the temp folder, by the photo's size, so a replaced photo is made + // again) and copied: the e2e and the tests load the demo many times. + const made = path.join(os.tmpdir(), 'crosscode-website-demo', `${key}-${fs.statSync(source).size}`); + if (!names.every((f) => fs.existsSync(path.join(made, f)))) { + // Made in a folder of its own and renamed into place, so a demo loading at the same time + // never copies a half-written file. + const making = `${made}.${process.pid}.${Math.random().toString(36).slice(2)}`; + fs.mkdirSync(making, { recursive: true }); + await processImage(fs.readFileSync(source), { ext: 'webp', mime: 'image/webp' }, path.join(making, key)); + try { fs.renameSync(making, made); } catch { fs.rmSync(making, { recursive: true, force: true }); } + } + for (const f of names) { + const to = path.join(uploadDir, 'demo', f); + if (!fs.existsSync(to)) fs.copyFileSync(path.join(made, f), to); + } + const bytes = names.reduce((t, f) => t + fs.statSync(path.join(uploadDir, 'demo', f)).size, 0); + const row = await ctx.db.mediaAsset.create({ data: { filename: `demo/${key}.webp`, mime: 'image/webp', bytes, width, height, alt, sizes: sizes as never } }); + return row.id; +} + +/** The demo's pictures by slot (hero, collage2, collage3, welcome, pastor, invite, and the four ministries). */ +async function demoMedia(ctx: Ctx, uploadDir: string, photos: DemoPhotos, pastorName: string, team: string[], colours: { primary: string; accent: string }): Promise { + const slots: [string, string, string | null][] = [ + ['hero', photos.hero, null], ['collage2', photos.collage[0], null], ['collage3', photos.collage[1], null], + ['welcome', photos.welcome, null], ['pastor', photos.pastor, pastorName], ['invite', photos.invite, null], + ...photos.ministries.map((p, i) => [`ministry${i}`, p, null] as [string, string, string | null]), + ...photos.team.map((p, i) => [`team${i}`, p, team[i] ?? null] as [string, string, string | null]), + ...photos.messages.map((p, i) => [`message${i}`, p, null] as [string, string, string | null]), + ...photos.events.map((p, i) => [`event${i}`, p, null] as [string, string, string | null]), + ]; + fs.mkdirSync(path.join(uploadDir, 'demo'), { recursive: true }); + const ids: Ids = {}; + const byPhoto = new Map(); + let n = 0; + for (const [slot, key, alt] of slots) { + // A photo used twice (a profile may) is one asset; the pastor's always gets their name. + const id = !alt && byPhoto.get(key) || await demoAsset(ctx, uploadDir, key, alt ?? demoPhotos()[key]?.alt ?? 'Illustration', n, colours); + if (!alt) byPhoto.set(key, id); + ids[slot] = id; + n++; } return ids; } -export const defaultUploadDir = () => path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', '..', 'uploads'); - /** The development demo church (Acacia Hill), on any template: what a template alone loads. */ -const CLASSIC: Omit & { pastorName: string; ctaText: string; descriptions: Record; alts: Record } = { +const CLASSIC: Omit & { pastorName: string; ctaText: string; descriptions: Record } = { id: 'classic', label: 'Acacia Hill (development)', alternate: false, hero: { headline: 'A home for everyone on the hill', subline: 'Sundays at 08:30 and 10:00 in Westridge, Pretoria. Come as you are.', button: { label: 'Plan your visit', href: '/visit' } }, serviceNote: 'Kids church runs during the 10:00 service. Parking on Acacia Avenue and behind the hall.', @@ -137,11 +202,7 @@ const CLASSIC: Omit & { pastorName: string; ctaText: strin give: 'How to give to Acacia Hill Church.', contact: 'Find Acacia Hill Church in Westridge, Pretoria.', }, - alts: { - hero: 'The hills behind Acacia Hill at sunrise (illustration)', collage2: 'A path through the veld (illustration)', collage3: 'Evening over the valley (illustration)', - welcome: 'The church garden (illustration)', pastor: 'Illustration standing in for the pastor\'s photo', invite: 'A sunny Sunday morning (illustration)', - kids: 'Illustration for Kids church', youth: 'Illustration for Youth', care: 'Illustration for Care and prayer', music: 'Illustration for Worship', - }, + photos: { hero: 'acacia-sunrise', collage: ['congregation-warm', 'coffee-friends'], welcome: 'welcome-hug', pastor: 'pastor-thandi', invite: 'church-light', ministries: ['kids-craft', 'youth-group', 'band-small', 'prayer-group'], team: ['team-pieter', 'team-lerato', 'team-johan'], messages: ['open-bible', 'mic-audience', 'pulpit'], events: ['friends-picnic', 'candles', 'meal-friends'] }, }; /** A demo profile's design: the template's defaults, or (alternate) its second recommendations and header. */ @@ -194,16 +255,11 @@ export async function loadDemo(ctx: Ctx, what: WebsiteTemplate | agent.WebsiteDe const [pastorName] = seed.leaders[0]!; const ministryNames = seed.ministries.map(([, n]) => t(n)); - const alts = extra?.alts ?? { - hero: `${t(seed.hero.headline)} (illustration)`, collage2: 'A path through the veld (illustration)', collage3: 'Evening over the valley (illustration)', - welcome: `${short} (illustration)`, pastor: `Illustration standing in for ${pastorName}'s photo`, invite: 'A sunny Sunday morning (illustration)', - kids: `Illustration for ${ministryNames[0]}`, youth: `Illustration for ${ministryNames[1]}`, music: `Illustration for ${ministryNames[2]}`, care: `Illustration for ${ministryNames[3]}`, - }; - const img = await demoMedia(ctx, uploadDir, alts, colours); + const speaker = extra?.pastorName ?? pastorName; + const img = await demoMedia(ctx, uploadDir, seed.photos, speaker, seed.leaders.slice(1).map(([name]) => name), colours); const design = classic ? defaultDesign(seed.template) : seedDesign(seed.template, seed.alternate); await db.siteDesign.create({ data: { id: 1, template: seed.template, variants: design.variants as never, home: design.home as never, style: design.style as never } }); - const speaker = extra?.pastorName ?? pastorName; const home: SectionData = { hero: { headline: t(seed.hero.headline), subline: t(seed.hero.subline), images: [img.hero!, img.collage2!, img.collage3!], videoId: null, button: seed.hero.button }, serviceTimes: { heading: 'Join us this Sunday', note: t(seed.serviceNote) }, @@ -223,7 +279,7 @@ export async function loadDemo(ctx: Ctx, what: WebsiteTemplate | agent.WebsiteDe { kind: 'visit', slug: 'visit', title: 'Plan your visit', position: 1, description: d('visit', 'What to expect on your first Sunday at {name}.'), sections: [ { type: 'text', data: { heading: 'What to expect', body: t(seed.visit.expect) } }, - { type: 'image-text', variant: 'image-text', data: { heading: 'Bringing children', body: t(seed.visit.kids), imageId: img.kids, button: null } }, + { type: 'image-text', variant: 'image-text', data: { heading: 'Bringing children', body: t(seed.visit.kids), imageId: img.ministry0, button: null } }, { type: 'cta', data: { heading: t(seed.visit.cta), text: extra?.ctaText ?? 'Send us a message and we will get back to you.', button: { label: 'Contact us', href: '/contact' } } }, ], }, @@ -250,21 +306,27 @@ export async function loadDemo(ctx: Ctx, what: WebsiteTemplate | agent.WebsiteDe for (const s of p.sections) await db.section.create({ data: { pageId: page.id, type: s.type, variant: s.variant ?? null, position: i++, data: s.data as never } }); } - const pictures = [img.kids!, img.youth!, img.music!, img.care!]; let n = 0; - for (const [slug, , summary] of seed.ministries) await db.ministry.create({ data: { slug, name: ministryNames[n]!, summary: t(summary), imageId: pictures[n]!, position: n++ } }); + for (const [slug, , summary] of seed.ministries) await db.ministry.create({ data: { slug, name: ministryNames[n]!, summary: t(summary), imageId: img[`ministry${n}`]!, position: n++ } }); n = 0; - for (const [leader, role] of seed.leaders) await db.leader.create({ data: { name: leader, role, photoId: n === 0 ? img.pastor! : null, position: n++ } }); + for (const [leader, role] of seed.leaders) await db.leader.create({ data: { name: leader, role, photoId: n === 0 ? img.pastor! : img[`team${n - 1}`] ?? null, position: n++ } }); const now = ctx.now(); const day = 864e5; const series = await db.messageSeries.create({ data: { slug: seed.series[0], title: seed.series[1] } }); + // Each message shows a photo (its video is a stand-in), at the 960 px size a card needs. + n = 0; for (const [slug, title, ago, passage] of seed.messages) { - await db.message.create({ data: { slug, title, date: new Date(now.getTime() - ago * day), source: 'youtube', mediaUrl: 'https://www.youtube.com/watch?v=aqz-KE-bpKQ', speaker, passage, seriesId: series.id, publishedAt: now } }); + const photo = await db.mediaAsset.findUnique({ where: { id: img[`message${n++}`]! } }); + const sizes = (photo?.sizes ?? []) as Sizes; + const file = sizes.find((s) => s.w === 960)?.webp; + const thumbnailUrl = photo ? `/api/uploads/${file ? `demo/${file}` : photo.filename}` : null; + await db.message.create({ data: { slug, title, date: new Date(now.getTime() - ago * day), source: 'youtube', mediaUrl: 'https://www.youtube.com/watch?v=aqz-KE-bpKQ', thumbnailUrl, speaker, passage, seriesId: series.id, publishedAt: now } }); } + n = 0; for (const [slug, title, inDays, description] of seed.events) { const startsAt = new Date(Math.floor((now.getTime() + inDays * day) / day) * day + 8 * 3600e3); - await db.simpleEvent.create({ data: { slug, title, startsAt, endsAt: new Date(startsAt.getTime() + 3 * 3600e3), location: t(seed.venue), description: t(description), publishedAt: now } }); + await db.simpleEvent.create({ data: { slug, title, startsAt, endsAt: new Date(startsAt.getTime() + 3 * 3600e3), location: t(seed.venue), description: t(description), imageId: img[`event${n++}`] ?? null, publishedAt: now } }); } return publish(ctx, { id: opts.publishedBy ?? 'demo', role: 'system' }, classic ? `Demo church on ${seed.template}` : `Demo: ${seed.label}`); } diff --git a/apps/website/backend/src/demo/seeds.ts b/apps/website/backend/src/demo/seeds.ts index 636d49c..fc58c63 100644 --- a/apps/website/backend/src/demo/seeds.ts +++ b/apps/website/backend/src/demo/seeds.ts @@ -32,7 +32,7 @@ export type DemoSeed = { visit: { expect: string; kids: string; cta: string }; about: { story: string; quote: string; by: string }; give: string; - /** Four: [slug, name, summary]. Their pictures are the kids, youth, music and care illustrations, in order. */ + /** Four: [slug, name, summary]. Their pictures are `photos.ministries`, in order. */ ministries: [string, string, string][]; /** Four: [name, role]. The first is the pastor on the home page and the speaker of the messages. */ leaders: [string, string][]; @@ -43,6 +43,27 @@ export type DemoSeed = { events: [string, string, number, string][]; /** Where the events are. */ venue: string; + /** The photos (keys in `demo-photos/photos.json`): the hero, the collage's other two, and the rest. */ + photos: DemoPhotos; +}; + +/** + * Which demo photo goes where. `ministries` follow the ministries' order; the first is also the + * picture on the Plan your visit page's "Bringing children". The pastor's photo is the first leader's. + */ +export type DemoPhotos = { + hero: string; + collage: [string, string]; + welcome: string; + pastor: string; + invite: string; + ministries: [string, string, string, string]; + /** The other three leaders' portraits, in the leaders' order. */ + team: [string, string, string]; + /** The three messages' thumbnails (their video is a stand-in), newest first. */ + messages: [string, string, string]; + /** The three events' pictures, in the events' order. */ + events: [string, string, string]; }; const visitButton: Button = { label: 'Plan your visit', href: '/visit' }; @@ -82,6 +103,7 @@ export const DEMO_SEEDS: Record = { ['christmas-eve', 'Christmas Eve midnight mass', 27, 'The first Communion of Christmas, with carols from 23:15.'], ], venue: '{name}', + photos: { hero: 'stone-church', collage: ['church-aisle', 'organ'], welcome: 'congregation-pews', pastor: 'pastor-margaret', invite: 'church-light', ministries: ['kids-drawing', 'candles', 'choir-church', 'visit-tea'], team: ['team-sipho', 'team-anne', 'team-david'], messages: ['sermon-collar', 'pulpit', 'church-quiet'], events: ['friends-picnic', 'candles', 'church-light'] }, }, 'heritage-city': { id: 'heritage-city', template: 'heritage', label: 'Heritage: a city-centre church with weekday services', alternate: true, @@ -117,6 +139,7 @@ export const DEMO_SEEDS: Record = { ['city-carols', 'Carols for the city', 23, 'Readings and carols for everyone who works in {city}.'], ], venue: '{name}', + photos: { hero: 'city-spire', collage: ['candles', 'congregation-pews'], welcome: 'church-white', pastor: 'pastor-peter', invite: 'church-doors', ministries: ['students-lecture', 'coffee-group', 'organ', 'soup-bowl'], team: ['team-claire', 'team-tom', 'team-nomsa'], messages: ['sermon-robe', 'pulpit', 'open-bible'], events: ['organ', 'candles', 'choir-church'] }, }, 'bold-youth': { id: 'bold-youth', template: 'bold', label: 'Bold: a young, music-led church', alternate: false, @@ -152,6 +175,7 @@ export const DEMO_SEEDS: Record = { ['christmas-experience', 'The Christmas experience', 26, 'Music, lights and the Christmas story for the whole family.'], ], venue: 'The {short} auditorium', + photos: { hero: 'band-big', collage: ['worship-hands', 'youth-group'], welcome: 'congregation-modern', pastor: 'pastor-naidoo', invite: 'coffee-friends', ministries: ['kids-teacher', 'youth-outdoors', 'band-stage', 'bible-study'], team: ['team-kagiso', 'team-megan', 'team-ruan'], messages: ['sermon-stage', 'mic-blue', 'mic-red'], events: ['worship-hands', 'youth-outdoors', 'band-big'] }, }, 'bold-plant': { id: 'bold-plant', template: 'bold', label: 'Bold: a new church plant meeting in a school', alternate: true, @@ -187,6 +211,7 @@ export const DEMO_SEEDS: Record = { ['christmas-in-the-hall', 'Christmas in the hall', 24, 'A family carol service with mince pies.'], ], venue: 'The school hall', + photos: { hero: 'congregation-hall', collage: ['friends-picnic', 'coffee-friends'], welcome: 'welcome-greeting', pastor: 'pastor-moore', invite: 'hall-chairs', ministries: ['toddlers', 'school-hall', 'guitar-singer', 'meal-friends'], team: ['team-ayesha', 'team-chris', 'team-grace'], messages: ['sermon-hall', 'mic-audience', 'open-bible'], events: ['congregation-hall', 'friends-picnic', 'candles'] }, }, 'community-family': { id: 'community-family', template: 'community', label: 'Community: a family church with small groups', alternate: false, @@ -222,6 +247,7 @@ export const DEMO_SEEDS: Record = { ['christmas-family-service', 'Christmas family service', 25, 'Our nativity, sung by the kids, followed by tea.'], ], venue: '{name}', + photos: { hero: 'meal-family', collage: ['kids-craft', 'family-walk'], welcome: 'welcome-hug', pastor: 'pastor-andile', invite: 'coffee-group', ministries: ['toddlers', 'teens', 'band-small', 'bible-coffee'], team: ['team-michelle', 'team-reddy', 'team-lwazi'], messages: ['bible-study', 'open-bible', 'mic-audience'], events: ['friends-picnic', 'kids-drawing', 'candles'] }, }, 'community-town': { id: 'community-town', template: 'community', label: 'Community: a country-town church serving its district', alternate: true, @@ -257,6 +283,7 @@ export const DEMO_SEEDS: Record = { ['new-year-prayer', 'New Year prayer breakfast', 36, 'Pray for the year ahead over breakfast in the hall.'], ], venue: '{name}', + photos: { hero: 'farm-road', collage: ['farm-bales', 'country-church'], welcome: 'meal-table', pastor: 'pastor-willem', invite: 'church-light', ministries: ['kids-class', 'youth-outdoors', 'choir-gospel', 'food-parcels'], team: ['team-elsie', 'team-bongani', 'team-marie'], messages: ['pulpit', 'church-quiet', 'open-bible'], events: ['farm-bales', 'candles', 'prayer-group'] }, }, 'clean-modern': { id: 'clean-modern', template: 'clean', label: 'Clean: a contemporary church, simply put', alternate: false, @@ -292,6 +319,7 @@ export const DEMO_SEEDS: Record = { ['christmas-day', 'Christmas Day', 28, 'One family service at 09:00, about 45 minutes.'], ], venue: '{name}', + photos: { hero: 'coffee-friends', collage: ['meal-table', 'guitar-singer'], welcome: 'bible-coffee', pastor: 'pastor-daniel', invite: 'church-light', ministries: ['kids-teacher', 'students-lecture', 'guitar-room', 'meal-friends'], team: ['team-refilwe', 'team-sam', 'team-nadia'], messages: ['sermon-dark', 'mic-white', 'open-bible'], events: ['coffee-group', 'candles', 'congregation-pews'] }, }, 'clean-campus': { id: 'clean-campus', template: 'clean', label: 'Clean: a church near the university', alternate: true, @@ -327,6 +355,7 @@ export const DEMO_SEEDS: Record = { ['carols-on-campus', 'Carols on campus', 19, 'Carols on the library lawn for students who are still here.'], ], venue: '{name}', + photos: { hero: 'campus-path', collage: ['students-lawn', 'supper-hall'], welcome: 'students-lecture', pastor: 'pastor-ian', invite: 'meal-table', ministries: ['family-picnic', 'bible-study', 'guitar-singer', 'students-fair'], team: ['team-lisa', 'team-thabo', 'team-priya'], messages: ['mic-crowd', 'mic-white', 'sermon-hall'], events: ['prayer-group', 'meal-friends', 'candles'] }, }, }; diff --git a/apps/website/backend/src/site/content.ts b/apps/website/backend/src/site/content.ts index 60d3f59..ae841a5 100644 --- a/apps/website/backend/src/site/content.ts +++ b/apps/website/backend/src/site/content.ts @@ -82,8 +82,14 @@ function brandFor(church: Church | null, template: WebsiteTemplate) { /** Where the site serves a YouTube video's thumbnail from (site/thumbnails.ts): visitors never ask YouTube. */ export const thumbnailPath = (videoId: string) => `/api/thumbnails/${videoId}.jpg`; -/** A message's thumbnail on the site: its YouTube video's, served from here; none for Spotify. */ -export function messageThumbnail(m: { source: string; mediaUrl: string }) { +/** + * A message's thumbnail on the site: its YouTube video's, served from here; none for Spotify. A + * `thumbnailUrl` that is one of the site's own uploads comes first: the demo church's messages + * have photos, while their video is a stand-in (admins and the YouTube feed store YouTube's + * address there, which is never used). + */ +export function messageThumbnail(m: { source: string; mediaUrl: string; thumbnailUrl?: string | null }) { + if (m.thumbnailUrl && /^\/api\/uploads\/[\w./-]+$/.test(m.thumbnailUrl) && !m.thumbnailUrl.includes('..')) return m.thumbnailUrl; const yt = m.source === 'spotify' ? null : youtubeId(m.mediaUrl); return yt ? thumbnailPath(yt) : null; } diff --git a/apps/website/backend/tests/site.test.ts b/apps/website/backend/tests/site.test.ts index ee45ee3..2956ebe 100644 --- a/apps/website/backend/tests/site.test.ts +++ b/apps/website/backend/tests/site.test.ts @@ -7,7 +7,7 @@ import request from 'supertest'; import { WEBSITE_TEMPLATES, agent } from '@crosscode/contracts'; import { demoProfile, loadDemo, seedDesign } from '../src/demo/demoChurch.js'; import { DEMO_SEEDS, demoSeeds } from '../src/demo/seeds.js'; -import { siteContent, spotifyEmbed, youtubeId } from '../src/site/content.js'; +import { messageThumbnail, siteContent, spotifyEmbed, youtubeId } from '../src/site/content.js'; import { buildPalette, contrast, hexToRgb } from '../src/site/palette.js'; import { parseSectionData } from '../src/site/sections.js'; import { buildSnapshot, cleanDesign, publish } from '../src/site/snapshot.js'; @@ -118,8 +118,9 @@ describe('the public site\'s content', () => { const hero = c.snapshot.pages[0]!.sections[0]!; assert.equal(hero.type, 'hero'); const firstImage = (hero.data.images as string[])[0]!; - assert.match(c.snapshot.media[firstImage]!.url, /^\/api\/uploads\/demo\/hero\.svg$/); - assert.ok(fs.existsSync(path.join(dir, 'demo', 'hero.svg'))); + assert.match(c.snapshot.media[firstImage]!.url, /^\/api\/uploads\/demo\/acacia-sunrise\.webp$/, 'a photo, not an illustration'); + assert.ok(fs.existsSync(path.join(dir, 'demo', 'acacia-sunrise.webp'))); + assert.ok(fs.existsSync(path.join(dir, 'demo', 'acacia-sunrise-960.webp')), 'in the responsive sizes an upload gets'); }); } @@ -144,7 +145,18 @@ describe('the public site\'s content', () => { assert.doesNotMatch(all, /\{(name|short|city)\}/, 'every placeholder is filled in'); assert.doesNotMatch(all, /Acacia/, 'nothing of the development church'); assert.equal(c.snapshot.design.variants.hero, seedDesign(seed.template, seed.alternate).variants.hero); - assert.match(fs.readFileSync(path.join(dir, 'demo', 'hero.svg'), 'utf8'), /#8a1538/, 'pictures in the church\'s colours'); + assert.ok(fs.existsSync(path.join(dir, 'demo', `${seed.photos.hero}.webp`)), 'the profile\'s own hero photo'); + const welcome = c.snapshot.pages[0]!.sections.find((s) => s.type === 'welcome')!.data as { pastor: { photoId: string } }; + assert.equal(c.snapshot.media[welcome.pastor.photoId]!.alt, seed.leaders[0]![0], 'the pastor\'s photo is named for them'); + for (const [i, l] of c.snapshot.leaders.entries()) { + assert.ok(l.photo, `${l.name} has a photo`); + assert.equal(l.photo!.alt, seed.leaders[i]![0], 'named for them'); + } + for (const e of c.events) assert.ok(e.image, `${e.title} has a picture`); + for (const m of c.messages) { + assert.match(m.thumbnail ?? '', /^\/api\/uploads\/demo\/[a-z-]+-960\.webp$/, `${m.title}: a demo photo, not the stand-in video's`); + assert.ok(fs.existsSync(path.join(dir, m.thumbnail!.replace('/api/uploads/', '')))); + } }); } @@ -171,7 +183,7 @@ describe('the public site\'s content', () => { assert.ok(await h.db.mediaAsset.findUnique({ where: { id: icon.id } }), 'the site icon stays'); assert.equal(await h.ctx.settings.get('favicon_media_id'), icon.id); assert.equal(await h.ctx.settings.get('coming_soon_text'), 'Soon!'); - assert.equal(await h.db.mediaAsset.count(), 11, 'the ten pictures and the icon'); + assert.equal(await h.db.mediaAsset.count(), 19, 'eighteen pictures (ten on the pages, three of the team, three messages\', two more for the events: the harvest festival\'s is the collage\'s hay bales) and the icon'); assert.equal(await h.db.slugHistory.count(), 0); assert.equal((await siteContent(h.ctx)).church?.name, 'Acacia Hill Church', 'the profile saved by the first demo stays'); }); @@ -188,9 +200,9 @@ describe('the public site\'s content', () => { const dir = tmp(); const h = await harness({ linked: false, env: { UPLOAD_DIR: dir } }); await loadDemo(h.ctx, 'community', { uploadDir: dir }); - const svg = await request(h.app).get('/api/uploads/demo/hero.svg'); - assert.equal(svg.status, 200); - assert.match(String(svg.headers['content-security-policy']), /sandbox/); + const photo = await request(h.app).get('/api/uploads/demo/acacia-sunrise.webp'); + assert.equal(photo.status, 200); + assert.match(String(photo.headers['content-security-policy']), /sandbox/); assert.equal((await request(h.app).get('/api/uploads/demo/')).status, 404); assert.ok([403, 404].includes((await request(h.app).get('/api/uploads/..%2f..%2fpackage.json')).status)); assert.equal((await request(h.app).get('/api/uploads/missing.png')).status, 404); @@ -214,7 +226,21 @@ describe("the messages' thumbnails, served from the site (§7)", () => { await loadDemo(h.ctx, 'heritage', { uploadDir: dir }); const content = await siteContent(h.ctx); assert.ok(content.mode === 'published' && content.messages.length > 0); - for (const m of content.messages) assert.equal(m.thumbnail, '/api/thumbnails/aqz-KE-bpKQ.jpg'); + for (const m of content.messages) assert.match(m.thumbnail ?? '', /^\/api\/uploads\/demo\//, 'the demo\'s photos'); + // A message as an admin or the YouTube feed saves it: YouTube's address is kept, never shown. + await h.db.message.updateMany({ data: { thumbnailUrl: 'https://i.ytimg.com/vi/aqz-KE-bpKQ/hqdefault.jpg' } }); + const again = await siteContent(h.ctx); + assert.ok(again.mode === 'published'); + for (const m of again.messages) assert.equal(m.thumbnail, '/api/thumbnails/aqz-KE-bpKQ.jpg'); + }); + + it('a thumbnail of its own is only ever one of the site\'s uploads', () => { + const yt = { source: 'youtube', mediaUrl: 'https://www.youtube.com/watch?v=aqz-KE-bpKQ' }; + assert.equal(messageThumbnail({ ...yt, thumbnailUrl: '/api/uploads/demo/pulpit-960.webp' }), '/api/uploads/demo/pulpit-960.webp'); + for (const other of ['https://evil.example/x.jpg', '/api/uploads/../../etc/passwd', '//evil.example/x.jpg', '/api/thumbnails/x.jpg', null, '']) { + assert.equal(messageThumbnail({ ...yt, thumbnailUrl: other }), '/api/thumbnails/aqz-KE-bpKQ.jpg', String(other)); + } + assert.equal(messageThumbnail({ source: 'spotify', mediaUrl: 'https://open.spotify.com/episode/x', thumbnailUrl: null }), null); }); it("fetches a message's thumbnail once and keeps it; nothing for a video that isn't the site's", async () => { diff --git a/apps/website/e2e/server.ts b/apps/website/e2e/server.ts index d9d5e7e..3ef510d 100644 --- a/apps/website/e2e/server.ts +++ b/apps/website/e2e/server.ts @@ -19,7 +19,7 @@ import { websiteTemplateSchema } from '@crosscode/contracts'; import { PrismaClient } from '../backend/src/generated/prisma/client.js'; import { createApp } from '../backend/src/app.js'; import { createCtx } from '../backend/src/context.js'; -import { illustration, loadDemo } from '../backend/src/demo/demoChurch.js'; +import { DEMO_PHOTO_DIR, loadDemo } from '../backend/src/demo/demoChurch.js'; import { loadConfig } from '../backend/src/lib/config.js'; import { hashToken } from '../backend/src/lib/crypto.js'; import { publish } from '../backend/src/site/snapshot.js'; @@ -56,9 +56,9 @@ async function freshPostgres(url: string) { // A frozen clock (a Monday morning), so the demo's dates, and so the screenshots, are the same every // run (variants.spec.ts). E2E_NOW changes it. const frozen = new Date(process.env.E2E_NOW ?? '2026-11-23T06:00:00Z'); -// YouTube's thumbnails (site/thumbnails.ts) without the network: one of the demo's illustrations, -// as a JPEG the size of YouTube's, for every video. -const thumb = await sharp(Buffer.from(illustration(4, 480, 360))).jpeg().toBuffer(); +// YouTube's thumbnails (site/thumbnails.ts) without the network: one of the demo's photos, as a +// JPEG the size of YouTube's, for every video. +const thumb = await sharp(path.join(DEMO_PHOTO_DIR, 'congregation-warm.webp')).resize(480, 360, { fit: 'cover' }).jpeg().toBuffer(); const fakeYoutube = async (url: string) => url.startsWith('https://i.ytimg.com/') ? new Response(new Uint8Array(thumb), { headers: { 'content-type': 'image/jpeg' } }) : new Response('not here', { status: 404 }); diff --git a/apps/website/e2e/templates.spec.ts b/apps/website/e2e/templates.spec.ts index 2d68fa6..e38461f 100644 --- a/apps/website/e2e/templates.spec.ts +++ b/apps/website/e2e/templates.spec.ts @@ -70,7 +70,9 @@ test("the messages ask nothing of YouTube until play is clicked; their thumbnail page.on("request", (r) => { if (/youtube|ytimg|spotify/.test(new URL(r.url()).hostname)) outside.push(r.url()); }); await page.goto("/messages"); const thumb = page.locator("main img").first(); - await expect(thumb).toHaveAttribute("src", /^\/api\/thumbnails\/[\w-]+\.jpg$/); + // The demo's messages have photos of their own (uploads); a church's show their YouTube video's + // thumbnail, served from /api/thumbnails/ (backend tests). Either way, from the site. + await expect(thumb).toHaveAttribute("src", /^\/api\/(thumbnails\/[\w-]+\.jpg|uploads\/demo\/[\w-]+\.webp)$/); await expect.poll(() => thumb.evaluate((i: HTMLImageElement) => i.naturalWidth)).toBeGreaterThan(0); await page.evaluate(() => window.scrollTo(0, document.body.scrollHeight)); await page.waitForLoadState("networkidle"); diff --git a/apps/website/frontend/package.json b/apps/website/frontend/package.json index 3eb11aa..6fb66ab 100644 --- a/apps/website/frontend/package.json +++ b/apps/website/frontend/package.json @@ -1,6 +1,6 @@ { "name": "@crosscode/website-frontend", - "version": "1.5.0", + "version": "1.6.0", "private": true, "description": "Church Website: the church's public site in its template, and the admin", "scripts": { diff --git a/apps/website/frontend/src/site/sections/Hero.tsx b/apps/website/frontend/src/site/sections/Hero.tsx index 2c49964..c5b9aaa 100644 --- a/apps/website/frontend/src/site/sections/Hero.tsx +++ b/apps/website/frontend/src/site/sections/Hero.tsx @@ -112,9 +112,10 @@ export function Hero({ section, site, template }: SectionProps) {
!x) ? "true" : undefined}>
@@ -125,7 +126,7 @@ export function Hero({ section, site, template }: SectionProps) {
{template === "clean" &&
}
- {three.map((im, i) => )} + {three.map((im, i) => )}
{template !== "clean" &&
}
diff --git a/apps/website/frontend/src/site/sections/index.tsx b/apps/website/frontend/src/site/sections/index.tsx index 9884aad..13b83e0 100644 --- a/apps/website/frontend/src/site/sections/index.tsx +++ b/apps/website/frontend/src/site/sections/index.tsx @@ -187,7 +187,7 @@ function Ministries(p: SectionProps) {
    3 ? "sm:grid-cols-2 lg:grid-cols-4" : "sm:grid-cols-3")}> {list.map((m) => (
  • - + 3 ? "(min-width: 1024px) 25vw, (min-width: 640px) 50vw, 100vw" : "(min-width: 640px) 33vw, 100vw"} ratio="aspect-[4/3]" className="rounded-none" />

    {m.name}

    {m.summary &&

    {m.summary}

    } @@ -210,7 +210,7 @@ function Team(p: SectionProps) { const head = ; const face = (l: (typeof people)[number], big = false) => (
    -
    {l.name} diff --git a/package-lock.json b/package-lock.json index 6820579..656254d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -360,7 +360,7 @@ }, "apps/website/backend": { "name": "@crosscode/website-backend", - "version": "1.5.0", + "version": "1.6.0", "hasInstallScript": true, "dependencies": { "@crosscode/auth-client": "*", @@ -389,7 +389,7 @@ }, "apps/website/frontend": { "name": "@crosscode/website-frontend", - "version": "1.5.0", + "version": "1.6.0", "dependencies": { "@crosscode/contracts": "*", "@crosscode/seo": "*",