worldcoin / developer-portal

The Worldcoin Developer Portal provides tools to interact with the Worldcoin SDK. Easiest way to get started with World ID.
https://developer.worldcoin.org
MIT License
60 stars 33 forks source link

Igorosipov wid 740 team create common teaminfo component #539

Closed igorosip0v closed 5 months ago

igorosip0v commented 5 months ago

Closes WID-740

This PR:

  1. Restructures team routing

    • I've realized that it was incorrect.
  2. Adds redirects from /teams page

  3. Adds common layout for teams/[id] pages

    • 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:
        1. We removing this nav bar and app selector from teams pages (this is how it works rn)
        2. We adding some logic to store current selected app and use it across the app.
  4. 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.

https://github.com/worldcoin/developer-portal/assets/89008845/d812c21f-8ff6-48d5-8c6a-5ec5acc765ca

andy-t-wang commented 5 months ago

top bar sizing in the video looks off its not aligned with the routes