diff --git a/website/src/components/EmptyState.tsx b/website/src/components/EmptyState.tsx new file mode 100644 index 00000000..aa50bd9f --- /dev/null +++ b/website/src/components/EmptyState.tsx @@ -0,0 +1,32 @@ +import { Center, Text, useColorMode, useColorModeValue } from "@chakra-ui/react"; +import { FiFileText } from "react-icons/fi"; +import { IconType } from "react-icons/lib"; + +type EmptyStateProps = { + text: string; + icon: IconType; +}; + +export const EmptyState = (props: EmptyStateProps) => { + const { colorMode } = useColorMode(); + const mainBgClasses = colorMode === "light" ? "bg-slate-300 text-gray-900" : "bg-slate-900 text-white"; + + const widgetClasses = useColorModeValue("border-gray-700 text-gray-700", "border-gray-300 text-gray-300"); + + return ( +
+
+
+ + + {props.text} + +
+
+
+ ); +}; + +export const TaskEmptyState = () => { + return ; +};