You have StudentHome component
Implement Popular categories block so users can see title, a description, a list of 8 (less if there is not enough) popular categories and a Go to categories button. If user clicks on the button, they should be redirected to Categories page
Should to use useTranslation for texts and useNavigate to navigate path categories of authRoutes for button and cards
Can use our custom useAxios for fetch data. Should to use categoryService and use react hooks for memoization
Create component for current card and use service_icon fro card
As additional you can handle loading for requests
Design
Acceptance Criteria
[ ] When user clicks on category card, they should be redirected to "subjects" page with list of all subjects related to that category
[ ] "View more" button should redirect to "Categories" page
UserStory: #54 Blocked by #183
Description
You have
StudentHome
component ImplementPopular categories
block so users can see title, a description, a list of 8 (less if there is not enough) popular categories and aGo to categories
button. If user clicks on the button, they should be redirected toCategories
pageShould to use
useTranslation
for texts anduseNavigate
to navigatepath categories of authRoutes
for button and cardsCan use our custom
useAxios
for fetch data. Should to usecategoryService
and use react hooks for memoization Create component for current card and useservice_icon
fro cardAs additional you can handle
loading
for requestsDesign
Acceptance Criteria