Skip to content

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

feat: update landing

AykutSaracdcc1f4ee1f70
diff --git a/src/containers/Landing/Features.tsx b/src/containers/Landing/Features.tsx
index 0d0b1a9e..7d90b31c 100644
--- a/src/containers/Landing/Features.tsx
+++ b/src/containers/Landing/Features.tsx
@@ -1,5 +1,5 @@
import React from "react";
-import { Text, Title, Grid, Paper, Badge, Image } from "@mantine/core";
+import { Text, Title, Grid, Paper, Badge, Image, Container } from "@mantine/core";
import styled from "styled-components";
const StyledPaper = styled.div`
@@ -27,7 +27,7 @@ const StyledPaper = styled.div`
export const Features = () => {
return (
- <section id="features">
+ <Container component="section" id="features" fluid my={150}>
<Title
c="black"
order={2}
@@ -242,6 +242,6 @@ export const Features = () => {
</Paper>
</Grid.Col>
</Grid>
- </section>
+ </Container>
);
};
diff --git a/src/containers/Landing/HeroSection.tsx b/src/containers/Landing/HeroSection.tsx
index 300cb907..36468192 100644
--- a/src/containers/Landing/HeroSection.tsx
+++ b/src/containers/Landing/HeroSection.tsx
@@ -133,8 +133,9 @@ export const HeroSection = () => {
size="lg"
radius="lg"
rightSection={<MdChevronRight size={30} />}
+ mt="sm"
>
- Get Started
+ Visualize now
</Button>
</Stack>
</StyledHeroSectionBody>
diff --git a/src/containers/Landing/Outro.tsx b/src/containers/Landing/Outro.tsx
index e0d4e8b6..05be49ff 100644
--- a/src/containers/Landing/Outro.tsx
+++ b/src/containers/Landing/Outro.tsx
@@ -4,7 +4,7 @@ import { Stack, Title, Button } from "@mantine/core";
export const Outro = () => {
return (
- <Stack align="center" mt={150}>
+ <Stack align="center" my={150}>
<Title
fz={{
sm: 32,
diff --git a/src/containers/Landing/PremiumVsFree.tsx b/src/containers/Landing/PremiumVsFree.tsx
index 52756ea1..6c177750 100644
--- a/src/containers/Landing/PremiumVsFree.tsx
+++ b/src/containers/Landing/PremiumVsFree.tsx
@@ -1,5 +1,5 @@
import React from "react";
-import { Title, Overlay, Paper, rem, Grid, Flex, Image, Text } from "@mantine/core";
+import { Title, Overlay, Paper, rem, Grid, Flex, Image, Text, Container } from "@mantine/core";
import { Carousel } from "@mantine/carousel";
import styled from "styled-components";
import { ReactCompareSlider } from "react-compare-slider";
@@ -20,7 +20,7 @@ const StyledImageWrapper = styled.div`
export const PremiumVsFree = () => {
return (
- <section id="premium">
+ <Container component="section" id="premium" fluid my={150}>
<Title
c="black"
order={2}
@@ -179,7 +179,7 @@ export const PremiumVsFree = () => {
</Grid>
<Paper w="95%" mt={100} mx="auto" radius="md" style={{ overflow: "hidden" }} visibleFrom="xs">
- <Carousel slideGap="md" slideSize="50%" height="100%" loop>
+ <Carousel bg="white" slideGap="md" slideSize="50%" height="100%" loop>
{images.map(image => (
<Carousel.Slide key={image.id}>
<Image
@@ -195,6 +195,6 @@ export const PremiumVsFree = () => {
))}
</Carousel>
</Paper>
- </section>
+ </Container>
);
};
diff --git a/src/containers/Landing/Pricing.tsx b/src/containers/Landing/Pricing.tsx
index 7abe346c..1b7f07c1 100644
--- a/src/containers/Landing/Pricing.tsx
+++ b/src/containers/Landing/Pricing.tsx
@@ -1,10 +1,10 @@
import React from "react";
-import { Title } from "@mantine/core";
+import { Container, Title } from "@mantine/core";
import { PricingCards } from "src/pages/pricing";
export const Pricing = () => {
return (
- <section id="pricing">
+ <Container component="section" id="pricing" my={150} fluid>
<Title
c="black"
order={2}
@@ -20,6 +20,6 @@ export const Pricing = () => {
Pricing
</Title>
<PricingCards />
- </section>
+ </Container>
);
};
diff --git a/src/layout/Navbar.tsx b/src/layout/Navbar.tsx
index 49496fd0..61962621 100644
--- a/src/layout/Navbar.tsx
+++ b/src/layout/Navbar.tsx
@@ -115,7 +115,7 @@ export const Navbar = () => {
radius="lg"
size="md"
>
- Get started for free
+ Start for free
</Button>
</Right>
</StyledNavbar>
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index 3db01e34..49dc969e 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -1,6 +1,5 @@
import React from "react";
import Head from "next/head";
-import { Divider } from "@mantine/core";
import "@mantine/carousel/styles.css";
import { metaDescription } from "src/constants/landing";
import { FAQ } from "src/containers/Landing/FAQ";
@@ -24,9 +23,8 @@ export const HomePage = () => {
<HeroSection />
<HeroPreview />
<Features />
- <Divider w="80%" my={100} mx="auto" />
- <PremiumVsFree />
<Pricing />
+ <PremiumVsFree />
<FAQ />
<Outro />
</Layout>
diff --git a/src/pages/pricing.tsx b/src/pages/pricing.tsx
index f6a61e0d..bed67446 100644
--- a/src/pages/pricing.tsx
+++ b/src/pages/pricing.tsx
@@ -17,7 +17,6 @@ import {
} from "@mantine/core";
import styled from "styled-components";
import { AiOutlineInfoCircle } from "react-icons/ai";
-import { FaArrowTrendDown } from "react-icons/fa6";
import { IoIosCheckmarkCircle } from "react-icons/io";
import { IoCheckmarkCircle } from "react-icons/io5";
import { PiChats } from "react-icons/pi";
@@ -123,6 +122,7 @@ export const PricingCards = () => {
label="Integrate premium graph visualization into your own website/apps using iframe"
maw={350}
multiline
+ withArrow
>
<Text
c="gray.7"
@@ -145,6 +145,7 @@ export const PricingCards = () => {
label="Listen for events like node click, hover, center etc. Display your own UI"
maw={350}
multiline
+ withArrow
>
<Text
c="gray.7"
@@ -162,6 +163,7 @@ export const PricingCards = () => {
label="Customize the look and feel of the editor matching with your own branding"
maw={350}
multiline
+ withArrow
>
<Text
c="gray.7"
@@ -199,14 +201,8 @@ export const PricingCards = () => {
Premium
</Text>
{!isMonthly && (
- <Badge
- size="lg"
- variant="light"
- color="#ff0000"
- ml="sm"
- leftSection={<FaArrowTrendDown />}
- >
- 16%
+ <Badge size="lg" variant="light" c="#41B619" radius="md" color="green" ml="sm">
+ SAVE 16%
</Badge>
)}
</Flex>
@@ -297,6 +293,7 @@ export const PricingCards = () => {
label="Edit nodes directly on the graph reflecting to the data"
maw={350}
multiline
+ withArrow
>
<Text
c="gray.7"
@@ -370,7 +367,7 @@ export const PricingCards = () => {
<List.Item>
<Tooltip
color="blue"
- label="Visualize up to ~300 KB depending on your hardware"
+ label="Visualize up to ~300 KB of data"
maw={350}
multiline
withArrow
@@ -396,6 +393,7 @@ export const PricingCards = () => {
}
maw={350}
multiline
+ withArrow
>
<Anchor
href="https://github.com/AykutSarac/jsoncrack.com"