Skip to content

Commit

Permalink
(core) feat(endscreen): finish endscreen basic structure
Browse files Browse the repository at this point in the history
  • Loading branch information
arenault-pass committed Feb 11, 2024
1 parent 1f6e350 commit 037adb7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
27 changes: 26 additions & 1 deletion screens/Endscreen.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { View, Text, ImageBackground, TouchableOpacity } from "react-native";
import { View, Text, ImageBackground, TouchableOpacity, FlatList } from "react-native";

Check failure on line 1 in screens/Endscreen.js

View workflow job for this annotation

GitHub Actions / lint

'FlatList' is defined but never used
import React from "react";
import { SafeAreaView } from "react-native-safe-area-context";
import { StatusBar } from "expo-status-bar";
Expand Down Expand Up @@ -33,6 +33,31 @@ export default function Endscreen() {
</TouchableOpacity>
<Text className="text-white absolute left-28 text-2xl font-black">Classement</Text>
</View>
{/* Ranking Table */}
<View
style={{ backgroundColor: "rgba(255, 255, 255, 0.1)" }}
className="flex-1 justify-center w-78 m-10 mx-4 p-10 rounded-lg"
>

</View>
{/* Button */}
<View className="flex-1 justify-center items-center ">
<TouchableOpacity

className=" bg-white w-50 px-4 py-4 border-solid rounded-lg mt-4 justify-center align-items-center"
>
<Text className="text-cyan-900 text-sm text-center font-bold">
Recommencer
</Text>
</TouchableOpacity>
<TouchableOpacity
className=" bg-white w-50 px-4 py-4 border-solid rounded-lg mt-4 justify-center align-items-center"
>
<Text className="text-cyan-900 text-sm text-center font-bold">
Accueil
</Text>
</TouchableOpacity>
</View>
</SafeAreaView>
</View>
);
Expand Down
1 change: 0 additions & 1 deletion screens/Homescreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export default function HomeScreen() {
</Text>
</TouchableOpacity>
</View>
<ImageBackground/>
</SafeAreaView>
</View>
);
Expand Down

0 comments on commit 037adb7

Please sign in to comment.