update splash screen
This commit is contained in:
@@ -516,9 +516,9 @@ const MainNet = () => {
|
||||
textOverflow="ellipsis"
|
||||
isTruncated
|
||||
color={colorMode === "light" ? "#230A79" : "#B09AFF"}
|
||||
onClick={() => navigate(`/smart-contract`)}
|
||||
cursor={"pointer"}
|
||||
>
|
||||
<Link to="/smart-contract">{scTokenHash}</Link>
|
||||
{scTokenHash}
|
||||
</Text>
|
||||
</Box>
|
||||
)}
|
||||
@@ -535,8 +535,6 @@ const MainNet = () => {
|
||||
</Text>
|
||||
</Box>
|
||||
|
||||
|
||||
|
||||
{amount&&<Box>
|
||||
<Text
|
||||
mb={2}
|
||||
|
||||
@@ -3,16 +3,17 @@ import { OPACITY_ON_LOAD } from "../Layout/animations";
|
||||
import { Box, Image, useColorMode } from "@chakra-ui/react";
|
||||
import logo from "../assets/images/rubix.png";
|
||||
import logoLight from "../assets/images/rubixlogo.svg";
|
||||
import rubixLoaders from "../assets/images/rubixLoader.gif";
|
||||
|
||||
const SplashScreen = () => {
|
||||
const { colorMode } = useColorMode();
|
||||
|
||||
return <Box zIndex={1000} bg={'#000'} h={'100vh'} display={'flex'} justifyContent={'center'} alignItems={'center'} {...OPACITY_ON_LOAD}>
|
||||
return <Box zIndex={1000} bg={'#fff'} h={'100vh'} display={'flex'} justifyContent={'center'} alignItems={'center'} {...OPACITY_ON_LOAD}>
|
||||
|
||||
<Image
|
||||
src={colorMode === "light" ? logoLight : logo}
|
||||
src={colorMode === "light" ? rubixLoaders : rubixLoaders}
|
||||
// width={"120px"}
|
||||
width={{base:"95px",md : "120px"}}
|
||||
width={{base:"50%",md : "25%"}}
|
||||
/>
|
||||
</Box>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user