Skip to content

Commit

Permalink
fix: use optimized mobile bg image splash (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
dohaki authored Oct 12, 2023
1 parent 843a516 commit 0124480
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Binary file added src/assets/splash-mesh-bg-mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/views/Splash/Splash.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Text } from "components/Text";
import { Link } from "react-router-dom";
import { QUERIESV2 } from "utils";
import BGMesh from "assets/splash-mesh-bg.svg";
import BGMeshMobile from "assets/splash-mesh-bg-mobile.png";

export const ExternalWrapper = styled.div`
background: url(${BGMesh});
Expand All @@ -12,6 +13,8 @@ export const ExternalWrapper = styled.div`
padding-top: 72px;
@media ${QUERIESV2.sm.andDown} {
background: url(${BGMeshMobile});
margin-top: -64px;
padding-top: 64px;
}
Expand Down

2 comments on commit 0124480

@vercel
Copy link

@vercel vercel bot commented on 0124480 Oct 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 0124480 Oct 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

goerli-frontend-v2 – ./

goerli-frontend-v2-uma.vercel.app
goerli-frontend-v2.vercel.app
goerli-frontend-v2-git-master-uma.vercel.app

Please sign in to comment.