Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
avanegasp committed Jan 24, 2025
1 parent e43edf6 commit 1de55dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/common/components/MktTwoColumnSideImage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,14 @@ function MktTwoColumnSideImage({
<Link
variant={!linkButton && 'buttonDefault'}
color={linkButton ? hexColor?.blueDefault : buttonColors?.color}
// color='green'
background={linkButton ? 'transparent' : hexColor?.blue3}
border="1px solid"
borderColor="transparent"
_hover={{
background: linkButton ? 'transparent' : hexColor?.blue5,
borderColor: linkButton ? 'transparent' : buttonColors?.color,
textDecoration: linkButton ? 'underline' : 'none',
}}
_active={{
background: linkButton ? 'transparent' : hexColor?.blue4,
Expand All @@ -256,7 +258,6 @@ function MktTwoColumnSideImage({
borderColor: linkButton ? 'transparent' : buttonColors?.color,
cursor: 'not-allowed',
}}
textDecoration={linkButton && 'underline'}
fontSize={buttonLabelSize}
margin="8px 0 0 0"
href={buttonUrl || '#recommended-courses'}
Expand All @@ -266,7 +267,10 @@ function MktTwoColumnSideImage({
fontFamily="Lato"
// fontSize={buttonLabelSize}
>
{/* <Link color={hexColor.blueDefault} href={aricle_url || '#'} target="__blank" visibility={aricle_url ? 'visible' : 'hidden'}></Link> */}
{buttonLabel}
{' '}
{linkButton && '→'}
</Link>
)}
</Flex>
Expand Down

0 comments on commit 1de55dc

Please sign in to comment.