Desc:
- Fitur config untuk error pada server di bagian .env PWD
- Fitur home dan tampilan menu
This commit is contained in:
2023-10-03 11:56:33 +08:00
parent fa46a3f055
commit 9a914bb513
9 changed files with 186 additions and 42 deletions

View File

@@ -64,34 +64,35 @@ export default function Login() {
align={"center"}
gap={"lg"}
>
<>
<IconCircleLetterH size={150} />
<Title>Login</Title>
<IconCircleLetterH size={150} />
<Title>Login</Title>
<TextInput
label="Phone Number"
w={250}
type="number"
placeholder="62 xx xxx xxx xxx"
// value={nomor}
onChange={(val) => {
setNomor(val.target.value);
}}
/>
<TextInput
label="Phone Number"
w={250}
type="number"
placeholder="62 xx xxx xxx xxx"
// value={nomor}
onChange={(val) => {
setNomor(val.target.value);
}}
/>
<Button
h={30}
radius={50}
compact
bg={Warna.hijau_muda}
color={"green"}
onClick={() => {
onLogin();
}}
>
Login
</Button>
</>
<Button
mt={"xs"}
h={30}
w={250}
radius={50}
compact
bg={Warna.hijau_muda}
color={"green"}
onClick={() => {
onLogin();
}}
>
Login
</Button>
</Flex>
</>
);

View File

@@ -60,6 +60,7 @@ export default function Register() {
<Flex direction={"column"} gap={"xl"} align={"center"}>
<Flex direction={"column"}>
<TextInput
w={250}
label="Username"
placeholder="Username"
onChange={(val) => {
@@ -70,6 +71,8 @@ export default function Register() {
<Text>Nomor : {nomor}</Text>
</Flex>
<Button
w={250}
mt={"md"}
radius={50}
bg={Warna.biru}
color="cyan"

View File

@@ -81,11 +81,15 @@ export default function Validasi() {
<Text>to {nomor}</Text>
</Flex>
<PinInput
spacing={"md"}
mt={"md"}
onChange={(val) => {
setInputOtp(val);
}}
/>
<Button
w={100}
mt={"md"}
compact
radius={50}
bg={Warna.hijau_tua}