diff --git a/package.json b/package.json index ac0dc10..7ec872a 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "scripts": { - "dev": "next dev --turbo", + "dev": "next dev", "build": "next build", "start": "next start", "lint": "next lint", diff --git a/src/app/(routes)/(website)/[...notFound]/page.tsx b/src/app/(routes)/(website)/[...notFound]/page.tsx new file mode 100644 index 0000000..70167cb --- /dev/null +++ b/src/app/(routes)/(website)/[...notFound]/page.tsx @@ -0,0 +1,32 @@ +import Image from "next/image"; +import Link from "next/link"; + +interface PropsType { + params: { + notFound: string[]; + }; +} + +export default function NotFound({ params }: PropsType) { + const imageUrl = `/images/404/${Math.floor(Math.random() * 5) + 1}.jpg`; + + return ( +
+ Could not find{" "} + + /blog/{params.notFound.join("/")} + {" "} + ! +
+ + Return Home + +Could not find requested resource
- - Return Home - -+ Could not find{" "} + + /blog/{params.notFound.join("/")} + {" "} + ! +
+ + Return Home + +