Skip to content

Commit

Permalink
fix: use optimized mobile bg image splash
Browse files Browse the repository at this point in the history
  • Loading branch information
dohaki committed Oct 12, 2023
1 parent 81f8989 commit 23e1bd5
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

0 comments on commit 23e1bd5

Please sign in to comment.