end of home

This commit is contained in:
Thomas Demirdjian
2025-10-01 10:49:03 +02:00
parent 4097143559
commit 167e62fcfc
18 changed files with 928 additions and 558 deletions
+31
View File
@@ -0,0 +1,31 @@
import React from "react";
import { BlurView } from "expo-blur";
import { Pressable } from "react-native";
import { Entypo } from "@expo/vector-icons";
export default function ShareBtn({ style, onPress = null }) {
return (
<Pressable
onPress={onPress}
disabled={!onPress}
style={{
...style,
}}
>
<BlurView
intensity={20}
tint="dark"
style={{
padding: 12,
borderRadius: 15,
overflow: "hidden",
flexDirection: "row",
alignItems: "center",
justifyContent: "center",
}}
>
<Entypo name="share-alternative" size={18} color="white" />
</BlurView>
</Pressable>
);
}
+41
View File
@@ -0,0 +1,41 @@
import React from "react";
import { BlurView } from "expo-blur";
import { Pressable, Text } from "react-native";
import { Palette } from "../../styles";
import { FONT_FAMILY } from "../../styles/Fonts";
import { Entypo } from "@expo/vector-icons";
export default function ShareBtn({ style, onPress = null }) {
return (
<Pressable
onPress={onPress}
disabled={!onPress}
style={{
...style,
}}
>
<BlurView
style={{
paddingHorizontal: 10,
paddingVertical: 5,
borderRadius: 15,
flexDirection: "row",
alignItems: "center",
justifyContent: "center",
}}
>
<Text
style={{
fontSize: 14,
color: Palette.white,
fontFamily: FONT_FAMILY.InterRegular,
marginRight: 5,
}}
>
{"Partager lexpérience"}
</Text>
<Entypo name="share-alternative" size={16} color="white" />
</BlurView>
</Pressable>
);
}