Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routing Fixes #10

Open
karkir0003 opened this issue Dec 25, 2023 · 0 comments
Open

Routing Fixes #10

karkir0003 opened this issue Dec 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@karkir0003
Copy link
Owner

Right now, the About.js, Intro.js, Contact.js, Work.js articles are now in separate components under components/articles directory. However, when the user clicks on "About", "Intro", "Contact", the browser route is still the / route.

We should have a way to have the route in the URL change based on what article is clicked:

  • If I click on About in the homepage, I should see /about route added and that maps to the About.js article content
  • If I click on Intro in the homepage, I should see /intro route added and that maps to the Intro.js article content
  • If I click on Contact in the homepage, I should see /contact route added and that maps to the Contact.js article content
  • If I click on Work in the homepahe, I should see /work route added and that maps to the Work.js article content

For each of the above, there should also be the behavior of routing user to / (homepage route) if the "X" button is pressed on any of the 4 articles

@karkir0003 karkir0003 added the enhancement New feature or request label Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant