feature event

deskripsi:
- resourcing component event
This commit is contained in:
2025-06-30 16:41:17 +08:00
parent 5577ef5d1e
commit d58304a146
14 changed files with 177 additions and 29 deletions

View File

@@ -9,7 +9,7 @@ import TabSection from "./tabSection";
import { tabsHome } from "./tabsList";
import Home_FeatureSection from "./topFeatureSection";
export default function NewHomeView() {
export default function UiHome() {
const navigation = useNavigation();
useEffect(() => {

View File

@@ -1,16 +1,11 @@
import { ITabs } from "@/components/_Interface/types";
import { ICustomTab, ITabs } from "@/components/_Interface/types";
import { Styles } from "@/styles/global-styles";
import { Ionicons } from "@expo/vector-icons";
import { router } from "expo-router";
import React from "react";
import { Text, TouchableOpacity, View } from "react-native";
interface ICustomTab {
icon: string;
label: string;
isActive: boolean;
onPress: () => void;
}
const CustomTab = ({ icon, label, isActive, onPress }: ICustomTab) => (
<TouchableOpacity
style={[Styles.tabItem, isActive && Styles.activeTab]}

View File

@@ -9,7 +9,7 @@ export default function Home_FeatureSection() {
<View style={stylesHome.gridContainer}>
<TouchableOpacity
style={stylesHome.gridItem}
onPress={() => router.push("/(application)/event")}
onPress={() => router.push("/(application)/event/(tabs)")}
>
<Ionicons name="analytics" size={48} color="white" />
<Text style={stylesHome.gridLabel}>Event</Text>