diff --git a/.yarnrc.yml b/.yarnrc.yml new file mode 100644 index 0000000..e3bfe55 --- /dev/null +++ b/.yarnrc.yml @@ -0,0 +1,8 @@ +nodeLinker: node-modules +enableGlobalCache: true + +plugins: + - path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs + spec: "@yarnpkg/plugin-workspace-tools" + +yarnPath: .yarn/releases/yarn-1.22.22.cjs \ No newline at end of file diff --git a/apps/www/src/app/error.tsx b/apps/www/src/app/error.tsx new file mode 100644 index 0000000..ef42605 --- /dev/null +++ b/apps/www/src/app/error.tsx @@ -0,0 +1,29 @@ +'use client'; + +import { useEffect } from 'react'; + +export default function Error({ + error, + reset, +}: { + error: Error & { digest?: string }; + reset: () => void; +}) { + useEffect(() => { + console.error(error); + }, [error]); + + return ( +
+ The page you are looking for could not be found. +
+ + Return to Home + +