Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit c3c7c31

Browse files
authored
Merge pull request #1747 from blockchain/fix/the-pit-banner-styling
Fix/the pit banner styling
2 parents 483c556 + e39b95d commit c3c7c31

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

packages/blockchain-info-components/src/Images/Images.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ import shapeshiftLogo from './img/shapeshift-logo.png'
6161
import silverApproved from './img/silver-approved.svg'
6262
import smartphone from './img/smartphone.png'
6363
import sophisticated from './img/sophisticated.svg'
64+
import starfieldBannerBg from './img/starfield-banner-bg.png'
6465
import starfield from './img/starfield.png'
6566
import starfield2 from './img/starfield2.png'
6667
import stellarPlanet from './img/stellar-planet.png'
@@ -199,6 +200,7 @@ export default {
199200
'sfox-landing': sfoxLanding,
200201
'sfox-logo': sfoxLogo,
201202
'silver-approved': silverApproved,
203+
'starfield-banner-bg': starfieldBannerBg,
202204
starfield: starfield,
203205
starfield2: starfield2,
204206
'stellar-planet': stellarPlanet,
53 KB
Loading

packages/blockchain-wallet-v4-frontend/src/layouts/Wallet/MenuLeft/Navigation/template.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const HelperTipContainer = styled.div`
2929
color: ${props => props.theme['gray-3']};
3030
}
3131
`
32+
3233
const NewCartridge = styled(Cartridge)`
3334
color: ${props => props.theme['orange']} !important;
3435
background-color: ${props => props.theme['white']};

packages/blockchain-wallet-v4-frontend/src/scenes/Home/Banners/ThePitBanner/index.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,9 @@ const Wrapper = styled.div`
1111
flex-direction: row;
1212
justify-content: space-between;
1313
align-items: center;
14-
box-sizing: border-box;
15-
background: ${props =>
16-
`linear-gradient(312.54deg, ${props.theme.purple} -25.42%, ${
17-
props.theme.black
18-
} 70.12%)`};
19-
border-radius: 4px;
14+
background-image: url('/img/starfield-banner-bg.png');
15+
background-size: cover;
16+
border-radius: 8px;
2017
overflow: hidden;
2118
padding: 20px;
2219
@@ -34,6 +31,7 @@ const NewCartridge = styled(Cartridge)`
3431
color: ${props => props.theme['pitTurquoise']};
3532
margin-left: 0px;
3633
margin-right: 20px;
34+
border-radius: 4px;
3735
`
3836
const Copy = styled(Text)`
3937
display: flex;
@@ -47,8 +45,9 @@ const Copy = styled(Text)`
4745
const BannerButton = styled(Button)`
4846
${media.mobile`
4947
font-size: 14px;
50-
height: 40px;
48+
height: 48px;
5149
margin-top: 8px;
50+
padding: 10px;
5251
`}
5352
`
5453

0 commit comments

Comments
 (0)