Hello there,
In the app I’m building, two types of users will use it : admin and regular.
The nav bar will contains different elements between the two profiles.
Using the conditional rendering could surely work but I would have to create all the different tabs from the two profiles gathered, and then create my rendering rules, but I don’t think I will have the room in the nav bar.
Is it ok to duplicate the page (something like “Dashboard - Admin” and “Dashboard - Regular”) or I should really use the conditional rendering ?
Thank you !
Here is the solution i’ve found if someone’s wondering the same : I just duplicated the same section in the same page, and added a conditionnal rendering so that each section matches a user profile type