feat: fix video url
This commit is contained in:
@@ -395,7 +395,8 @@ const Home = ({ navigation, route }) => {
|
||||
const handleStartVisit = useCallback(() => {
|
||||
setVideoUrl(isWeb ? videos?.landingWeb : videos?.landing);
|
||||
}, []);
|
||||
|
||||
console.log("is web ? : ", isWeb);
|
||||
console.log("landing video url is : ", videoUrl);
|
||||
const handleReturnToLanding = useCallback(() => {
|
||||
navigate(Routes.LandingPage);
|
||||
}, []);
|
||||
|
||||
@@ -62,7 +62,7 @@ const ClubAdvantagesCard = ({ style, isDev = false }) => {
|
||||
style,
|
||||
]}
|
||||
>
|
||||
{isDev ? (
|
||||
{/* {isDev ? (
|
||||
<View style={styles.testSwitches}>
|
||||
<View style={styles.switchRow}>
|
||||
<Text style={styles.switchLabel}>Test layout web</Text>
|
||||
@@ -77,7 +77,7 @@ const ClubAdvantagesCard = ({ style, isDev = false }) => {
|
||||
/>
|
||||
</View>
|
||||
</View>
|
||||
) : null}
|
||||
) : null} */}
|
||||
|
||||
<View style={styles.header}>
|
||||
<View style={styles.titleBlock}>
|
||||
@@ -147,6 +147,8 @@ const ClubAdvantagesCard = ({ style, isDev = false }) => {
|
||||
style={[
|
||||
styles.advantageContent,
|
||||
useWebLayout && styles.advantageContentWeb,
|
||||
hasActiveSubscription &&
|
||||
!useWebLayout && { paddingRight: 10 },
|
||||
]}
|
||||
>
|
||||
<Text
|
||||
@@ -204,7 +206,7 @@ const styles = StyleSheet.create({
|
||||
},
|
||||
testSwitches: {
|
||||
gap: gutters * 0.75,
|
||||
backgroundColor: "rgba(255, 255, 255, 0.08)",
|
||||
// backgroundColor: "rgba(255, 255, 255, 0.08)",
|
||||
padding: gutters * 0.9,
|
||||
borderRadius: 14,
|
||||
borderWidth: 1,
|
||||
|
||||
Reference in New Issue
Block a user