diff --git a/client/app/(tabs)/challenges.tsx b/client/app/(tabs)/challenges.tsx
index e85670d..c1c3ed8 100644
--- a/client/app/(tabs)/challenges.tsx
+++ b/client/app/(tabs)/challenges.tsx
@@ -1,6 +1,7 @@
+import PenaltyBanner from '@/components/PenalyBanner'
import { FontAwesome6 } from '@expo/vector-icons'
import { View } from 'react-native'
-import { Appbar, Button, Card, Surface, Text } from 'react-native-paper'
+import { Appbar, Button, Surface, Text } from 'react-native-paper'
export default function ChallengesScreen() {
return (
@@ -9,6 +10,7 @@ export default function ChallengesScreen() {
+
Titre
diff --git a/client/app/(tabs)/train.tsx b/client/app/(tabs)/train.tsx
index d3339e5..9371871 100644
--- a/client/app/(tabs)/train.tsx
+++ b/client/app/(tabs)/train.tsx
@@ -1,3 +1,4 @@
+import PenaltyBanner from '@/components/PenalyBanner'
import { useAddTrainMutation } from '@/hooks/mutations/useTrainMutation'
import { useAuth } from '@/hooks/useAuth'
import { useTrain } from '@/hooks/useTrain'
@@ -22,6 +23,7 @@ export default function TrainScreen() {
return (
+
train.id}
diff --git a/client/components/PenalyBanner.tsx b/client/components/PenalyBanner.tsx
new file mode 100644
index 0000000..28d97ff
--- /dev/null
+++ b/client/components/PenalyBanner.tsx
@@ -0,0 +1,20 @@
+import { FontAwesome6 } from "@expo/vector-icons";
+import { View } from "react-native";
+import { Banner, MD3Colors, ProgressBar, Text } from "react-native-paper";
+
+export default function PenaltyBanner() {
+ return (
+
+ }
+ style={{ backgroundColor: MD3Colors.primary30 }}>
+
+ Vous avez actuellement une pénalité jusqu'à 18h45.
+ Temps restant : 14:43
+
+
+
+
+ )
+}
\ No newline at end of file