Hello community , I am new to prismic I have been looking for information but I have no idea how I could model this type of navigation, I hope you can help me ?
Hello @marketing10
Welcome to the Prismic community, and thanks for reaching out to us.
Please follow our guidelines for creating 3+ navigation: Creating a 3+ level Navigation Menu
Give this a try, and let me know if you have further questions.
Thanks,
Priyanka
Hello Priyanka
Thank you very much for your reply, I have tested the solution. I understand that it is necessary to create a single type custom type and two slices one of them.
with link and text the next one with link and text plus Repeatable Zone with link and text, but I only reach two levels and it doesn't reach the sublevel of 3.3.1.
Here I leave the code of the custom type and the slices, I remain attentive to your answer, thank you very much.
link code : PlayCode - Javascript Playground
Hello @marketing10
Sorry for being delayed in response; I was out of the office.
So, you need to add it all in one document, for example:
Add slice
**slice 1st Level**
* Nav Link : Second navigation item
* Link Text : The name that will be displayed
Add slice
**slice 2nd Level**
* Nav Link : to document of the second level (corresponding to Second navigation item)
* Link Text : The name that will be displayed
Add slice
**slice 3nd Level**
* Nav Link : to document of the second level (corresponding to Second navigation item)
* Link Text : The name that will be displayed
Let me know if you have any further questions.
Thanks,
Priyanka