Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

minor styling improvements

AykutSarac7bcbd3beb4d7
diff --git a/src/containers/Landing/PremiumPreview.tsx b/src/containers/Landing/PremiumPreview.tsx
index 825ffbd3..1acfc2d9 100644
--- a/src/containers/Landing/PremiumPreview.tsx
+++ b/src/containers/Landing/PremiumPreview.tsx
@@ -52,6 +52,7 @@ export const PremiumPreview = () => {
order={2}
mt={100}
mb={60}
+ c="dark"
>
Discover the features
</Title>
@@ -70,16 +71,22 @@ export const PremiumPreview = () => {
onChange={setSelectedFeature}
orientation="vertical"
withItemsBorders={false}
- bg="transparent"
- color="dark"
size="lg"
styles={{
control: {
- background: "rgba(141, 127, 174, 0.15)",
borderRadius: "4px",
+ background: "#181818",
+ mixBlendMode: "difference",
},
root: {
gap: "24px",
+ background: "transparent",
+ },
+ indicator: {
+ background: "#120F43",
+ },
+ label: {
+ color: "white",
},
}}
/>
@@ -89,6 +96,7 @@ export const PremiumPreview = () => {
href="#features"
variant="light"
color="gray"
+ c="black"
fw={500}
radius="sm"
size="lg"
diff --git a/src/containers/Toolbar/index.tsx b/src/containers/Toolbar/index.tsx
index c18d71a0..3474cf4a 100644
--- a/src/containers/Toolbar/index.tsx
+++ b/src/containers/Toolbar/index.tsx
@@ -4,7 +4,7 @@ import { useLocalStorage } from "@mantine/hooks";
import toast from "react-hot-toast";
import { AiOutlineFullscreen } from "react-icons/ai";
import { FiDownload } from "react-icons/fi";
-import { MdChevronRight } from "react-icons/md";
+import { MdStars } from "react-icons/md";
import { SearchInput } from "src/containers/Toolbar/SearchInput";
import { FileFormat } from "src/enums/file.enum";
import { JSONCrackLogo } from "src/layout/JsonCrackLogo";
@@ -89,10 +89,10 @@ export const Toolbar = ({ isWidget = false }: ToolbarProps) => {
gaEvent("Toolbar", "click upgrade premium");
}}
>
- <Text fw={800} fz="xs">
+ <MdStars color="#2e50a7" size="16" />
+ <Text c="#2e50a7" fw={800} fz="xs">
Upgrade
</Text>
- <MdChevronRight size="16" />
</Styles.StyledToolElement>
</Indicator>
)}
diff --git a/src/pages/pricing.tsx b/src/pages/pricing.tsx
index 30934edb..a014f630 100644
--- a/src/pages/pricing.tsx
+++ b/src/pages/pricing.tsx
@@ -42,33 +42,40 @@ const StyledPaper = styled(Paper)<PaperProps & any>`
padding: 1.5em;
width: 350px;
border-radius: 8px;
- border: 2px solid #e9e9e9;
+ border: 2px solid #e2e2e2;
background: white;
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
`;
export const PricingCards = () => {
const [isMonthly, setIsMonthly] = React.useState(true);
return (
- <Stack gap="0" align="center" maw="720px" mx="auto">
+ <Stack gap="0" align="center" maw="730px" mx="auto">
<Center my="lg">
<SegmentedControl
- bg="gray.1"
+ bg="gray.3"
color="white"
value={isMonthly ? "Monthly" : "Annual"}
onChange={v => setIsMonthly(v === "Monthly")}
- size="md"
- data={["Monthly", "Annual"]}
- w={200}
- radius="md"
+ size="sm"
+ data={[
+ {
+ label: "Pay monthly",
+ value: "Monthly",
+ },
+ {
+ label: `Pay yearly (save ${PRICING.getAnnualSave()}%)`,
+ value: "Annual",
+ },
+ ]}
+ radius="xl"
styles={{ label: { color: "black" } }}
/>
</Center>
<Flex
- gap="6"
+ gap="sm"
wrap="wrap"
- justify="center"
+ justify="space-between"
w="fit-content"
maw="100%"
p={{
@@ -77,37 +84,6 @@ export const PricingCards = () => {
}}
mx="auto"
>
- <Box w="100%">
- <StyledPaper withBorder p="sm" w="100%" visibleFrom="sm">
- <Flex gap="xs" align="end" justify="space-between">
- <Stack gap="5">
- <Text fz="md" fw={500}>
- Buy once,
- <Text ml={4} component="span" inherit c="brightBlue">
- use forever
- </Text>
- !
- </Text>
- <Text fz="sm" maw={400}>
- Lifetime access. One-time payment. Free updates.
- </Text>
- </Stack>
- <Button
- component="a"
- href={purchaseLinks.ltd}
- target="_blank"
- fw={500}
- fz="sm"
- size="md"
- variant="light"
- color="indigo"
- rightSection={<FaArrowRightLong />}
- >
- Get Lifetime Access for ${PRICING.LTD}
- </Button>
- </Flex>
- </StyledPaper>
- </Box>
<StyledPaper>
<Flex justify="space-between">
<Stack gap="0" w="100%">
@@ -375,6 +351,36 @@ export const PricingCards = () => {
</List>
</Flex>
</StyledPaper>
+ <Box w="100%">
+ <StyledPaper withBorder p="xs" w="100%" visibleFrom="sm">
+ <Flex gap="xs" align="end" justify="space-between">
+ <Stack gap="5">
+ <Text c="dark" fz="md" fw={500}>
+ Buy once,
+ <Text ml={4} component="span" inherit c="brightBlue">
+ use forever
+ </Text>
+ !
+ </Text>
+ <Text c="gray.8" fz="sm" maw={400}>
+ Lifetime access. One-time payment. Free updates.
+ </Text>
+ </Stack>
+ <Button
+ component="a"
+ href={purchaseLinks.ltd}
+ target="_blank"
+ fw={500}
+ fz="sm"
+ size="md"
+ color="indigo"
+ rightSection={<FaArrowRightLong />}
+ >
+ Get Lifetime Access for ${PRICING.LTD}
+ </Button>
+ </Flex>
+ </StyledPaper>
+ </Box>
</Flex>
</Stack>
);