Skip to content

Commit

Permalink
docs: consistent route for layout groups example (#10710)
Browse files Browse the repository at this point in the history
Updated route name from /blog to /about to match the directory structure depicted below the explanation in (group) section under Advanced Layouts.
  • Loading branch information
SaravananSai07 authored Sep 12, 2023
1 parent c9a99b6 commit def6071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/30-advanced/10-advanced-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ By default, the _layout hierarchy_ mirrors the _route hierarchy_. In some cases,

### (group)

Perhaps you have some routes that are 'app' routes that should have one layout (e.g. `/dashboard` or `/item`), and others that are 'marketing' routes that should have a different layout (`/blog` or `/testimonials`). We can group these routes with a directory whose name is wrapped in parentheses — unlike normal directories, `(app)` and `(marketing)` do not affect the URL pathname of the routes inside them:
Perhaps you have some routes that are 'app' routes that should have one layout (e.g. `/dashboard` or `/item`), and others that are 'marketing' routes that should have a different layout (`/about` or `/testimonials`). We can group these routes with a directory whose name is wrapped in parentheses — unlike normal directories, `(app)` and `(marketing)` do not affect the URL pathname of the routes inside them:

```diff
src/routes/
Expand Down

0 comments on commit def6071

Please sign in to comment.