Skip to content

Commit

Permalink
working codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ManojBaasha committed Dec 7, 2023
1 parent 8d77b40 commit d3d06b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 60 deletions.
66 changes: 6 additions & 60 deletions Frontend/components/HomePageTemp.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import React from "react";
import { Text, View, StyleSheet, Image } from "react-native";
import { Text, View, StyleSheet } from "react-native";
import { SvgXml } from "react-native-svg";
import set from "../assets/testHome/set.svg";
import sett from "../assets/testHome/set.png";
import all from "../assets/testHome/all.svg";
import alll from "../assets/testHome/all.png";
import check from "../assets/testHome/checkmark.svg";
import settings from "../assets/testHome/settings.svg";
import logout from "../assets/testHome/logout.svg";
import setButton from "../assets/testHome/setButton.svg";
import getButton from "../assets/testHome/getButton.svg";
import { useNavigation } from "@react-navigation/native";

function HomePageTemp() {
Expand All @@ -32,40 +27,11 @@ function HomePageTemp() {

return (
<View style={styles.container}>
<View>
<Text style={styles.title}>HOME</Text>
<Text style={styles.subtitle}>Your Dashboard</Text>
<View style={styles.logoutContainer}>
<Text style={styles.logout} onPress={handleLogout}>Log Out</Text>
</View>
<View style={styles.img}>
<Image
source={require('../assets/testHome/moneyy.png')}
/>
</View>

<Text style={styles.title}>HOME</Text>
<View style={styles.subcontainer}>
<View style={styles.subsubcontainer}>
<View style={styles.button}>
{/* <SvgXml xml={all} onPress={goToTestScreen}/> */}
<Image
source={require('../assets/testHome/all.png')}
/>
</View>
<View style={styles.button}>
<Image
source={require('../assets/testHome/set.png')}
/>
{/* <SvgXml xml={set} onPress={goToTestScreen}/> */}
</View>
</View>
<View style={styles.subsubcontainer}>
<View style={styles.button}>
<SvgXml xml={settings} onPress={goToTestScreen}/>
</View>
<View style={styles.button}>
<SvgXml xml={logout} onPress={goToTestScreen}/>
</View>
<View style={styles.button}>
<SvgXml xml={getButton} onPress={goToAllTransactions}/>
</View>
Expand All @@ -90,40 +56,20 @@ const styles = StyleSheet.create({
fontSize: 40,
fontWeight: 'bold',
color: '#fff',
marginBottom: 0,
marginTop: '20%',
textAlign: 'center',
},
img: {
marginTop: '-10%',
},
subtitle: {
fontSize: 20,
color: '#fff',
marginBottom: 16,
marginTop: '0%',
marginTop: '30%',
textAlign: 'center',
},
subcontainer: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'column',
marginVertical: "6%",
},
subsubcontainer: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
marginVertical: "12%",
},
button: {
alignItems: "center",
justifyContent: "center",
marginVertical: "12%",
marginHorizontal: "3%",
marginTop: "-10%",
marginVertical: "10%",
},
logoutContainer: {
position: 'absolute',
Expand Down
Empty file added Frontend/eas.json
Empty file.

0 comments on commit d3d06b0

Please sign in to comment.