This commit is contained in:
jjbrunton committed 2026-01-05 15:21:56 +00:00
1 parent bc0b8abd17
commit e52430f0a8
1 file changed
+30
@@ -9,6 +9,7 @@ import {
ScrollView,
Platform,
Pressable,
Linking,
} from "react-native";
import { Ionicons } from "@expo/vector-icons";
import { LinearGradient } from "expo-linear-gradient";
@@ -368,6 +369,19 @@ export function Paywall({ visible, onClose, onSuccess }: PaywallProps) {
Subscription automatically renews unless cancelled at least 24 hours
before the end of the current period.
</Text>
<View style={styles.legalLinks}>
<TouchableOpacity
onPress={() => Linking.openURL("https://sauci.app/terms")}
>
<Text style={styles.legalLinkText}>Terms of Use</Text>
</TouchableOpacity>
<Text style={styles.legalSeparator}>•</Text>
<TouchableOpacity
onPress={() => Linking.openURL("https://sauci.app/privacy")}
>
<Text style={styles.legalLinkText}>Privacy Policy</Text>
</TouchableOpacity>
</View>
</View>
</ScrollView>
</View>
@@ -716,6 +730,22 @@ const styles = StyleSheet.create({
textAlign: "center",
lineHeight: 18,
},
legalLinks: {
flexDirection: "row",
justifyContent: "center",
alignItems: "center",
marginTop: spacing.sm,
gap: spacing.xs,
},
legalLinkText: {
...typography.caption1,
color: colors.premium.gold,
textDecorationLine: "underline",
},
legalSeparator: {
...typography.caption1,
color: colors.textTertiary,
},
});
export default Paywall;