next-learn icon indicating copy to clipboard operation
next-learn copied to clipboard

[Next.js Learning Website] Missing nav-links.tsx File in Chapter 5: Navigating Between Pages

Open PhattOZ opened this issue 1 year ago • 2 comments

What is the improvement or update you wish to see?

Instructions could be updated to reflect the correct file structure or provide a full snippet of nav-links.tsx

Is there any context that might help us understand?

In the section titled "The <Link> Component," the instructions ask me to open the /app/ui/dashboard/nav-links.tsx file and import the Link component from next/link. However, as a learner, I've just created the dashboard directory in a previous chapter, and there's no nav-links.tsx file present.

Does the docs page already exist? Please link to it.

https://nextjs.org/learn/dashboard-app/navigating-between-pages

PhattOZ avatar Feb 26 '24 15:02 PhattOZ

So did I. I copied the code of showcase, but no whole code found, the variable named "links" wasn't found. image

puke3615 avatar Mar 05 '24 01:03 puke3615

Oh... I seems like find it... It's here... (Another dir named dashboard too, but in /app/ui, not in /app root dir) image

puke3615 avatar Mar 05 '24 03:03 puke3615