Merge branch 'join' into lukman-sdm-3-juni-2024

This commit is contained in:
Moh Alif Al Lukman
2024-07-03 17:35:36 +08:00
committed by GitHub
10 changed files with 50 additions and 7 deletions

View File

@@ -20,7 +20,8 @@ function ViewLogin() {
"Kami akan mengirim kode verifikasi melalui WhatsApp, guna mengonfirmasikan nomor Anda.";
function onMasuk() {
router.push("/verification")
// router.push("/verification")
window.location.href = "/verification"
}
return (

View File

@@ -8,7 +8,8 @@ export default function ViewVerification() {
const router = useRouter();
function onNext() {
router.push("/welcome");
// router.push("/welcome");
window.location.href = "/welcome"
}
return (
<>

View File

@@ -37,7 +37,8 @@ export function ViewWelcome() {
function onLanjutkan() {
if (index === listTextWellcome.length - 1) {
return router.push("/home");
// return router.push("/home");
return window.location.href = "/home"
}
setIndex(index + 1);
}

View File

@@ -1,3 +1,4 @@
'use client'
import React, { useRef } from 'react';
import { Carousel } from '@mantine/carousel';
import { WARNA } from '@/module/_global';

View File

@@ -1,3 +1,4 @@
'use client'
import { WARNA } from '@/module/_global';
import { ActionIcon, Box, Center, Grid, SimpleGrid, Text } from '@mantine/core';
import { useRouter } from 'next/navigation';

View File

@@ -1,4 +1,3 @@
"use client"
import { LayoutNavbarHome, WARNA } from '@/module/_global';
import { ActionIcon, Box, Group, rem, Stack, Text } from '@mantine/core';
import React from 'react';
@@ -26,12 +25,10 @@ export default function ViewHome() {
<HiOutlineUser size={20} color='white' />
</ActionIcon>
</Group>
</Group>
</LayoutNavbarHome>
<Box p={20}>
<Stack >
<Carosole />
<Features/>
<Features />
</Stack>
</Box>

View File

@@ -0,0 +1,3 @@
import ViewProfile from "./profile/view/view_profile";
export { ViewProfile }

View File

@@ -0,0 +1,29 @@
import { LayoutNavbarHome, WARNA } from "@/module/_global";
import { ActionIcon, Group, Stack, Text } from "@mantine/core";
import { BsInfo } from "react-icons/bs";
import { HiUser } from "react-icons/hi2";
export default function ViewProfile() {
return (
<>
<LayoutNavbarHome>
<Group justify="space-between">
<Text fw={'bold'} c={'white'}>Profile</Text>
<ActionIcon variant="light" bg={WARNA.bgIcon} size="lg" radius="lg" aria-label="Info">
<BsInfo size={20} color='white' />
</ActionIcon>
</Group>
<Stack
align="center"
justify="center"
gap="xs"
>
<HiUser size={150} color='white' />
<Text c={'white'} fw={'bold'} fz={25}>Fibra Marcell</Text>
<Text c={'white'} fw={'lighter'} fz={15}>Kepala Urusan Pengembangan</Text>
</Stack>
</LayoutNavbarHome>
</>
)
}