New repo mobile after delete ! #1

Merged
bagasbanuna merged 233 commits from api/24-oct-25 into main 2025-10-27 11:32:16 +08:00
157 changed files with 10986 additions and 974 deletions
Showing only changes of commit aa4ea9fb0c - Show all commits

View File

@@ -56,10 +56,11 @@ export default function EventHistory() {
<Event_BoxPublishSection
key={index.toString()}
id={index.toString()}
username={`Hisrory ${activeCategory === "main" ? "Saya" : "Semua"}`}
username={`Riwayat ${activeCategory === "main" ? "Saya" : "Semua"}`}
rightComponentAvatar={
<TextCustom>{new Date().toLocaleDateString()}</TextCustom>
}
href={`/event/${index}/history`}
/>
))}
</ViewWrapper>

View File

@@ -12,7 +12,11 @@ export default function EventBeranda() {
}
>
{Array.from({ length: 10 }).map((_, index) => (
<Event_BoxPublishSection key={index} id={index.toString()} />
<Event_BoxPublishSection
key={index}
id={index.toString()}
href={`/event/${index}/publish`}
/>
))}
</ViewWrapper>
);

View File

@@ -4,8 +4,8 @@ import LeftButtonCustom from "@/components/Button/BackButton";
import DrawerCustom from "@/components/Drawer/DrawerCustom";
import { MainColor } from "@/constants/color-palet";
import { drawerItemsProfile } from "@/screens/Profile/ListPage";
import Profile_MenuDrawerSection from "@/screens/Profile/MenuDrawerSection";
import ProfilSection from "@/screens/Profile/ProfilSection";
import Profile_MenuDrawerSection from "@/screens/Profile/menuDrawerSection";
import ProfileSection from "@/screens/Profile/ProfileSection";
import { GStyles } from "@/styles/global-styles";
import { Ionicons } from "@expo/vector-icons";
import { router, Stack, useLocalSearchParams } from "expo-router";
@@ -52,7 +52,7 @@ export default function Profile() {
headerTitleStyle: GStyles.headerTitleStyle,
}}
/>
<ProfilSection />
<ProfileSection />
</ViewWrapper>
{/* Drawer Komponen Eksternal */}

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 KiB

View File

@@ -1,5 +1,5 @@
const DUMMY_IMAGE = {
avatar: require("@/assets/images/dummy/dummy-avatar.png"),
avatar: require("@/assets/images/dummy/dummy-user.png"),
background: require("@/assets/images/dummy/dummy-image-background.jpg"),
};

View File

@@ -30,9 +30,9 @@ export default function LoginView() {
const id = randomAlfabet + randomNumber + fixNumber;
console.log("login user id :", id);
// router.navigate("/verification");
router.navigate("/verification");
// router.navigate(`/(application)/(user)/profile/${id}`);
router.navigate("/(application)/(user)/home");
// router.navigate("/(application)/(user)/home");
// router.navigate(`/(application)/profile/${id}/edit`);
// router.navigate(`/(application)/(user)/portofolio/${id}`)
// router.navigate(`/(application)/(image)/preview-image/${id}`);

View File

@@ -4,12 +4,14 @@ import {
StackCustom,
TextCustom,
} from "@/components";
import { Href } from "expo-router";
export default function Event_BoxPublishSection({
id,
title,
username,
description,
href,
// Avatar
sourceAvatar,
@@ -19,6 +21,7 @@ export default function Event_BoxPublishSection({
title?: string;
username?: string;
description?: string;
href: Href;
// Avatar
sourceAvatar?: string;
@@ -26,7 +29,7 @@ export default function Event_BoxPublishSection({
}) {
return (
<>
<BoxWithHeaderSection href={`/event/${id}/history`}>
<BoxWithHeaderSection href={href}>
<StackCustom gap={"xs"}>
<AvatarUsernameAndOtherComponent
avatarHref={`/profile/${id}`}

View File

@@ -6,7 +6,7 @@ import { router, useLocalSearchParams } from "expo-router";
import { View } from "react-native";
import AvatarAndBackground from "./AvatarAndBackground";
export default function ProfilSection() {
export default function ProfileSection() {
const { id } = useLocalSearchParams();
const listData = [