-
Notifications
You must be signed in to change notification settings - Fork 276
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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) and index.tsx
- (landing or home page) currently and the entire landing page is imported from the pages\templates\ebraj\index.tsx
.
To Reproduce
- Go to landing page - http://localhost:3000
- Click on about on navbar.
- See the route.
- Go to the file
pages\index.tsx
check the code. - Also check the files
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
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
Additional context
I am already working on this issue so please assign this issue to me 😊.
Please checkmark the following checklist
- I make sure that similar issue is not opened
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working