From cd896620a2c9129b211f836c5a7c08b697c8b68b Mon Sep 17 00:00:00 2001 From: Muhammad Hassan Date: Mon, 9 Sep 2024 17:29:32 +0500 Subject: [PATCH] fixed some bugs --- packages/app/components/footer/Footer.tsx | 5 +++-- packages/app/components/landing_page/FAQS.tsx | 2 +- .../app/components/landing_page/LandingPageAccordion.tsx | 2 +- packages/app/components/landing_page/landingpage.style.tsx | 7 ++++--- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/packages/app/components/footer/Footer.tsx b/packages/app/components/footer/Footer.tsx index 5a2d39f3f..59081736d 100644 --- a/packages/app/components/footer/Footer.tsx +++ b/packages/app/components/footer/Footer.tsx @@ -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', diff --git a/packages/app/components/landing_page/FAQS.tsx b/packages/app/components/landing_page/FAQS.tsx index 983e2a148..fdb1e16a4 100644 --- a/packages/app/components/landing_page/FAQS.tsx +++ b/packages/app/components/landing_page/FAQS.tsx @@ -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, diff --git a/packages/app/components/landing_page/LandingPageAccordion.tsx b/packages/app/components/landing_page/LandingPageAccordion.tsx index eac7dd24a..d485c9865 100644 --- a/packages/app/components/landing_page/LandingPageAccordion.tsx +++ b/packages/app/components/landing_page/LandingPageAccordion.tsx @@ -51,7 +51,7 @@ export const LandingPageAccordion = () => { /> - + {data.content} { 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: {