diff --git a/src/app/error.tsx b/src/app/error.tsx new file mode 100644 index 0000000..e66125e --- /dev/null +++ b/src/app/error.tsx @@ -0,0 +1,22 @@ +"use client"; + +export default function Error({ + error, + reset, +}: { + error: Error; + reset: () => void; +}) { + return ( +
+

Something went wrong

+ + +
+ ); +} \ No newline at end of file diff --git a/src/app/loading.tsx b/src/app/loading.tsx new file mode 100644 index 0000000..acd5dbb --- /dev/null +++ b/src/app/loading.tsx @@ -0,0 +1,7 @@ +export default function Loading() { + return ( +
+
+
+ ); +} \ No newline at end of file diff --git a/src/components/loader.tsx b/src/components/loader.tsx new file mode 100644 index 0000000..5a31482 --- /dev/null +++ b/src/components/loader.tsx @@ -0,0 +1,7 @@ + export default function Loader() { + return ( +
+
+
+ ); +} \ No newline at end of file