and then in App.js file dine “routes” and its corresponding component for them, for reference check out this section from react router docs Main Concepts v6.11.1 | React Router
and then you can use these {/* <Link to='/landscape'><button className={styles.projectButtons}>View / Buy</button></Link> */}
for more reference checkout “react router docs” more thoroughly
I would suggest you read the docs thoroughly and do the tutorial example they have. There are also plenty of articles and tutorials on the web just make sure it is for version 6 and not 5. If that is the version you are using, you do not have it in your dependencies which you should.
I think I have it in my dependencies… react-router-dom “6.11.1”. I just installed react router the other day so it should be the most updated. I also used npm install react-router-dom@latest to make sure. nothing changed.