It won't affect any teams/[id]/...routes... because it's isolated in (team) folder
There is an issue with current Figma Layouts design:
Teams pages have Dashborad, App profile, Incognito actions, Sign in with World ID nav bar, but on the teams page we will have URL like /teams/[id] and we don't have app id to form URLs for this nav bar. I see two options:
We removing this nav bar and app selector from teams pages (this is how it works rn)
We adding some logic to store current selected app and use it across the app.
Adds simple links to header's LoggedUserNav component to make it possible to navigate to /teams/[id]/... pages.
Currenly it's not fully matching the design. Left it as it is to not block anyone for now.
Closes WID-740
This PR:
Restructures team routing
Adds redirects from
/teams
pageAdds common layout for
teams/[id]
pagesteams/[id]/...routes...
because it's isolated in(team)
folderDashborad, App profile, Incognito actions, Sign in with World ID
nav bar, but on the teams page we will have URL like/teams/[id]
and we don't have app id to form URLs for this nav bar. I see two options:Adds simple links to header's LoggedUserNav component to make it possible to navigate to /teams/[id]/... pages.
https://github.com/worldcoin/developer-portal/assets/89008845/d812c21f-8ff6-48d5-8c6a-5ec5acc765ca