diff --git a/website/src/components/TaskSelection/TaskOption.tsx b/website/src/components/TaskSelection/TaskOption.tsx deleted file mode 100644 index 764efa68..00000000 --- a/website/src/components/TaskSelection/TaskOption.tsx +++ /dev/null @@ -1,39 +0,0 @@ -import { Card, CardBody, Flex, Heading } from "@chakra-ui/react"; -import Image from "next/image"; -import Link from "next/link"; - -export type OptionProps = { - img: string; - alt: string; - title: string; - link: string; -}; - -export const TaskOption = (props: OptionProps) => { - const { alt, img, title, link } = props; - return ( - - - - - {alt} - - {title} - - - - - - ); -}; diff --git a/website/src/components/TaskSelection/TaskOptions.tsx b/website/src/components/TaskSelection/TaskOptions.tsx deleted file mode 100644 index fe24b393..00000000 --- a/website/src/components/TaskSelection/TaskOptions.tsx +++ /dev/null @@ -1,23 +0,0 @@ -import { Divider, Flex, Heading } from "@chakra-ui/react"; -import React from "react"; - -export type TaskOptionsProps = { - title: string; - children: JSX.Element | JSX.Element[]; -}; - -export const TaskOptions = (props: TaskOptionsProps) => { - const { title, children } = props; - return ( - - - {title} - - - {children} - - ); -}; diff --git a/website/src/components/TaskSelection/TaskSelection.tsx b/website/src/components/TaskSelection/TaskSelection.tsx deleted file mode 100644 index 683c80e9..00000000 --- a/website/src/components/TaskSelection/TaskSelection.tsx +++ /dev/null @@ -1,73 +0,0 @@ -import { Flex } from "@chakra-ui/react"; -import { useColorMode } from "@chakra-ui/react"; -import React from "react"; - -import { TaskOption } from "./TaskOption"; -import { TaskOptions } from "./TaskOptions"; - -export const TaskSelection = () => { - const { colorMode } = useColorMode(); - const mainBgClasses = colorMode === "light" ? "bg-slate-300 text-gray-800" : "bg-slate-900 text-white"; - - return ( - - - {/* */} - - - - - - {/* - Commented out while the backend does not support them. - */} - - - - - - ); -}; diff --git a/website/src/components/TaskSelection/index.ts b/website/src/components/TaskSelection/index.ts deleted file mode 100644 index d6d93973..00000000 --- a/website/src/components/TaskSelection/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -export { TaskOption } from "./TaskOption"; -export { TaskOptions } from "./TaskOptions"; -export { TaskSelection } from "./TaskSelection"; diff --git a/website/src/pages/label/label_initial_prompt.tsx b/website/src/pages/label/label_initial_prompt.tsx index 66ab0580..0c3b47be 100644 --- a/website/src/pages/label/label_initial_prompt.tsx +++ b/website/src/pages/label/label_initial_prompt.tsx @@ -1,4 +1,4 @@ -import { Container, Grid, Slider, SliderFilledTrack, SliderThumb, SliderTrack } from "@chakra-ui/react"; +import { Container, Grid, Slider, SliderFilledTrack, SliderThumb, SliderTrack } from "@chakra-ui/react"; import { useColorMode } from "@chakra-ui/react"; import { useEffect, useId, useState } from "react"; import { LoadingScreen } from "src/components/Loading/LoadingScreen";