Next.js Discord

Discord Forum

Dealing with layout.tx when you have a landing page

Unanswered
Plott Hound posted this in #help-forum
Open in Discord
Plott HoundOP
My site tree looks like this:

/ - landing page (Layout A)
/a-page (Layout B)
/another-page (Layout B)
/and-another-page (Layout B)

I'd like to use the same layout file for Layout B but i have to create an inidividual layout for these pages since they would inherit Layout A. is there a way to do this?

I want to implement global toasts

0 Replies