Next.js Discord

Discord Forum

Whats the best way to manage dynamic header?

Unanswered
South Russian Ovcharka posted this in #help-forum
Open in Discord
Avatar
South Russian OvcharkaOP
so basically, on my SaaS. I want to show dashboard based on which application user has selected. And It will be on header on dashboard. I can even update it.

example.com/apps/1

4 Replies

Avatar
Flemish Giant
If you want, I can give you guide about it
Avatar
American black bear
I recently worked on something similar to this, can you link the guide?
Avatar
South Russian OvcharkaOP
can you link pls
Avatar
Chub mackerel
To show a dashboard based on the selected application, you can keep a state to track which app is selected. Then, display the appropriate dashboard content based on that state. In the header, you can add a dropdown or button to let users change the selected application, and update the state accordingly. The dashboard will then update dynamically.