@@ -12,7 +12,12 @@ import { SectionHeader } from '../components/SectionHeader';
1212import { Avatar } from '../components/ui/Avatar' ;
1313import { groupService } from '../services/group.service' ;
1414import type { ActivityDto } from '@fairshare/shared-types' ;
15+ import { ActivityItem } from '../components/ActivityItem' ;
1516import { useToastStore } from '../store/toastStore' ;
17+ import { Image } from 'react-native' ;
18+
19+ const LOGO_SOURCE = require ( '../assets/images/logo.png' ) ;
20+
1621
1722export function HomeScreen ( { navigation } : { navigation : any } ) {
1823 const user = useAuthStore ( ( state ) => state . user ) ;
@@ -45,8 +50,8 @@ export function HomeScreen({ navigation }: { navigation: any }) {
4550
4651 const quickActions = [
4752 { label : 'Split it' , icon : 'plus-circle-outline' as const , color : colors . primary , onPress : ( ) => navigation . navigate ( 'AddExpense' , { groupId : groups [ 0 ] ?. id ?? '' } ) } ,
48- { label : 'Squads ' , icon : 'account-group-outline' as const , color : colors . accent , onPress : ( ) => navigation . navigate ( 'Groups' ) } ,
49- { label : 'Clear Air ' , icon : 'handshake-outline' as const , color : colors . success , onPress : ( ) => navigation . navigate ( 'SettleUp' , { groupId : groups [ 0 ] ?. id ?? '' } ) } ,
53+ { label : 'Groups ' , icon : 'account-group-outline' as const , color : colors . accent , onPress : ( ) => navigation . navigate ( 'Groups' ) } ,
54+ { label : 'Settle Up ' , icon : 'handshake-outline' as const , color : colors . success , onPress : ( ) => navigation . navigate ( 'SettleUp' , { groupId : groups [ 0 ] ?. id ?? '' } ) } ,
5055 ] ;
5156
5257 const totalBalance = Number ( summary ?. totalBalanceCents ?? 0 ) / 100 ;
@@ -62,9 +67,16 @@ export function HomeScreen({ navigation }: { navigation: any }) {
6267 >
6368 { /* Header */ }
6469 < View style = { styles . header } >
65- < View >
66- < Text style = { [ typography . bodyMedium , { color : colors . text_secondary } ] } > Yo, welcome back ✌️</ Text >
67- < Text style = { [ typography . h2 , { color : colors . text_primary , marginTop : 2 } ] } > { user ?. name ?? 'Bestie' } </ Text >
70+ < View style = { styles . brandContainer } >
71+ < Image
72+ source = { LOGO_SOURCE }
73+ style = { styles . logo }
74+ resizeMode = "contain"
75+ />
76+ < View >
77+ < Text style = { [ typography . bodyMedium , { color : colors . text_secondary } ] } > Yo, welcome back ✌️</ Text >
78+ < Text style = { [ typography . h2 , { color : colors . text_primary , marginTop : 2 } ] } > { user ?. name ?? 'Bestie' } </ Text >
79+ </ View >
6880 </ View >
6981 < TouchableOpacity onPress = { ( ) => navigation . navigate ( 'Profile' ) } >
7082 < Avatar name = { user ?. name ?? 'U' } size = { 48 } />
@@ -107,7 +119,7 @@ export function HomeScreen({ navigation }: { navigation: any }) {
107119
108120 { /* Recent Activity */ }
109121 < SectionHeader
110- title = "The Tea ☕"
122+ title = "Recent Activity ☕"
111123 action = "See all"
112124 onActionPress = { ( ) => navigation . navigate ( 'Activity' ) }
113125 />
@@ -149,6 +161,16 @@ const styles = StyleSheet.create({
149161 marginBottom : spacing . xxl ,
150162 marginTop : spacing . sm ,
151163 } ,
164+ brandContainer : {
165+ flexDirection : 'row' ,
166+ alignItems : 'center' ,
167+ gap : spacing . md ,
168+ } ,
169+ logo : {
170+ width : 54 ,
171+ height : 54 ,
172+ borderRadius : 14 ,
173+ } ,
152174 summarySection : {
153175 marginBottom : spacing . xxl ,
154176 } ,
0 commit comments