✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
fix: image size
AykutSaracfdaffa622a85
diff --git a/src/components/Loading/index.tsx b/src/components/Loading/index.tsxindex cc657aba..1ba58b5a 100644--- a/src/components/Loading/index.tsx+++ b/src/components/Loading/index.tsx@@ -1,5 +1,5 @@import React from "react";-import { Center, Image, Stack } from "@mantine/core";+import { Center, Image, Stack, Title } from "@mantine/core";import styled, { keyframes } from "styled-components";interface LoadingProps {@@ -34,16 +34,10 @@ const StyledLoading = styled.div<{ visible: boolean }>`visibility: hidden;img {- transform: rotate(45deg) translate(125px, -50px);+ transform: rotate(45deg) translate(100px, -70px);}`;-const StyledLogo = styled.h2`- font-weight: 800;- font-size: 70px;- margin-bottom: 10px;-`;-const StyledText = styled.span`color: #faa81a;`;@@ -55,15 +49,15 @@ const StyledMessage = styled.div``;export const Loading: React.FC<LoadingProps> = ({ loading = true, message }) => (- <StyledLoading visible={loading}>- <Center>+ <Center mx="auto">+ <StyledLoading visible={true}><Stack>- <Image mah={225} maw={225} src="./assets/rocket_ship.webp" alt="loading image" />- <StyledLogo>+ <Image maw={150} src="./assets/rocket_ship.webp" alt="loading image" />+ <Title size="4rem"><StyledText>JSON</StyledText> Crack- </StyledLogo>+ </Title><StyledMessage>{message ?? "Preparing the environment for you..."}</StyledMessage></Stack>- </Center>- </StyledLoading>+ </StyledLoading>+ </Center>);