Linking to a document that is a single type page is not working

I followed this tutorial on how to create a navigation menu for prismic + nextjs, it is working alright until I try to link to a document that is a single type page, linking to a dynamic page works fine but linking to a single type page doesn't work, the href for it shows up empty:
image

The slice seems to be finding the document just fine so that can't be the problem?

It might be that my folder structure is not correct but I think I am doing it correctly, creating a "vidburdir" dir under the app dir and a file called page.tsx under that.

Ahh found the problem, just learned about the routes section in prismicio.ts :slight_smile:

This worked:

const routes: prismic.ClientConfig["routes"] = [
  {
    type: "page",
    path: "/:uid",
  },
  {
    type: "page",
    uid: "home",
    path: "/",
  },
  {
    type: "vidburdir",
    path: "/vidburdir",
  },
];