You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Right now, the
About.js
,Intro.js
,Contact.js
,Work.js
articles are now in separate components undercomponents/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:
About
in the homepage, I should see/about
route added and that maps to theAbout.js
article contentIntro
in the homepage, I should see/intro
route added and that maps to theIntro.js
article contentContact
in the homepage, I should see/contact
route added and that maps to theContact.js
article contentWork
in the homepahe, I should see/work
route added and that maps to theWork.js
article contentFor 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 articlesThe text was updated successfully, but these errors were encountered: