Skip to content

Commit

Permalink
fixed some bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadHassan03 committed Sep 9, 2024
1 parent f4786af commit cd89662
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
5 changes: 3 additions & 2 deletions packages/app/components/footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,9 @@ const loadStyles = (currentTheme, xs, sm, md) => {
paddingVertical: 18,
},
logo: {
backgroundColor: 'blue',
borderRadius: 8,
backgroundColor: currentTheme.colors.tertiaryBlue,
borderRadius: 10,
cursor: 'pointer',
},
navLinks: {
flexDirection: 'row',
Expand Down
2 changes: 1 addition & 1 deletion packages/app/components/landing_page/FAQS.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const loadStyles = (currentTheme, xs, sm, md) => StyleSheet.create({
alignItems: 'center',
},
faqBox: {
width: xs || sm ? '100%' : '24vw',
width: xs || sm || md ? '100%' : '24vw',
},
faqMainTitle: {
fontSize: xs || sm || md ? 20 : 26,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const LandingPageAccordion = () => {
/>
</RButton>
</View>
<View style={{flexDirection: xs || sm || md ? 'column' : 'row', alignItems: 'center', justifyContent: 'center', gap: 50,}}>
<View style={{flexDirection: xs || sm || md ? 'column' : 'row', alignItems: 'center', justifyContent: 'center', gap: 10,}}>
<RText style={styles.cardContent}>{data.content}</RText>
<RImage
src={data.frameLink}
Expand Down
7 changes: 4 additions & 3 deletions packages/app/components/landing_page/landingpage.style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,13 @@ const loadStyles = (theme) => {
width: '100%',
},
cardContent: {
fontSize: xs || sm || md ? 20 : 35,
fontSize: xs || sm || md ? 20 : 25,
color: currentTheme.colors.textPrimary,
width: xs || sm ? '100vw' : '30vw',
textAlign: 'center',
width: xs || sm ? '100%' : '30vw',
textAlign: xs || sm || md ? 'center' : 'left',
marginLeft: xs || sm || md ? 10 : 0,
marginRight: xs || sm || md ? 10 : 0,
fontWeight: 'normal',
// border: '1px solid black'
},
secondaryContainerIntroDiv: {
Expand Down

0 comments on commit cd89662

Please sign in to comment.