Skip to content

Idris frontend update - #9

Open
Idris01 wants to merge 8 commits into
dev_frontendfrom
idris_frontend_update
Open

Idris frontend update#9
Idris01 wants to merge 8 commits into
dev_frontendfrom
idris_frontend_update

Conversation

@Idris01

@Idris01 Idris01 commented Feb 22, 2024

Copy link
Copy Markdown
Collaborator

Hello kindly check my recent updates as follows

  • In order to make the deployment, I had to ignore the components/organization folder and it dependences because the dashboard components are not yet completely developed
  • the urls.tsx filehas been updated to serve as a single source of our routes
const home = '/'
const login = '/login';
const signup = '/signup';
const contact = '/contact'
const about = '/about'
const story = '/story'

export { login, signup, home, contact, about, story}

I hope this format will help in case there is any change in the routing so we just have to change it in one place

  • I have also removed the base layout.tsx file as this is no more needed and the file structure so we have the nav pages as child to the (root) group route which contains the page.tsx.
(root)
    about/
        page.tsx
    contact/
        page.tsx
    story/
        page.tsx
    page.tsx   // default to home page
    layout.tsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant