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

Implement the category page (dynamic) + header section #26

Open
5 tasks
pawan-live opened this issue Dec 26, 2024 · 1 comment
Open
5 tasks

Implement the category page (dynamic) + header section #26

pawan-live opened this issue Dec 26, 2024 · 1 comment

Comments

@pawan-live
Copy link
Collaborator

pawan-live commented Dec 26, 2024

Task Summary

  • This is the view for an individual main category
  • It contains links to sub categories within that main category
  • This will be a dynamic page template, should use nextjs dynamic route
  • Nest this under the route "categories" (see example below)
  • The available routes/pages will be pre-defined (for now use a JSON file, later we'll use the API to get that data)
  • The header section title and subtitle will be dynamic too (fetch it from the JSON file for now)

ex:
/[example-category] => this will find the relevant data from the JSON relevant to "example-category" route name and the page will show that data


Acceptance Criteria

  • Follow design specification
  • Should be mobile responsive on "md" breakpoint
  • The route should be dynamic, the url slug will decide which page to load
  • Fetch relevant title & description for the header from the JSON file
  • If the slug doesnt match anything given on the pre-defined JSON file, show a text "No category named {slug name}" and show a button to go back to homepage

Design files:


Additional Information

Desktop
image

Mobile
image

@prb-dev
Copy link

prb-dev commented Dec 27, 2024

I can take this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: TODO
Development

No branches or pull requests

2 participants