From 397166845487a15e7f16dd3be587a764e725482c Mon Sep 17 00:00:00 2001 From: Arfa Momin Date: Thu, 25 Apr 2024 08:55:10 -0700 Subject: [PATCH] [refactor] update options styling --- .../EligibilityCard/EligibilityCard.tsx | 62 ++++++++++--------- src/Components/EligibilityCard/styles.ts | 31 +++++++--- 2 files changed, 56 insertions(+), 37 deletions(-) diff --git a/src/Components/EligibilityCard/EligibilityCard.tsx b/src/Components/EligibilityCard/EligibilityCard.tsx index ef1bb957..ed93d59f 100644 --- a/src/Components/EligibilityCard/EligibilityCard.tsx +++ b/src/Components/EligibilityCard/EligibilityCard.tsx @@ -71,30 +71,27 @@ export default function EligibilityCard({ style={[styles.buttonContainer, globalStyles.shadowBorder]} onPress={onPressHandler} > - - - - - File a case claim - - Eligible class members can submit a claim electronically to - receive a settlement. - - - - + + + + + + + Eligible class members can submit a claim electronically to + receive a settlement. + + - - - - OR + + + File or update my claim + - - + - { router.push({ @@ -102,20 +99,25 @@ export default function EligibilityCard({ }); }} > - - - - - Opt out of case - - Opt out of this case to do something you can still file private - claim yada yada - + + + + + + + Opt out to remove yourself from this class action and deactivate + this case. + + - + + + + + View options for opting out - + */} ); } else { diff --git a/src/Components/EligibilityCard/styles.ts b/src/Components/EligibilityCard/styles.ts index 71874220..357e1d9c 100644 --- a/src/Components/EligibilityCard/styles.ts +++ b/src/Components/EligibilityCard/styles.ts @@ -1,4 +1,5 @@ import { StyleSheet } from 'react-native'; +import { Directions } from 'react-native-gesture-handler'; import { colors } from '../../styles/colors'; @@ -11,7 +12,7 @@ export default StyleSheet.create({ }, buttonContainer: { width: '100%', - flexDirection: 'row', + flexDirection: 'column', alignSelf: 'center', justifyContent: 'space-evenly', padding: 20, @@ -20,10 +21,9 @@ export default StyleSheet.create({ flex: 0.15, }, middleContainer: { - flex: 0.8, + flex: 0.9, flexDirection: 'column', justifyContent: 'space-between', - rowGap: 12, }, rightContainer: { flex: 0.05, @@ -40,9 +40,9 @@ export default StyleSheet.create({ alignItems: 'center', }, horizontalLine: { - flex: 1, height: 0.5, - backgroundColor: colors.black, + marginVertical: 15, + backgroundColor: colors.midGrey, }, headerText: { fontSize: 20, @@ -52,11 +52,11 @@ export default StyleSheet.create({ color: colors.black, }, bodyText: { - fontSize: 12, + fontSize: 14, fontStyle: 'normal', fontWeight: '300', lineHeight: 16, - color: colors.darkGrey, + color: colors.black, }, separatorText: { fontSize: 12, @@ -65,4 +65,21 @@ export default StyleSheet.create({ lineHeight: 16, color: colors.black, }, + topContainer: { + justifyContent: 'space-between', + alignItems: 'center', + flexDirection: 'row', + }, + bottomContainer: { + justifyContent: 'space-between', + alignItems: 'center', + flexDirection: 'row', + }, + smallText: { + fontSize: 14, + fontStyle: 'normal', + fontWeight: '300', + lineHeight: 16, + color: colors.darkGrey, + }, });