AlexsLemonade / refinebio-web

Refinebio Web
https://staging.web.refine.bio
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Add global shared UI Header component to the root layout file #349

Open nozomione opened 2 months ago

nozomione commented 2 months ago

Context

Resource: Next.js: Migrate routing hooks

Currently, the following UI components are shared globally and rendered in the Layout component for the page router:

In this issue, we want to render Header in the root layout of the app router. We'll also need to migrate the routing hook useRouter.

Problem or idea

As stated above, refactor the Header component and render it in the root layout of the app router.

Solution or next step