11 Commits
Author SHA1 Message Date
Jules 4a32420ddf fix(web): build through turbo instead of rebuilding shared deps
* fix(web): build through turbo instead of rebuilding shared deps

The app build re-ran the logos-ui build, whose `tsup --clean` wiped
packages/ui/dist while logos-crm compiled against it in parallel. The deploy
now runs the same turbo build as CI, so only the ui task writes that dist.
`out/**` joins the build outputs since turbo owns the export now.

* docs(web): build the app through turbo

* fix(web): build on Vercel through turbo

Vercel ran the app build directly, which no longer builds
@acid-info/logos-ui and failed to resolve it. vercel.json pins the deploy to
the same turbo command Jenkins runs.
2026-08-25 00:19:01 +09:00
Jinho Jang 96be50d8d0 refactor: make @repo/content the single source for home, get-started & movement page copy (#62)
* docs: add page-copy single-source spec and implementation plan

* feat(content): add typed home section schemas and migrate home copy into content

Add 7 bespoke home* section schemas (+ techStack ctas) to the page section
union and populate content/pages/en/home.json with home copy moved verbatim
from messages.

* refactor(web): source home page copy from @repo/content; drop home namespace from messages

Feed every home section from content via findSection/data props (replacing
next-intl getTranslations), remove the home namespace from messages/en.json,
and add a regression guard plus content-based tests. Render output unchanged.

* docs: add get-started/movement page-copy dedup spec and plan

* feat(content): add get-started & movement section schemas and content docs

Move get-started/movement page copy verbatim into content/pages so it is
single-sourced in @repo/content.

* refactor(web): source get-started/movement copy from content; drop those namespaces from messages

Feed both pages from content via findSection/data props (replacing next-intl),
switch them to content-based metadata, delete pages.getStarted/movement from
messages, and add content-based tests + ownership guard. Render unchanged.

* docs: add navbar-pages CMS copy spec and plan

* feat(content): add navbar page section schemas + Pages docs (book, brand-kit, research, node-programme, lambda-prize, manifesto, media, podcast, broadcast, tech-stack explorer)

* refactor(web): source navbar pages copy from content; drop those namespaces from messages

Migrate book, brand-kit, research (incl. rich-text via a tagged-text renderer),
node-programme, lambda-prize, manifesto, media, podcast, logos-broadcast-network,
and the tech-stack explorer to read copy from content via findSection/data props
and content-based metadata; remove the migrated pages.* namespaces from messages;
update guards + contracts. Render output unchanged.

* feat(web): source activist/coalition pages copy from content (CMS title/description)

Migrate activistBuilder, activistLeaderSteward, and coalitionPartner page
metadata from next-intl messages.pages.* into @repo/content PageCopy JSON,
following the established bookCopy pattern.

- Add activistBuilderCopySectionSchema, activistLeaderStewardCopySectionSchema,
  coalitionPartnerCopySectionSchema to packages/content/src/schemas/pages.ts
  and wire them into the pageSectionSchema discriminated union
- Create content/pages/en/activist-builder.json,
  activist-leader-steward.json, coalition-partner.json with verbatim
  title/description/heading values from the old messages namespace
- Switch all three route pages from createTranslatedPageMetadata to
  createPageMetadata(ROUTE), removing the NAMESPACE constant
- Remove activistBuilder, activistLeaderSteward, coalitionPartner from
  apps/web/messages/en.json pages object
- Add schema parse tests, renderToStaticMarkup page tests, messages ownership
  guards, and content-route contract entries for all three pages

* chore(web): remove dead faq (pages.faq + unused FaqSection components)

* fix: remove stale faq links

* fix: pass payload env through turbo build

* fix: preserve lambda prize support labels

* fix: preserve live copy after master rebase

* fix: address page copy review feedback

* refactor: move design guide copy to content

* feat: add schemas for home and page copy sections

- Introduced home section schemas including homeSocialProof, homeChoosePath, homeDecide, homeStartBuilding, homeAbout, homeUseCases, and homeBuilderPortal.
- Added page copy section schemas such as getStartedCopy, movementCopy, bookCopy, designGuideCopy, activistBuilderCopy, activistLeaderStewardCopy, coalitionPartnerCopy, researchCopy, nodeProgrammeCopy, lambdaPrizeCopy, mediaCopy, podcastCopy, broadcastCopy, and manifestoCopy.
- Created shared schema for section keys to maintain consistency across sections.

* chore(web): remove dead pages.faq from messages

* fix: resolve page copy migration conflicts

* fix: source connect form page copy from content

* fix: remove duplicated afform page copy exports

* fix: stop generating afform page copy exports

* fix(cms): require only server actions key

* fix(cms): load env files before build validation

* fix(cms): make env loader available during build

* fix(cms): load next env via require

* test(cms): isolate missing env validation

* feat: add homepage testnet highlight

* fix: restore lambda prize support links
2026-07-06 19:09:02 +09:00
marko ded5644ddd ci: add missing build args for cms build
Referenced issue:
* https://github.com/status-im/infra-sites/issues/135

Signed-off-by: markoburcul <marko@status.im>
2026-07-02 16:50:07 +02:00
marko 3b29cd5c3a ci: add docker image build of cms
Referenced issue:
* https://github.com/status-im/infra-sites/issues/135

Signed-off-by: markoburcul <marko@status.im>
2026-07-01 10:34:38 +02:00
JulesFILIOT 96e13f4b34 ci: use develop civi-crm url for dev.logos.co build
Make NEXT_PUBLIC_CIVI_CRM_URL branch-dependent via a civiCrmUrl() helper:
develop points at the git-develop preview, production keeps the prod URL.
2026-06-26 17:13:40 +02:00
Marko Burčul ad92bdf9f2 ci: change civi crm url
Referenced issue:
* https://github.com/status-im/infra-sites/issues/143

Signed-off-by: markoburcul <marko@status.im>
2026-06-24 23:44:22 +09:00
marko 5b494b2630 ci: add the api mode env var
Signed-off-by: markoburcul <marko@status.im>
2026-06-22 22:53:21 +02:00
JulesFILIOT 35f16a540d fix(ci/web): wrong NEXT_PUBLIC_HCAPTCHA_SITEKEY value 2026-06-03 22:36:23 +09:00
marko 6b985c0033 fix(ci): add next hcaptcha env var
Referenced issue:
* https://github.com/status-im/infra-sites/issues/135

Signed-off-by: markoburcul <marko@status.im>
2026-06-03 14:52:43 +02:00
marko ade56babf3 fix(ci): add next env vars fir site and civi crm urls
Referenced issue:
* https://github.com/status-im/infra-sites/issues/135

Signed-off-by: markoburcul <marko@status.im>
2026-06-03 09:18:35 +02:00
marko 0fa6dd07f6 feat(ci): create it and add flake
- flake for development and CI purpose

Referenced issue:
* https://github.com/status-im/infra-sites/issues/135

Signed-off-by: markoburcul <marko@status.im>
2026-06-02 09:13:55 +02:00