Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

MainLayout Component #4

Closed
ryszard-put opened this issue Dec 28, 2019 · 0 comments
Closed

MainLayout Component #4

ryszard-put opened this issue Dec 28, 2019 · 0 comments

Comments

@ryszard-put
Copy link
Collaborator

In Next.js it is recommended that there is Layout component which would be used for almost every page.
There is article about using _app.js custom component: https://reacttricks.com/nested-dynamic-layouts-in-next-apps.
It is also good opportunity to write global css rules.
As you explore our design, you will see that some components are repetitive, i.e. Navbar, Footer. We should put them into Layout Component.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant