diff --git a/src/frontend/src/components/CrashErrorComponent/index.tsx b/src/frontend/src/components/CrashErrorComponent/index.tsx index f5018f885..0cf376195 100644 --- a/src/frontend/src/components/CrashErrorComponent/index.tsx +++ b/src/frontend/src/components/CrashErrorComponent/index.tsx @@ -1,36 +1,63 @@ +import { XCircle } from "lucide-react"; import { crashComponentPropsType } from "../../types/components"; +import { Button } from "../ui/button"; +import { Card, CardContent, CardFooter, CardHeader } from "../ui/card"; export default function CrashErrorComponent({ error, resetErrorBoundary, }: crashComponentPropsType): JSX.Element { return ( -
-
-

- Oops! An unknown error has occurred. -

-

- Please click the 'Reset Application' button to restore the - application's state. If the error persists, please create an issue on - our GitHub page. We apologize for any inconvenience this may have - caused. -

-
- - - Create Issue - +
+
+
+ + +
+ +
+
+

+ Sorry, we found an unexpected error! +

+
+
+ + +
+

+ Please report errors with detailed tracebacks on the{" "} + + GitHub Issues + {" "} + page. +

+ Thank you! +

+
+
+ + +
+ + + + + +
+
+