What’s the best way to store page links in next.js?

Is there any way to optimize the storage of links to different pages so that I don’t have to write the same links on each page?

I am also interested in your practices on this issue. Do you copy links conditionally on every page or do you use some other methods?

I thought about storing them in an .env file, but that doesn’t seem to work with client components. I also created a file with changes where there was an array with all the pages, but this is also a bad option, because through the code you can get links to private pages that are intended only for the administration.