Next.js Discord

Discord Forum

How do I create 2 UI components for 1 layout?

Answered
futuredevengineer posted this in #help-forum
Open in Discord
Avatar
Say I want to have 1 and same navigation bar for all routes+ and same footer for all routes, how do i render such thing in layout, having 2 different UI components shared among all routes?
Answered by DirtyCajunRice | AppDir
yep. above and below children
View full answer

3 Replies

Avatar
yep. above and below children
Answer
Avatar
@DirtyCajunRice | AppDir yep. above and below children
Avatar
hmm, and then i need to style it myself with css i guess so that the placement of components is correct?