Hey,
I am using builder.io with my next.js project to create a dynamic landing page that supports an unlimited number of paths based on a CMS data model.
-
In my next.js app, I have created folder-based routing for the following path - landingPage/[stateName]/[cityName].
-
My builder page targets all paths that start with ‘/landingPage’.
-
In the custom JS on my builder page, we fetch the correct content based on the stateName and cityName, which is saved as a CMS data model.
Is it possible to create different page variations by targeting a specific list of states/cities for each variation?