Examples: updated the example of dynamic-routing to utilize the App Router (#67684)
This PR updates the dynamic-routing example to use the App Router. Here
are the changes that have been made:
- Renamed the "pages" folder to "app" folder.
- Updated the routing for `/`, `/about`, `/post/[id]`, and
`/post/[id]/[comment]` files to align with the App Router.
- Added the layout.tsx file as part of the App Router.
- updated package.json to use the latest version.
cc @samcx
Co-authored-by: Sam-Phillemon <sam.philemon@qed42.com>