Skip to content

Commit

Permalink
update color scheme on landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
wbglaeser committed Nov 10, 2024
1 parent dc0b162 commit 0106c30
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/screens/landing-page/sections/LandingPageFact.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const LandingPageFact = ({isDesktop}) => {
const { t } = useTranslation();

return (
<LandingPageSectionWrapper isDesktop={isDesktop}>
<LandingPageSectionWrapper backgroundColor={'white'} isDesktop={isDesktop}>
<LandingPageSectionGrid>
<VStack justifyContent={'center'} alignItems={'center'} sx={{minHeight: 350}}>
<HStack>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const LandingPageFeedback = ({isDesktop}) => {
const { t } = useTranslation();

return (
<LandingPageSectionWrapper isDesktop={isDesktop}>
<LandingPageSectionWrapper backgroundColor={'white'} isDesktop={isDesktop}>
<LandingPageSectionGrid title={t('home.feedback.header')}>
<Typography sx={styles.text}>
{t('home.feedback.text')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import LandingPageFooterMobile from "./views/LandingPageFooterMobile";

const LandingPageFooter = ({isDesktop}) => {
return (
<LandingPageSectionWrapper isDesktop={isDesktop}>
<LandingPageSectionWrapper backgroundColor={'white'} isDesktop={isDesktop}>
{isDesktop ? <LandingPageFooterDesktop/> : <LandingPageFooterMobile/>}
</LandingPageSectionWrapper>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const LandingPageFunding = ({isDesktop}) => {
const {t} = useTranslation();

return (
<LandingPageSectionWrapper isDesktop={isDesktop}>
<LandingPageSectionWrapper backgroundColor={'white'} isDesktop={isDesktop}>
<LandingPageSectionGrid title={t('home.supportedBy.header')}>
<LandingPageSupportCardNGI isDesktop={isDesktop}/>
<LandingPageSupportCard isDesktop={isDesktop}/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ const LandingPagePrincipleCard = ({isDesktop, icon, gif, title, text, gifFirst=t
return (
<HStack justifyContent={'center'}>
{gif ? (
<img src={gifUrl} alt="gif" style={{width: '140px', height: '140px', borderRadius: '4px'}}/>
<img src={gifUrl} alt="gif" style={{
width: '140px',
height: '140px',
borderRadius: '4px',
borderStyle: 'solid',
borderWidth: '1px',
borderColor: globalStyles.primaryColor,
}}/>
) : (
React.createElement(icon, {sx: {fontSize: 120, color: globalStyles.secondaryColor}})
)}
Expand Down

0 comments on commit 0106c30

Please sign in to comment.