Skip to content

Commit

Permalink
chanegs made
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcos Hernandez committed Apr 12, 2024
1 parent 36fe4bf commit 586197a
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 50 deletions.
43 changes: 16 additions & 27 deletions src/components/ContentCard/ContentCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,33 +59,22 @@ function ContentCard({
</Text>
</View>
<View style={styles.buttons}>
<View>
<TouchableOpacity
onPress={() => null}
style={{ flexDirection: 'row' }}
>
<View
style={[styles.reactions, { backgroundColor: '#FFCCCB' }]}
>
<Emoji name="heart" />
</View>
<View
style={[styles.reactions, { backgroundColor: '#FFD580' }]}
>
<Emoji name="clap" />
</View>
<View
style={[styles.reactions, { backgroundColor: '#89CFF0' }]}
>
<Emoji name="muscle" />
</View>
{/* heart, clap, muscle, cry, ??? */}
<View style={styles.reactionNumber}>
<Text style={[globalStyles.subtext, styles.reactionText]}>
14{/*change number to work*/}
</Text>
</View>
</TouchableOpacity>
<View style={{ flexDirection: 'row', gap: -7 }}>
<View style={[styles.reactions, { backgroundColor: '#FFCCCB' }]}>
<Emoji name="heart" />
</View>
<View style={[styles.reactions, { backgroundColor: '#FFD580' }]}>
<Emoji name="clap" />
</View>
<View style={[styles.reactions, { backgroundColor: '#89CFF0' }]}>
<Emoji name="muscle" />
</View>
{/* heart, clap, muscle, cry, ??? */}
<View style={styles.reactionNumber}>
<Text style={[globalStyles.subtext, styles.reactionText]}>
14{/*change number to work*/}
</Text>
</View>
</View>
<TouchableOpacity onPress={() => saveStory()}>
<Image
Expand Down
2 changes: 1 addition & 1 deletion src/components/ContentCard/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const styles = StyleSheet.create({
color: colors.grey,
},
reactionNumber: {
marginLeft: 10,
marginLeft: 14,
marginTop: 16,
},
reactions: {
Expand Down
37 changes: 16 additions & 21 deletions src/components/PreviewCard/PreviewCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,27 +76,22 @@ function PreviewCard({
</View>
</View>
<View style={styles.tagsContainer}>
<View>
<TouchableOpacity
onPress={() => null}
style={{ flexDirection: 'row' }}
>
<View style={[styles.reactions, { backgroundColor: '#FFCCCB' }]}>
<Emoji name="heart" />
</View>
<View style={[styles.reactions, { backgroundColor: '#FFD580' }]}>
<Emoji name="clap" />
</View>
<View style={[styles.reactions, { backgroundColor: '#89CFF0' }]}>
<Emoji name="muscle" />
</View>
{/* heart, clap, muscle, cry, ??? */}
<View style={styles.reactionNumber}>
<Text style={[globalStyles.subtext, styles.reactionText]}>
14{/*change number to work*/}
</Text>
</View>
</TouchableOpacity>
<View style={{ flexDirection: 'row', gap: -7 }}>
<View style={[styles.reactions, { backgroundColor: '#FFCCCB' }]}>
<Emoji name="heart" />
</View>
<View style={[styles.reactions, { backgroundColor: '#FFD580' }]}>
<Emoji name="clap" />
</View>
<View style={[styles.reactions, { backgroundColor: '#89CFF0' }]}>
<Emoji name="muscle" />
</View>
{/* heart, clap, muscle, cry, ??? */}
<View style={styles.reactionNumber}>
<Text style={[globalStyles.subtext, styles.reactionText]}>
14{/*change number to work*/}
</Text>
</View>
</View>
<View style={styles.tagsRow}>
{(tags?.length ?? 0) > 0 && (
Expand Down
2 changes: 1 addition & 1 deletion src/components/PreviewCard/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const styles = StyleSheet.create({
color: colors.grey,
},
reactionNumber: {
marginLeft: 10,
marginLeft: 14,
marginTop: 16,
},
storyDescription: {
Expand Down

0 comments on commit 586197a

Please sign in to comment.