Routing but pages not showing up

Hi so I am very new to front-end development and I have a question about my website. Basically, I am using a Next.js framework and so when I go on the Plasmic Studio and click the run button to see the website work and all the buttons, whenever I make a route in Plasmic using its button and link options there it correctly switches pages when I want it to. However, when I do it in the code itself, it just goes to an empty page. I don’t really know what to do. I will attach some screen shots if that is helpful.

Screenshot 2024-06-05 at 10.55.45 AM