The task is to generate a unique page for each and every book present in our list.
The page should show the name of the book, year of publishing, description etc. Basically, all the details present in the book card would be shown in thhe page. The user can access the page by clicking on "Show more" in the book card.
The URL of the page can be in this format
/book/name-of-the-book-by-author-name
You don't have to create each and every page manually. You can programmatically generate pages in Gatsby
https://www.gatsbyjs.com/docs/creating-and-modifying-pages/
The data for the pages lives in app/src/data/books.json
We are already using Gatsby Pages in the website. Take a look at how category pages are generated to see how its done.
https://books.vishnuks.com/Philosophy-And-Psychology
The task is to generate a unique page for each and every book present in our list.
The page should show the name of the book, year of publishing, description etc. Basically, all the details present in the book card would be shown in thhe page. The user can access the page by clicking on "Show more" in the book card.
The URL of the page can be in this format
/book/name-of-the-book-by-author-nameYou don't have to create each and every page manually. You can programmatically generate pages in Gatsby
https://www.gatsbyjs.com/docs/creating-and-modifying-pages/
The data for the pages lives in
app/src/data/books.jsonWe are already using Gatsby Pages in the website. Take a look at how category pages are generated to see how its done.
https://books.vishnuks.com/Philosophy-And-Psychology