diff --git a/website/src/components/EmptyState.tsx b/website/src/components/EmptyState.tsx index 8d82163c..825dc610 100644 --- a/website/src/components/EmptyState.tsx +++ b/website/src/components/EmptyState.tsx @@ -13,7 +13,7 @@ export const EmptyState = (props: EmptyStateProps) => { const router = useRouter(); return ( - + {props.text} @@ -32,3 +32,9 @@ export const TaskEmptyState = () => { export const PageEmptyState = () => { return ; }; + +export const ServerEmptyState = () => { + return ( + + ); +}; diff --git a/website/src/pages/500.tsx b/website/src/pages/500.tsx index d6e68074..ebbcee67 100644 --- a/website/src/pages/500.tsx +++ b/website/src/pages/500.tsx @@ -1,7 +1,8 @@ -import { Button, Link, Stack } from "@chakra-ui/react"; +import { Button, Box, Text, Center, Link, Stack } from "@chakra-ui/react"; import Head from "next/head"; import NextLink from "next/link"; import { FiAlertTriangle } from "react-icons/fi"; +import { ServerEmptyState } from "src/components/EmptyState"; export default function Error() { return ( @@ -10,23 +11,29 @@ export default function Error() { 500 - Open Assistant -
- -

Sorry, We encountered a server error. We're not sure what went wrong

-

Please file a but below and describe what you were trying to accomplish

- -
-
+
+ ); }