feature & fix

deksripsi:
feature:
- Information Box
- Create profile
fix:
component: Alet, Avatar, Select
# No Issue
This commit is contained in:
2025-07-04 17:42:22 +08:00
parent 0b1fd05eec
commit 1a16b16f47
13 changed files with 233 additions and 48 deletions

View File

@@ -28,10 +28,10 @@ export default function LoginView() {
const randomAlfabet = Math.random().toString(36).substring(2, 8);
const randomNumber = Math.floor(Math.random() * 1000000);
const id = randomAlfabet + randomNumber + fixNumber;
console.log("user id :", id);
console.log("login user id :", id);
// router.navigate("/verification");
router.navigate(`/(application)/profile/${id}`);
router.navigate("/verification");
// router.navigate(`/(application)/profile/${id}`);
// router.navigate("/(application)/home");
// router.navigate(`/(application)/profile/${id}/edit`);

View File

@@ -1,12 +1,13 @@
import { AvatarCustom } from "@/components";
import { AccentColor } from "@/constants/color-palet";
import DUMMY_IMAGE from "@/constants/dummy-image-value";
import { View, ImageBackground, StyleSheet } from "react-native";
const AvatarAndBackground = () => {
return (
<View style={styles.container}>
<ImageBackground
source={require("@/assets/images/logo-hipmi.png")}
source={DUMMY_IMAGE.background}
style={styles.backgroundImage}
resizeMode="contain"
/>
@@ -15,7 +16,7 @@ const AvatarAndBackground = () => {
{/* Avatar yang sedikit keluar */}
<View style={styles.avatarOverlap}>
<AvatarCustom
source={require("@/assets/images/react-logo.png")}
source={DUMMY_IMAGE.avatar}
size="lg"
/>
</View>