CMS: Activity post components
The backend supports endpoints for handling ActivityPost
-s (aka news items)
- GET /api/v1/cms/last-news endpoint exposes the list of recent posts
- GET /api/v1/cms/activity-post/{id}: gets post by id
Components
Add components to display posts: ActivityPostCard
and ActivityPostDisplay
(?).
Uses
Implement on entry page by listing the last news with ActivityPostCard
. It should use ActivityPostCard
similar to current implementation at https://www.genesys-pgr.org/welcome:
A click on the title should open URL /content/news/70/genesys-uploader-1-3 (where 70
is the id, followed by the /${slug}
). The details page should follow the design of current article display page. Original example https://www.genesys-pgr.org/content/news/70/genesys-uploader-1-3