Page MenuHomePhabricator

[e.cash] Use Strapi CMS for build page products
ClosedPublic

Authored by johnkuney on Oct 14 2025, 03:24.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCe76d91b89ef5: [e.cash] Use Strapi CMS for build page products
Summary

Was requested to migrate the data for the "Built with XEC" product list on the /build page to strapi.
Hopefully this list is ever changing, so will be nice to be able to make edits to it easily through strapi as needed.

So adding some fetch logic similar to the blog to get the new strapi endpoint for products.

Test Plan

preview and check. Should look the same as current but data now coming from strapi

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

johnkuney edited the test plan for this revision. (Show Details)
johnkuney edited the test plan for this revision. (Show Details)

remove fallback data

johnkuney published this revision for review.Oct 14 2025, 03:58
johnkuney edited the summary of this revision. (Show Details)
Fabien requested changes to this revision.Oct 14 2025, 06:44
Fabien added a subscriber: Fabien.
Fabien added inline comments.
web/e.cash/app/build-on-ecash/page.tsx
15 ↗(On Diff #56161)

that's quite large ! up to 12h before the page is updated

15 ↗(On Diff #56161)

Also this is unused ? Is this some magic variable name from next ?

This revision now requires changes to proceed.Oct 14 2025, 06:44
web/e.cash/app/build-on-ecash/page.tsx
15 ↗(On Diff #56161)

Yeah it is...seemed reasonable to me for this data, but I can tighten it up a bit

15 ↗(On Diff #56161)

Yes exactly, next just uses it in the background, dont need to actually use it anywhere

revalidate every 2hrs instead

This revision is now accepted and ready to land.Oct 14 2025, 20:05