Also there are components that are shared by about.tsx - (about page) and index.tsx - (landing or home page) currently and the entire landing page is imported from the pages\templates\ebraj\index.tsx.
Also check the files index.tsx and about.tsx from folder pages\templates\ebraj
Expected behavior
The route for the home page and about page are expected to be like this
about page : http://localhost:3000/about
We can refactor code and make a folder layout in components folder and move all the shared components of about.tsx and index.tsx there . Also move the entire code of landing page from pages\templates\ebraj\index.tsx to pages\index.tsx
Screenshots/Videos
Current route
Expected route
Additional context
I am already working on this issue so please assign this issue to me š.
Thank you for raising an issue. Soon, the owner/maintainers will review it and offer feedback/suggestions.
Meanwhile if you enjoy contributing to the project, please consider giving it a star ā.
Describe the bug
The route for the home page and about page are currently like this about page : http://localhost:3000/templates/ebraj/about
Also there are components that are shared by
about.tsx
- (about page) andindex.tsx
- (landing or home page) currently and the entire landing page is imported from thepages\templates\ebraj\index.tsx
.To Reproduce
pages\index.tsx
check the code.index.tsx
andabout.tsx
from folderpages\templates\ebraj
Expected behavior
The route for the home page and about page are expected to be like this about page : http://localhost:3000/about We can refactor code and make a folder
layout
incomponents
folder and move all the shared components ofabout.tsx
andindex.tsx
there . Also move the entire code of landing page frompages\templates\ebraj\index.tsx
topages\index.tsx
Screenshots/Videos
Current route
Expected route
Additional context
I am already working on this issue so please assign this issue to me š.
Please checkmark the following checklist