Skip to content

Frontend Routes

Madeline Wilson edited this page Oct 31, 2021 · 12 revisions

Organization for Frontend Components:


  • Root
    • App
      • NavHeader
        • NavLinks
        • CurrentUserBlurb
      • [Main Component]
      • Footer

The following routes will be defined in the App Component, and will render the components as the [Main Component] above.

If not logged in:


*/

  • SplashContent
    • LoginHeader
    • SignupHeader

*/login

  • LoginForm

Note: The main homepage for a logged in user looks almost identical for a logged out user. There is a separate component for the login page, and a modal for the sign up form.


  • /explore

    • SearchBar
    • GenreIndex
      • GenreIndexItem
  • /users/:userId

    • ProfileBanner
    • UserInfo
    • ProfileTabs
      • FollowingIndex
        • FollowingIndexItem
  • /users/:artistId

    • ArtistDetails
  • /users/:artistId/albums

    • AlbumIndex
  • /users/:artistId/albums/:albumId

    • AlbumIndexItem

Clone this wiki locally