React Next.js and nested slugs

Wow thank you. There’s a lot I can learn from this code!

I’ve now managed to solve my question by using a first level dynamic folder [category] with category.js; and a second level dynamic folder [project] and project.js Then params: { category: content.slug } and params: { category: content.projectCategoryParent.projectcategory, project: content.slug } respectively to query the relevant slugs

1 Like