diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index c24b44e..9448cf8 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -1,9 +1,57 @@ -import { Text, View } from 'react-native'; +import { useBottomTabBarHeight } from "@react-navigation/bottom-tabs"; +import { useRouter } from "expo-router"; +import { Pressable, ScrollView, Text, View } from "react-native"; +import { useSafeAreaInsets } from "react-native-safe-area-context"; export default function HomeScreen() { + const router = useRouter(); + const tabBarHeight = useBottomTabBarHeight(); + const insets = useSafeAreaInsets(); + + const H_PADDING = 24; + const CTA_GAP = 12; + return ( - - Home Screen + + {/* Header Card */} + + + Kopi Shop + + + + {/* Content */} + + {/* Placeholder for future content */} + + + {/* Bottom CTA */} + + router.push("/kopi")} + className="bg-dark-coffee py-4 px-5 rounded-2xl flex-row items-center justify-center shadow-lg active:opacity-90" + > + + Start Kopi Maker → + + + ); }