diff --git a/App.js b/App.js index 7e2af9c..9158e4b 100644 --- a/App.js +++ b/App.js @@ -1,16 +1,13 @@ import React from 'react'; import { StatusBar, SafeAreaView } from 'react-native'; import AppNavigator from './navigation/AppNavigator'; -import Auth from './components/Auth'; +import { FavoriteProvider } from './contexts/FavoriteContext'; export default function App() { return ( - <> + - - - - + ); } \ No newline at end of file diff --git a/app.json b/app.json index e186769..c20e83a 100644 --- a/app.json +++ b/app.json @@ -4,11 +4,11 @@ "slug": "LoetoLink", "version": "1.0.0", "orientation": "portrait", - "icon": "./assets/icon.png", + "icon": "./assets/logo.jpg", "userInterfaceStyle": "light", "newArchEnabled": true, "splash": { - "image": "./assets/splash-icon.png", + "image": "./assets/logo.jpg", "resizeMode": "contain", "backgroundColor": "#ffffff", "updates": { @@ -21,17 +21,17 @@ "android": { "config": { "googleMaps": { - "apiKey": "AlzaSya0Ll6laKMO06oO9lBmTdqQ6P_4Qo1_fEJ" + "apiKey": "AlzaSy0csWCFtrxT-TmMw4adcHN41jNcy0mdvdf" } }, "adaptiveIcon": { - "foregroundImage": "./assets/adaptive-icon.png", + "foregroundImage": "./assets/logo.jpg", "backgroundColor": "#ffffff" }, "package": "com.anonymous.LoetoLink" }, "web": { - "favicon": "./assets/favicon.png" + "favicon": "./assets/logo.jpg" } } -} \ No newline at end of file +} diff --git a/assets/avatar.jpg b/assets/avatar.jpg new file mode 100644 index 0000000..ec5f7e8 Binary files /dev/null and b/assets/avatar.jpg differ diff --git a/assets/background.jpg b/assets/background.jpg new file mode 100644 index 0000000..c50bb8d Binary files /dev/null and b/assets/background.jpg differ diff --git a/assets/background2.jpg b/assets/background2.jpg new file mode 100644 index 0000000..120289e Binary files /dev/null and b/assets/background2.jpg differ diff --git a/components/Auth.js b/components/Auth.js index aa5a353..1de3ea5 100644 --- a/components/Auth.js +++ b/components/Auth.js @@ -1,43 +1,10 @@ -import React, { useState } from 'react'; -import { Alert, StyleSheet, View } from 'react-native'; -import { supabase } from '../lib/supabase'; // Adjust the import path as necessary -import { Button, Input } from '@rneui/themed'; - -export default function Auth() { - const [email, setEmail] = useState(''); - const [password, setPassword] = useState(''); - - const signInWithEmail = async () => { - const { error } = await supabase.auth.signInWithPassword({ email, password }); - if (error) Alert.alert(error.message); - }; - - const signUpWithEmail = async () => { - const { error } = await supabase.auth.signUp({ email, password }); - if (error) Alert.alert(error.message); - }; +import React from 'react'; +import { View, StyleSheet } from 'react-native'; +export default function Auth({ navigation }) { return ( - - -