Layouts are used to share content across whole routes.
It means that all HTML elements and components defined in the layouts are visible across the routes and, most important, not "refreshed" when routes changes.
Nested Routes/Layout
It is possible to create children routes and layouts but we won't talk about these topics in this workshop:
For example we can create a new route /shop/deals simply creating a new page.tsx file in shop/deals/page.tsx:
We have also updated page metadata and added a div element that act as a wrapper with some Tailwind classes used to center the content and avoid it takes the 100% of the viewport width