File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- // app/project /[projectId]/page.jsx
1+ // app/projects /[projectId]/page.jsx
22// Server Component — runs at build time for static export.
33// Reads the media folder here (Node fs) and passes results as props
44// to the client component, which can't use fs.
Original file line number Diff line number Diff line change @@ -859,14 +859,20 @@ export default function ProjectDetails({
859859 { /* ── Project nav ── */ }
860860 < div className = "pd-nav" >
861861 { findPrev ( project ) ? (
862- < Link href = { `/project/${ findPrev ( project ) } ` } className = "pd-nav-btn" >
862+ < Link
863+ href = { `/projects/${ findPrev ( project ) } ` }
864+ className = "pd-nav-btn"
865+ >
863866 < FaArrowLeft /> Previous
864867 </ Link >
865868 ) : (
866869 < span />
867870 ) }
868871 { findNext ( project ) && (
869- < Link href = { `/project/${ findNext ( project ) } ` } className = "pd-nav-btn" >
872+ < Link
873+ href = { `/projects/${ findNext ( project ) } ` }
874+ className = "pd-nav-btn"
875+ >
870876 Next < FaArrowRight />
871877 </ Link >
872878 ) }
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ export default function Projects() {
201201 < h3 > { project . title } </ h3 >
202202 < div className = "overlay-buttons" >
203203 < Link
204- href = { `/project /${ project . id } ` }
204+ href = { `/projects /${ project . id } ` }
205205 className = "btn-view"
206206 >
207207 View Details
You can’t perform that action at this time.
0 commit comments