Skip to content

Commit

Permalink
Merge branch '443-enhance-the-rosen-bridge-page-by-incorporating-a-ca…
Browse files Browse the repository at this point in the history
…ptivating-background-image' into 'dev'

feat: Enhance the Rosen Bridge page by incorporating a captivating background image

Closes #443

See merge request ergo/rosen-bridge/ui!366
  • Loading branch information
zargarzadehm committed Nov 26, 2024
2 parents e9b7361 + 89e4c98 commit 8843f60
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/heavy-tables-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rosen-bridge/rosen-app': minor
---

Enhance the Rosen Bridge page by incorporating a captivating background image
4 changes: 4 additions & 0 deletions apps/rosen/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ const Main = styled('main')(({ theme }) => ({
borderTopLeftRadius: theme.shape.borderRadius * 2,
borderBottomLeftRadius: theme.shape.borderRadius * 2,
padding: theme.spacing(4),
backgroundImage: `url(./background-${theme.palette.mode}.png)`,
backgroundRepeat: 'no-repeat',
backgroundPosition: 'center center',
backgroundSize: 'cover',
}));

interface AppProps {
Expand Down
Binary file added apps/rosen/public/background-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/rosen/public/background-light.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 8843f60

Please sign in to comment.