From d7fadb74d631294611b8ed267ec643c6ce5e6a42 Mon Sep 17 00:00:00 2001 From: Patrick Alvin Alcala Date: Mon, 22 Sep 2025 11:45:18 +0800 Subject: [PATCH] New component --- .../RegistrationForm/RegistrantionForm.tsx | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/components/RegistrationForm/RegistrantionForm.tsx diff --git a/src/components/RegistrationForm/RegistrantionForm.tsx b/src/components/RegistrationForm/RegistrantionForm.tsx new file mode 100644 index 0000000..d908d27 --- /dev/null +++ b/src/components/RegistrationForm/RegistrantionForm.tsx @@ -0,0 +1,26 @@ +import { Button, Logo, Link, Box, Page, Form, Row, Column, Image, Copyright, OptimizeLogo, Display, Padding } from '../../../fwt/' +import Input from '../../components/Input/Input' +import Combobox from '../../components/Combobox/Combobox' +import { ofetch } from 'ofetch' +import { createSignal } from 'solid-js' + +const api = import.meta.env.BACKEND +const assessors = await ofetch(api + 'get-list-assessors', { parseResponse: JSON.parse }) +const assessorsIDList = assessors.result +const assessorsNameList = assessors.result2 + +const [sample, setSample] = createSignal('') + +export default () => { + return ( + <> + +
+ Name + {/* console.log(1)} /> */} + {assessorsNameList} + +
+ + ) +}