update splash screen

This commit is contained in:
YasinShaikh123
2024-11-05 20:23:39 +05:30
parent df1320683c
commit 90444ac8b7
2 changed files with 6 additions and 7 deletions

View File

@@ -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}

View File

@@ -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>;
};