feat: Nos tarifs on home
This commit is contained in:
@@ -49,6 +49,10 @@ export default function LandingPage() {
|
||||
navigation.navigate(Routes.Register);
|
||||
}, [isAuthenticated, navigation]);
|
||||
|
||||
const handleOpenSubscriptions = useCallback(() => {
|
||||
navigation.navigate(Routes.Payments);
|
||||
}, [navigation]);
|
||||
|
||||
const { data: video } = useDataFromRef({
|
||||
ref: videosRef.doc("fr"),
|
||||
simpleRef: true,
|
||||
@@ -172,6 +176,13 @@ export default function LandingPage() {
|
||||
onPress={handleLaunchAdventure}
|
||||
containerStyle={styles.actionButton}
|
||||
/>
|
||||
{!isAuthenticated ? (
|
||||
<GradientButton
|
||||
title="Nos tarifs"
|
||||
onPress={handleOpenSubscriptions}
|
||||
containerStyle={styles.actionButton}
|
||||
/>
|
||||
) : null}
|
||||
</View>
|
||||
)}
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user