Closed mSenad closed 3 months ago
https://github.com/Sephirosu/figma-next-tailwind/blob/5c2265816c9ba4c67ab547a2f2959df413e0d4d8/src/app/page.tsx#L10
The navbar component is the component that should be reused throughout all pages, the same as the footer, that's why it belongs inside the layout.tsx page.
Reference: https://nextjs.org/docs/pages/building-your-application/routing/pages-and-layouts
fixed.Navbar and Footer inside Layout
https://github.com/Sephirosu/figma-next-tailwind/blob/5c2265816c9ba4c67ab547a2f2959df413e0d4d8/src/app/page.tsx#L10
The navbar component is the component that should be reused throughout all pages, the same as the footer, that's why it belongs inside the layout.tsx page.
Reference: https://nextjs.org/docs/pages/building-your-application/routing/pages-and-layouts