The purpose of this kata is to understand how Qwik City routing works and how to define your own routes within the application. The kata assumes you have already completed kata 4.
The idea here is to understand the following:
- Creating new routes
- Leveraging nested layouts
- Adding breadcrumbs
- Authoring with mdx
Complete the following:
- Create a new route to show all collections at once (i.e.,
/inventories
) - Extract a
useLoadInventory
helper from the new route - Allow accessing individual collections using a specific url (i.e.,
/inventories/home
) - Optional - Show the available pages as breadcrumbs at the site footer
- Optional - Set up a
/blog
and author a page using mdx about your collection management system - Optional - Include a sample inventory to the mdx content of the page you just added to demonstrate the system