TenantVoice / TenantVoice

TenantVoice looks to empower tenants to enforce accountability, fostering a collaborative environment that promotes sustained housing quality improvements
0 stars 0 forks source link

Develop tab functionality in Home.jsx #60

Open roenc576 opened 3 months ago

roenc576 commented 3 months ago

Context


According to the wireframe for our homepage, we need to add buttons to tab between two feeds: housing-complex-specific feed and NYCHA-wide feed.

In the directory /frontend/src/pages, there is a file Home.jsx. In that file, define a filter using .filter on the posts state. When a user clicks the button to view housing-complex-specific feed, posts state needs to be filtered by complex that a user inputted when they sign-up

Requirements

Image