pagex: support pagination in content

voidcannon: pagination in editorial content
content: updates
This commit is contained in:
bignutty
2025-10-23 22:56:30 +02:00
parent f53ebe11de
commit f9139c1087
5 changed files with 50 additions and 4 deletions

View File

@@ -10,6 +10,7 @@ import ContentByIdentifierTransformer from "voidcannon/src/transformers/ContentB
import playground from "../../articles/playground/playground.pagex.js";
import playgroundP3 from "../../articles/playground-p3/playground-p3.pagex.js";
import playgroundTotk from "../../articles/playground-totk/playground-totk.pagex.js";
import recentArticlesPagex from "../recent-articles/recent-articles.pagex.js";
export default {
type: VoidcannonContentType.EDITORIAL,
@@ -64,7 +65,14 @@ export default {
amount: 15
},
label: "Recent Articles",
icon: "history"
icon: "history",
cta: {
label: "View All",
target: {
type: VoidcannonContentType.EDITORIAL,
id: recentArticlesPagex.id
},
}
},
{
type: VoidcannonSectionType.CAROUSEL,