diff --git a/website/src/pages/404.tsx b/website/src/pages/404.tsx index 0af430b0..cd43916d 100644 --- a/website/src/pages/404.tsx +++ b/website/src/pages/404.tsx @@ -1,4 +1,4 @@ -import { Box, Button, Center, Link, Text } from "@chakra-ui/react"; +import { Box, Button, Center, Link, Text, useColorMode } from "@chakra-ui/react"; import { AlertTriangle } from "lucide-react"; import Head from "next/head"; import { EmptyState } from "src/components/EmptyState"; @@ -6,19 +6,21 @@ import { getTransparentHeaderLayout } from "src/components/Layout"; export { getDefaultStaticProps as getStaticProps } from "src/lib/default_static_props"; function Error() { + const { colorMode } = useColorMode(); + const titleColor = colorMode === "light" ? "blue.500" : "blue.300"; return ( <> 404 - Open Assistant -
+
If you were trying to contribute data but ended up here, please file a bug.