Project-Based-10-24-vk / Client

0 stars 0 forks source link

Main block (Subjects) #35

Open vlad-khrychov opened 1 week ago

vlad-khrychov commented 1 week ago

As a tutor/student I want to see the main block on the subjects page so that I can see the list of all subjects with search functionality. Acceptance criteria:

  1. When a user opens subjects page, then he/she can see the main block. Mockup: Image
  2. This block contains:
    • the title "Subjects" with description below
    • "Back to all categories" button
    • "Show all offers" button
    • search input with category menu and "Search" button
    • text with suggestion to send request to create a new subject/category
    • list of all subjects
    • "View more" button
  3. When a user clicks on the "Show all offers", he/she should be redirected to "find offers" page
  4. When a user clicks on the "Back to all categories", he/she should be redirected to "categories" page
  5. When a user selects category from category menu, all subjects that are related to that category should be displayed
  6. When a user clicks on the "Search" button or press enter, search should be performed
  7. When user clicks on subject card, she/he should be redirected to "find offers" page with list of all offers related to that subject
  8. "View more" button should render more cards
  9. "View more" button should disapear if there are no more cards to display
  10. "Sorry, no results found" block should display if there are no categories matching the search

Image