Skip to content

Commit 91145d6

Browse files
authoredJan 8, 2025··
chore: update the xmas asset to new year asset (#11119)
<!-- Before opening a pull request, please read the [contributing guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md) first --> <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the styling for the `XmasEffect` component, changing its dimensions and background image to reflect a new year's theme instead of a Christmas theme. ### Detailed summary - Changed `width` from `16vw` to `26vw` - Changed `height` from `19.2vw` to `15vw` - Updated `background` image URL from a Christmas tree to a new year's theme image > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent c79c84c commit 91145d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎apps/web/src/views/SwapSimplify/V4Swap/XmasEffect.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ const XmaxTree = styled.div`
3333
}
3434
3535
left: 1%;
36-
width: 16vw;
37-
height: 19.2vw;
38-
background: url('${ASSET_CDN}/web/swap/xmas/xmas-tree-${({ theme }) => (theme.isDark ? 'dark' : 'light')}.png')
36+
width: 26vw;
37+
height: 15vw;
38+
background: url('${ASSET_CDN}/web/swap/new-year/new-year-${({ theme }) => (theme.isDark ? 'dark' : 'light')}.png')
3939
no-repeat center center fixed;
4040
background-size: cover;
4141
`

0 commit comments

Comments
 (0)
Please sign in to comment.