Skip to content
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

Filter Button With Pop-Up Box #23

Open
6 tasks
dilanurbayraktar opened this issue Oct 30, 2024 · 0 comments
Open
6 tasks

Filter Button With Pop-Up Box #23

dilanurbayraktar opened this issue Oct 30, 2024 · 0 comments
Assignees

Comments

@dilanurbayraktar
Copy link
Collaborator

dilanurbayraktar commented Oct 30, 2024

So many tutees, gotta filter them!

Summary 💻

You will create a new component file (filter_button.tsx), which will displays a "Filter" button and a pop-up box when clicked, as shown on Figma. Your page should have a "Filters" button as shown by the Figma and when it is clicked, it should pop up a 'modal' where the user can choose to select different filters. The "apply" button should be non-functional, but the "reset" button should reset the fields that the user selected.

Deliverables 🚀

  • Schedule at least two meetings as a pair
  • Create a new branch using the "create a branch" button
  • Create your page in /src/components/
  • Style the page to match the footer in the wireframe (see below).
  • Include a route to your page in App.jsx
  • Open a PR and request review from @brandondionisio.

Wireframe 🎨

Here's the wireframe.

Reference:
Image
Image

Tip for success 📈

  • Use the SVG files in src/assets/images/filter. Here's a breakdown of each:
  1. filter.svg: The icon in the "Filters" button.
  2. close_button.svg: The icon for the "close" button on the pop-up box.
  • The fields in the pop-up box:
  1. Grade Level, which is a drop down, with options for all grades from 1st to 12th. (Use the src/assets/images/dropdown.svg for the icon in the drop down button). You should be able to select multiple grade tags!
  2. Subjects, which is a multi-select, with the options listed on the wireframe.
  3. Tutoring mode, with two options: Virtual Only and In-Person Only. Only one can be selected.
  4. Disability, with two options: Yes and No. Only one can be selected.
  • The buttons in the pop-up box:
  1. Reset: Deselects all selected fields.
  2. Apply: Doesn't have to do anything.
  • To apply "inter" font styling, use the tailwind class "font-interBlack" and then use any supplementary font weight styling for thinness or boldness. Use "italic" for italicized text.
  • Try to avoid using inline css styling for divs when you don't need to! You can use tailwind for most styling and it makes the code more consistent.

Where to get help!

Reach out to @dilanurbayraktar and @brandondionisio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants