Skip to content

41 cms migrate integrate cms graphql api to durianpy website home page - #103

Open
jlorion wants to merge 14 commits into
stagingfrom
41-cms-migrate-integrate-cms-graphql-api-to-durianpy-website-home-page
Open

jlorion wants to merge 14 commits into
stagingfrom
41-cms-migrate-integrate-cms-graphql-api-to-durianpy-website-home-page

Conversation

@jlorion

@jlorion jlorion commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

Integrates Payload CMS content across the website while retaining fallback content when CMS data is unavailable.

  • Add shared GraphQL client, queries, types, cache helpers, CMS mappers, and fallback data.
  • Make homepage hero, carousel, CTAs, event content, Python Foundation status, partners, and sponsors CMS-driven.
  • Add Lexical rich-text support for Code of Conduct content.
  • Add CMS-backed SIG pages and SVG-compatible image rendering.
  • Add /api/cms-image proxy for local and remote CMS media.
  • Update image configuration, environment examples, and CMS schema compatibility handling.
  • Remove obsolete Code of Conduct tag overrides.

Testing

  • npm run lint
  • npm run build
  • Verify homepage content with CMS configured
  • Verify homepage and SIG fallbacks without CMS
  • Verify CMS images, including SVG partner/sponsor logos
  • Verify Code of Conduct rich-text rendering

Comment thread app/api/cms-image/route.ts Dismissed
jpornillos and others added 9 commits September 2, 2026 22:35
Integrate the homepage carousel, CTA cards, organization status,
partners, sponsors, and media assets with the updated Payload CMS
GraphQL schema.

- Add a CMS image proxy route for local and remote media URLs
- Update GraphQL queries and types for the new CMS fields
- Support mobile partner and sponsor logos through logoMobile
- Add CMS-driven carousel, CTA, and PSF partner status data
- Preserve homepage fallbacks when CMS content is unavailable
- Simplify GraphQL caching with force-cache
- Remove the obsolete Payload webhook revalidation route
- Update CMS environment variable configuration
- Refactor homepage components to consume CMS-provided data
- Migrate code of conduct content to Lexical editor format
- Add LexicalEditorState types and node definitions
- Implement homepage hero configuration (title, subtitle, images)
- Update GraphQL types, queries, and fallback data structures
- Refactor components to use new CMS data structures
- Add utility functions for data transformation
- added fallback data for sigs
- unoptimized the image to support svgs
- cms integration
…forgery'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@jlorion
jlorion force-pushed the 41-cms-migrate-integrate-cms-graphql-api-to-durianpy-website-home-page branch from 0b80af9 to af1a84e Compare September 2, 2026 14:38

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CMS-MIGRATE] Integrate CMS GraphQL API to DurianPy Website Home Page

4 participants