import { View, Text, StyleSheet, TouchableOpacity } from "react-native"; import { router } from "expo-router"; import { Ionicons } from "@expo/vector-icons"; export default function HomeScreen() { return ( Tabungan H.Hadi Kelola pemasukan & pengeluaranmu untuk nikah Total Saldo Rp 500.000.000.000 Income Rp 7.000.000 Expense Rp 2.000.000 router.push("/add-income")} > + Tambah Pemasukan router.push("/add-expense")} > - Tambah Pengeluaran ); } const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: "#F5F7FA", padding: 24, paddingTop: 60, }, title: { fontSize: 30, fontWeight: "bold", marginBottom: 8, }, subtitle: { fontSize: 16, color: "#666", marginBottom: 28, }, balanceCard: { backgroundColor: "#2563EB", borderRadius: 20, padding: 24, marginBottom: 24, }, balanceLabel: { color: "#E0E7FF", fontSize: 16, marginBottom: 8, }, balanceAmount: { color: "#FFFFFF", fontSize: 32, fontWeight: "bold", }, summaryContainer: { flexDirection: "row", justifyContent: "space-between", marginBottom: 32, }, summaryCard: { backgroundColor: "#FFFFFF", width: "48%", padding: 20, borderRadius: 16, alignItems: "center", shadowColor: "#000", shadowOpacity: 0.05, shadowRadius: 6, elevation: 3, }, summaryTitle: { marginTop: 10, fontSize: 15, color: "#666", }, summaryAmount: { marginTop: 6, fontSize: 16, fontWeight: "600", }, buttonIncome: { backgroundColor: "#16A34A", paddingVertical: 16, borderRadius: 14, alignItems: "center", marginBottom: 16, }, buttonExpense: { backgroundColor: "#DC2626", paddingVertical: 16, borderRadius: 14, alignItems: "center", }, buttonText: { color: "#FFFFFF", fontSize: 16, fontWeight: "600", }, });