diff --git a/bob_party/src/components/BotBar.tsx b/bob_party/src/components/BotBar.tsx
new file mode 100644
index 0000000..a987169
--- /dev/null
+++ b/bob_party/src/components/BotBar.tsx
@@ -0,0 +1,32 @@
+import { FC, ReactNode } from "react"
+import { Pressable, Image, ImageStyle, Text, View, Alert, ImageSourcePropType, TextStyle } from "react-native"
+import React from "react"
+
+
+export const BotBar :
+FC<{messages:ImageSourcePropType, games: ImageSourcePropType, shop: ImageSourcePropType, style: ImageStyle, nav: any, styleBar : any}> =
+({messages, games, shop,style, nav,styleBar}) =>
+{
+ return (
+
+ nav.navigate('ChatTab')}>
+
+
+ nav.navigate('HomeTab')}>
+
+
+ nav.navigate('StoreTab')}>
+
+
+
+ )
+}
\ No newline at end of file
diff --git a/bob_party/src/screens/Chat.tsx b/bob_party/src/screens/Chat.tsx
index 9263cdc..a2b528e 100644
--- a/bob_party/src/screens/Chat.tsx
+++ b/bob_party/src/screens/Chat.tsx
@@ -3,6 +3,7 @@ import { StyleSheet, View, Text, Alert, Pressable, Image} from 'react-native'
import React from 'react';
import { Skin } from '../core/skin';
import { TopBar } from '../components/TopBar';
+import { BotBar } from '../components/BotBar';
const avatar = require('../../assets/Icons/BobClassic.png');
const skinTest= new Skin("Bob",require('../../assets/Icons/BobClassic.png'));
@@ -22,7 +23,7 @@ function Chat(props: { navigation: any; }) {
rightIcon={engrenage}
styleIcon={styles.engrenage}
nav={navigation} styleTitle={styles.titre} styleHeader={styles.header}
- />
+ />
couille
diff --git a/bob_party/src/screens/Home.tsx b/bob_party/src/screens/Home.tsx
index 421e742..6f96cca 100644
--- a/bob_party/src/screens/Home.tsx
+++ b/bob_party/src/screens/Home.tsx
@@ -5,6 +5,7 @@ import { SkinComponent } from '../components/skinAvatar';
import { User } from '../core/user';
import { Skin } from '../core/skin';
import { TopBar } from '../components/TopBar';
+import { BotBar } from '../components/BotBar';
@@ -25,7 +26,9 @@ function Home(props: { navigation: any; }) {
title="BOB PARTY"
rightIcon={engrenage}
styleIcon={styles.engrenage}
- nav={navigation} styleTitle={styles.titre} styleHeader={styles.header}
+ nav={navigation}
+ styleTitle={styles.titre}
+ styleHeader={styles.header}
/>
-
- navigation.navigate('ChatTab')}>
-
-
-
-
-
- navigation.navigate('StoreTab')}>
-
-
-
+ nav={navigation}
+ styleBar={styles.footer}
+ />
);
}
diff --git a/bob_party/src/screens/Profile.tsx b/bob_party/src/screens/Profile.tsx
index 28e8a00..6700018 100644
--- a/bob_party/src/screens/Profile.tsx
+++ b/bob_party/src/screens/Profile.tsx
@@ -5,8 +5,7 @@ import { SkinComponent } from '../components/skinAvatar';
import { User } from '../core/user';
import { Skin } from '../core/skin';
import { TopBar } from '../components/TopBar';
-
-
+import { BotBar } from '../components/BotBar';
const avatar = require('../../assets/Icons/BobClassic.png');
const skinTest= new Skin("Bob",require('../../assets/Icons/BobClassic.png'));
@@ -26,7 +25,7 @@ function Profile(props: { navigation: any; }) {
rightIcon={engrenage}
styleIcon={styles.engrenage}
nav={navigation} styleTitle={styles.titre} styleHeader={styles.header}
- />
+ />
couille
diff --git a/bob_party/src/screens/Store.tsx b/bob_party/src/screens/Store.tsx
index 83859ee..adb60e9 100644
--- a/bob_party/src/screens/Store.tsx
+++ b/bob_party/src/screens/Store.tsx
@@ -5,6 +5,7 @@ import { SkinComponent } from '../components/skinAvatar';
import { User } from '../core/user';
import { Skin } from '../core/skin';
import { TopBar } from '../components/TopBar';
+import { BotBar } from '../components/BotBar';
const avatar = require('../../assets/Icons/BobClassic.png');
@@ -14,7 +15,6 @@ const gamepad = require('../../assets/Icons/UnSelected/Gamepad.png');
const message = require('../../assets/Icons/UnSelected/Chat.png');
const store = require('../../assets/Icons/Selected/SStore.png');
-
function Store(props: { navigation: any; }) {
const { navigation } = props
return (
@@ -30,26 +30,17 @@ function Store(props: { navigation: any; }) {
couille
-
- navigation.navigate('ChatTab')}>
-
-
- navigation.navigate('HomeTab')}>
-
-
-
-
-
+
+ couille
+
);
}