Skip to content

Legislator Profile - Base Layout #2117

@Mephistic

Description

@Mephistic

Summary

Now that we have a design for the Legislator Profile feature, we're ready to start building out the frontend. To start, let's build out the base layout for the Legislator Profile page. Once this is in place, we'll be able to split out implementation of the tab and sidebar content across multiple developers.

Success Criteria

  • Add the base layout for the Legislator Profile feature in the attached design
    • This should likely live at mapletestimony.org/legislators/<LEGISLATOR_ID> for now
    • This issue covers the header, tab layout, and sidebar layout - but not the tab or sidebar content
    • We should be able to start this with a base of the generalCourts/XXX/members data - (but it may be possible (though unconfirmed) for legislators to have different member ids across different sessions?)
    • Legislators should all have a default profile page based on the member data - but if Legislators make LEGISLATOR accounts, we should link the profile of that account to the Legislator Profile to supplement the Legislator Profile with some extra user proviced data.
    • LEGISLATOR will also be a new type of user profile (along side USER/ORGANIZATION) - any user-submitted info for legislators (e.g. Biography / priorities / campaign website) will likely be added via the Edit Profile tab (though not necessarily as part of this issue)

Related Links

Design: https://maple-leg-profiles.netlify.app/

Metadata

Metadata

Assignees

Labels

Ready for DevelopmentAutomatically assigned to issues that are ready to be picked upfrontendFrontend development

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions