-
Notifications
You must be signed in to change notification settings - Fork 2
Landing / Search page #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Awesome work with the landing page! I was able to run it locally and it looks the same as what you showed. I just wanted to mention before I forget that we don't have the BlueSurf logo on it like we do in the Figma design. Are we planning on adding that in another PR? |
Yeup, this will be in a separate Navigation Bar PR. |
Landing page looks good! I was able to easily run it locally after pulling. I have one question, is the number of post cards static right now? and are we going to change this so the user can keep scrolling or navigate to another page to see more posts? |
That's a good point. It's static for now as Karishma was just mocking the data, but the plan (once the database is setup) would be to display however many post cards met the filter/search criteria. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Landing page looks fantastic! Lgtm
Closes #31
Here it is, the landing/search page in all it's glory - and also using react components! ✨
This PR uses creates many reusable react components that will be used in our app, and have been used on the landing/search page:
FilterField
- this is the component for the filter fields that are located on the left hand side of the search page. It will allow users to filter the posts according to their preferencesPostCard
- this is the component for a single "card"/posting on the search pageSortBy
- this is the sorting dropdown. It will allow users to sort their search resultsNote: the backend is not setup yet, so there is mock data being used for the post cards, filters and sort selections.
Here is a little demo (search bar to come up top hence the large top blank margin):
Screen.Recording.2023-10-29.at.4.12.23.PM.mov
Instructions to test locally:
npm install
npm start
localhost:3000
Unit tests to come in a separate PR, since the size of this PR is already getting large.