## Overview There is no `not-found.tsx`, so unknown URLs render Next's unbranded default. ## Tasks - [ ] Add `app/not-found.tsx` styled with the existing design system, linking back to the dashboard or home depending on auth state. - [ ] Add a scoped `not-found.tsx` for `app/(dashboard)/assets/[id]` so a missing asset shows a specific message. - [ ] Call `notFound()` from dynamic routes when a record does not exist, instead of rendering an empty shell. - [ ] Ensure a real 404 status is returned, not a 200 with 404 content. ## Acceptance Criteria - [ ] Unknown URLs render the branded page with a 404 status. - [ ] A non-existent asset ID shows the asset-specific not-found message. ## Notes for Contributors Comment below to be assigned.
Overview
There is no
not-found.tsx, so unknown URLs render Next's unbranded default.Tasks
app/not-found.tsxstyled with the existing design system, linking back to the dashboard or home depending on auth state.not-found.tsxforapp/(dashboard)/assets/[id]so a missing asset shows a specific message.notFound()from dynamic routes when a record does not exist, instead of rendering an empty shell.Acceptance Criteria
Notes for Contributors
Comment below to be assigned.