diff --git a/app/javascript/pages/assessment/NewAssessmentManual.tsx b/app/javascript/pages/assessment/NewAssessmentManual.tsx index 59d23a2..ed55658 100644 --- a/app/javascript/pages/assessment/NewAssessmentManual.tsx +++ b/app/javascript/pages/assessment/NewAssessmentManual.tsx @@ -5,6 +5,7 @@ import { Controller, useForm } from "react-hook-form"; import { Axis, Query } from "../../__generated__/graphql-schema"; import { Button, Card, Input, Navigator } from '../../components'; +import { SideBar } from "./components/SideBar"; type NewAssessementManualForm = { axisWeights: Record @@ -48,9 +49,22 @@ export const NewAssessementManual = () => { const selectedAxis: Axis[] = axes.filter((axis) => subjectsIds.includes(axis.id)) return ( -
+ <> + +
+ {/*bgColor="bg-red-700"*/} + Filters + +
{/*bg-blue-500*/} + Questions +
+ {/*bgColor="bg-yellow-400"*/} + Selected Questions + +
+ // <> - // + // //
// //
diff --git a/app/javascript/pages/assessment/components/SideBar.tsx b/app/javascript/pages/assessment/components/SideBar.tsx new file mode 100644 index 0000000..779a116 --- /dev/null +++ b/app/javascript/pages/assessment/components/SideBar.tsx @@ -0,0 +1,19 @@ +import React, { FC, PropsWithChildren } from "react"; + +interface Props extends PropsWithChildren { + bgColor?: string; + border?: 'l' | 'r' +} + +export const SideBar: FC = ({ bgColor, border, children }) => { + return ( +
+
+ {children} +
+
+ ) +} \ No newline at end of file