-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat-marketplace-whitelisted-collection-indexer
- Loading branch information
Showing
8 changed files
with
53 additions
and
171 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { FC } from "react"; | ||
import { ImageBackground, ImageSourcePropType, TextStyle } from "react-native"; | ||
|
||
import { BrandText } from "./BrandText"; | ||
import { SVG } from "./SVG"; | ||
import { SpacerColumn } from "./spacer"; | ||
|
||
import logoSVG from "@/assets/logos/logo-white.svg"; | ||
import { useMaxResolution } from "@/hooks/useMaxResolution"; | ||
import { fontSemibold22, fontSemibold28 } from "@/utils/style/fonts"; | ||
import { RESPONSIVE_BREAKPOINT_S } from "@/utils/style/layout"; | ||
|
||
export const ImageBackgroundLogoText: FC<{ | ||
text: string; | ||
backgroundImage: ImageSourcePropType; | ||
}> = ({ text, backgroundImage }) => { | ||
const { width } = useMaxResolution(); | ||
const isSmallScreen = width < RESPONSIVE_BREAKPOINT_S; | ||
const logoSize = isSmallScreen ? 70 : 88; | ||
const fontStyle: TextStyle = isSmallScreen ? fontSemibold22 : fontSemibold28; | ||
const height = 380; | ||
|
||
return ( | ||
<ImageBackground | ||
source={backgroundImage} | ||
style={{ | ||
alignItems: "center", | ||
justifyContent: "center", | ||
height, | ||
width: "100%", | ||
}} | ||
> | ||
<SVG source={logoSVG} width={logoSize} height={logoSize} /> | ||
<SpacerColumn size={1} /> | ||
<BrandText style={fontStyle}>{text}</BrandText> | ||
</ImageBackground> | ||
); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 0 additions & 43 deletions
43
packages/screens/Launchpad/LaunchpadApply/LaunchpadCreate/components/LaunchpadBanner.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 0 additions & 44 deletions
44
packages/screens/LaunchpadERC20/component/LaunchpadERC20Banner.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters