jslovers / jslovers-official-website

JSLovers Official Website built on Next.js
MIT License
53 stars 47 forks source link

Code: Create and reuse one layout for every page #63

Closed Neha closed 2 weeks ago

Neha commented 3 weeks ago

Describe the bug Currently, we have layout for every page. Though, every layout has the same content, and components. We should have only 1 layout for every page. Current solution is not at all scalable and maintainable

To Reproduce Steps to reproduce the behavior:

  1. Go to code
  2. Click on app folder
  3. Scroll down to any folder
  4. Check the layout.tsx

Expected behavior Only 1 reusable layout for all pages

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.