Open nozomione opened 4 months ago
Currently, the following UI components are shared globally and rendered in the Layout component for the page router:
Layout
page
Band
ParticlesBg
BackToTopButton
Header
GlobalNav
GithubAnchor
LogoAnchor
NavDropDown
NavIcon
NavLink
Footer
Notification
PageTitle
In this issue, we want to render BackToTopButton in the root layout of the app router.
app
As stated above, refactor the BackToTopButton component and render it in the root layout of the app router.
Context
Currently, the following UI components are shared globally and rendered in the
Layout
component for thepage
router:Band
ParticlesBg
BackToTopButton
Header
GlobalNav
GithubAnchor
LogoAnchor
NavDropDown
NavIcon
NavLink
Footer
Notification
PageTitle
In this issue, we want to render
BackToTopButton
in the root layout of theapp
router.Problem or idea
As stated above, refactor the
BackToTopButton
component and render it in the root layout of theapp
router.Solution or next step
BackToTopButton
app
folder