Skip to content

Commit

Permalink
remove blur to make text legible in the image.
Browse files Browse the repository at this point in the history
  • Loading branch information
agurvich committed Apr 3, 2024
1 parent 8d97b07 commit 480d951
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions overrides/components/hyperwall-cta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const InfoImageContent = styled.div`
background-position: right bottom;
background-repeat: no-repeat;
background-size: cover;
filter: blur(4px);
//filter: blur(4px);
z-index: 1; // Ensure this is behind the content
}
Expand Down Expand Up @@ -77,6 +77,11 @@ const InfoImageContent = styled.div`
`}
`;

const GutterText = styled('span')`
background-color:black;
margin-top:10px;
`


export default function HyperwallCTA({
width
Expand All @@ -93,9 +98,9 @@ export default function HyperwallCTA({
<StyledVarHeading size="small" as="h2">
Live Earth Dashboard
</StyledVarHeading>
<span>
<GutterText>
An interactive way to explore what's happening on Earth right now
</span>
</GutterText>
<Button
forwardedAs="a"
href="/stories/hyperwall"
Expand Down
Binary file modified overrides/home/media/hyperwall-image1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 480d951

Please sign in to comment.