Nextjs parallel routing questions

I have this routing setup right,
{
(main) {
about {}
contact {}
(illustrations) {
@admin {page.tsx}
@user {page.tsx}
illustartions {
[id] {
{page.tsx}
}
}
}
}
}
{
(main) {
about {}
contact {}
(illustrations) {
@admin {page.tsx}
@user {page.tsx}
illustartions {
[id] {
{page.tsx}
}
}
}
}
}
Where do I put the layout.tsx for the illustrations group?
Solution:
Yes
Jump to solution
8 Replies
iDarkLightning
iDarkLightning•8mo ago
inside the group?
Mike  (grind edition 💪)
yes But I efel as if since it would be within the group the layout would apply to the (main) group
iDarkLightning
iDarkLightning•8mo ago
that's not a sentence
Mike  (grind edition 💪)
Yeah, it's 12:22 am here, lost my ability to construct a cohesive sentence
iDarkLightning
iDarkLightning•8mo ago
if you put it in (illustrations) it will only apply for that group down
Mike  (grind edition 💪)
Oh, alright! but will it still effect the dynamic route?
Solution
iDarkLightning
iDarkLightning•8mo ago
Yes
Mike  (grind edition 💪)
Ok, thank you!
Want results from more Discord servers?
Add your server