feat: clubcard
This commit is contained in:
+33
-6
@@ -16,9 +16,10 @@ import { isWeb } from "../hooks/useLayoutType.js";
|
||||
import { useUserData } from "../providers/UserDataProvider";
|
||||
import { Routes } from "../navigation";
|
||||
import { navigate } from "../navigation/NavigationService";
|
||||
import { gutters } from "../styles";
|
||||
import { gutters, Palette } from "../styles";
|
||||
import { FONT_FAMILY } from "../styles/Fonts";
|
||||
import { subscribeCoinPackModal } from "../utils/coinPackModal";
|
||||
import { BlurView } from "expo-blur";
|
||||
|
||||
export default ({
|
||||
children,
|
||||
@@ -254,11 +255,37 @@ export default ({
|
||||
</View>
|
||||
) : null}
|
||||
{showReturnHomeButton ? (
|
||||
<GradientButton
|
||||
title="retour à l'accueil"
|
||||
onPress={handleReturnHomePress}
|
||||
containerStyle={styles.returnHomeButton}
|
||||
/>
|
||||
// <GradientButton
|
||||
// title="retour à l'accueil"
|
||||
// onPress={handleReturnHomePress}
|
||||
// containerStyle={styles.returnHomeButton}
|
||||
// />
|
||||
<Pressable onPress={handleReturnHomePress} sty>
|
||||
<BlurView
|
||||
tint="light"
|
||||
intensity={30}
|
||||
style={{
|
||||
paddingHorizontal: 10,
|
||||
paddingVertical: 8,
|
||||
borderRadius: 12,
|
||||
overflow: "hidden",
|
||||
flexDirection: "row",
|
||||
alignItems: "center",
|
||||
justifyContent: "center",
|
||||
}}
|
||||
>
|
||||
<Text
|
||||
style={{
|
||||
fontSize: 14,
|
||||
color: Palette.white,
|
||||
fontFamily: FONT_FAMILY.InterRegular,
|
||||
marginRight: 5,
|
||||
}}
|
||||
>
|
||||
{"Retour à l'accueil"}
|
||||
</Text>
|
||||
</BlurView>
|
||||
</Pressable>
|
||||
) : null}
|
||||
</View>
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user