mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2025-01-12 19:02:53 +08:00
landing improvements
This commit is contained in:
parent
b50a9c2fc5
commit
dcbec83aac
BIN
public/assets/mesh.webp
Normal file
BIN
public/assets/mesh.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 481 KiB |
@ -131,13 +131,13 @@ export const HeroSection = () => {
|
|||||||
radius="md"
|
radius="md"
|
||||||
fw="500"
|
fw="500"
|
||||||
>
|
>
|
||||||
Premium
|
Explore Premium
|
||||||
</Button>
|
</Button>
|
||||||
</Flex>
|
</Flex>
|
||||||
<Flex gap="lg" wrap="wrap" justify="center" visibleFrom="xs">
|
<Flex gap="lg" wrap="wrap" justify="center" visibleFrom="xs">
|
||||||
<Button
|
<Button
|
||||||
component="a"
|
component="a"
|
||||||
color="indigo"
|
color="#202842"
|
||||||
href="/editor"
|
href="/editor"
|
||||||
size="lg"
|
size="lg"
|
||||||
radius="md"
|
radius="md"
|
||||||
@ -155,7 +155,7 @@ export const HeroSection = () => {
|
|||||||
radius="md"
|
radius="md"
|
||||||
fw="500"
|
fw="500"
|
||||||
>
|
>
|
||||||
Premium
|
Explore Premium
|
||||||
</Button>
|
</Button>
|
||||||
</Flex>
|
</Flex>
|
||||||
<Text ta="center" size="xs" c="gray">
|
<Text ta="center" size="xs" c="gray">
|
||||||
|
@ -83,7 +83,7 @@ export const PremiumPreview = () => {
|
|||||||
background: "transparent",
|
background: "transparent",
|
||||||
},
|
},
|
||||||
indicator: {
|
indicator: {
|
||||||
background: "#120F43",
|
background: "#000000",
|
||||||
},
|
},
|
||||||
label: {
|
label: {
|
||||||
color: "white",
|
color: "white",
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import { Title, Image, Container, Flex, Box, List, Button } from "@mantine/core";
|
import { Title, Image, Container, Flex, Box, Button, Text } from "@mantine/core";
|
||||||
import styled from "styled-components";
|
import styled from "styled-components";
|
||||||
import { FaArrowRightLong } from "react-icons/fa6";
|
import { FaArrowRightLong } from "react-icons/fa6";
|
||||||
import { IoMdCheckmark } from "react-icons/io";
|
|
||||||
|
|
||||||
const StyledImageWrapper = styled.div`
|
const StyledImageWrapper = styled.div`
|
||||||
flex: 1.8;
|
flex: 1.8;
|
||||||
@ -13,7 +12,7 @@ const StyledImageWrapper = styled.div`
|
|||||||
|
|
||||||
export const PremiumVsFree = () => {
|
export const PremiumVsFree = () => {
|
||||||
return (
|
return (
|
||||||
<Container p={30} bg="dark" id="premium" fluid component="section" my={120}>
|
<Container p={30} bg="#202842" id="premium" fluid component="section" my={120}>
|
||||||
<Container size="lg">
|
<Container size="lg">
|
||||||
<Flex
|
<Flex
|
||||||
gap="lg"
|
gap="lg"
|
||||||
@ -36,28 +35,17 @@ export const PremiumVsFree = () => {
|
|||||||
fw={600}
|
fw={600}
|
||||||
mb={20}
|
mb={20}
|
||||||
>
|
>
|
||||||
Explore Premium.
|
Premium
|
||||||
<Box pos="absolute" mt="-8px" maw="150px" w="100%">
|
<Box pos="absolute" mt="-6px" maw="150px" w="100%">
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1418 125" fill="#ffbb55">
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1418 125" fill="#ffbb55">
|
||||||
<path d="M1412.29 72.17c-11.04-5.78-20.07-14.33-85.46-25.24-22.37-3.63-44.69-7.56-67.07-11.04-167.11-22.06-181.65-21.24-304.94-30.56C888.78 1.39 822.57 1.1 756.44 0c-46.63-.11-93.27 1.56-139.89 2.5C365.5 13.55 452.86 7.68 277.94 23.15 202.57 33.32 127.38 45.01 52.07 55.69c-11.23 2.41-22.63 4.17-33.71 7.22C6.1 66.33 5.64 66.19 3.89 67.79c-7.99 5.78-2.98 20.14 8.72 17.5 33.99-9.47 32.28-8.57 178.06-29.66 4.26 4.48 7.29 3.38 18.42 3.11 13.19-.32 26.38-.53 39.56-1.12 53.51-3.81 106.88-9.62 160.36-13.95 18.41-1.3 36.8-3.12 55.21-4.7 23.21-1.16 46.43-2.29 69.65-3.4 120.28-2.16 85.46-3.13 234.65-1.52 23.42.99 1.57-.18 125.72 6.9 96.61 8.88 200.92 27.94 295.42 46.12 40.87 7.91 116.67 23.2 156.31 36.78 3.81 1.05 8.28-.27 10.51-3.58 3.17-3.72 2.66-9.7-.78-13.13-3.25-3.12-8.14-3.44-12.18-5.08-17.89-5.85-44.19-12.09-63.67-16.56l26.16 3.28c23.02 3.13 46.28 3.92 69.34 6.75 10.8.96 25.43 1.81 34.34-4.39 2.26-1.54 4.86-2.75 6.21-5.27 2.76-4.59 1.13-11.06-3.59-13.68ZM925.4 23.77c37.64 1.4 153.99 10.85 196.64 14.94 45.95 5.51 91.89 11.03 137.76 17.19 24.25 4.77 74.13 11.21 101.72 18.14-11.87-1.15-23.77-1.97-35.65-3.06-133.46-15.9-266.8-33.02-400.47-47.21Z"></path>
|
<path d="M1412.29 72.17c-11.04-5.78-20.07-14.33-85.46-25.24-22.37-3.63-44.69-7.56-67.07-11.04-167.11-22.06-181.65-21.24-304.94-30.56C888.78 1.39 822.57 1.1 756.44 0c-46.63-.11-93.27 1.56-139.89 2.5C365.5 13.55 452.86 7.68 277.94 23.15 202.57 33.32 127.38 45.01 52.07 55.69c-11.23 2.41-22.63 4.17-33.71 7.22C6.1 66.33 5.64 66.19 3.89 67.79c-7.99 5.78-2.98 20.14 8.72 17.5 33.99-9.47 32.28-8.57 178.06-29.66 4.26 4.48 7.29 3.38 18.42 3.11 13.19-.32 26.38-.53 39.56-1.12 53.51-3.81 106.88-9.62 160.36-13.95 18.41-1.3 36.8-3.12 55.21-4.7 23.21-1.16 46.43-2.29 69.65-3.4 120.28-2.16 85.46-3.13 234.65-1.52 23.42.99 1.57-.18 125.72 6.9 96.61 8.88 200.92 27.94 295.42 46.12 40.87 7.91 116.67 23.2 156.31 36.78 3.81 1.05 8.28-.27 10.51-3.58 3.17-3.72 2.66-9.7-.78-13.13-3.25-3.12-8.14-3.44-12.18-5.08-17.89-5.85-44.19-12.09-63.67-16.56l26.16 3.28c23.02 3.13 46.28 3.92 69.34 6.75 10.8.96 25.43 1.81 34.34-4.39 2.26-1.54 4.86-2.75 6.21-5.27 2.76-4.59 1.13-11.06-3.59-13.68ZM925.4 23.77c37.64 1.4 153.99 10.85 196.64 14.94 45.95 5.51 91.89 11.03 137.76 17.19 24.25 4.77 74.13 11.21 101.72 18.14-11.87-1.15-23.77-1.97-35.65-3.06-133.46-15.9-266.8-33.02-400.47-47.21Z"></path>
|
||||||
</svg>
|
</svg>
|
||||||
</Box>
|
</Box>
|
||||||
</Title>
|
</Title>
|
||||||
<List
|
<Text c="gray.5" fz="lg" mb="xl">
|
||||||
fz="lg"
|
Upgrade for larger uploads, refined editor, faster experience, advanced tools and
|
||||||
visibleFrom="md"
|
more.
|
||||||
spacing="4"
|
</Text>
|
||||||
c="gray.3"
|
|
||||||
icon={<IoMdCheckmark color="orange" />}
|
|
||||||
>
|
|
||||||
<List.Item>Refined user interface</List.Item>
|
|
||||||
<List.Item>Supports larger data</List.Item>
|
|
||||||
<List.Item>Customizable color theme</List.Item>
|
|
||||||
<List.Item>Compare data on graphs</List.Item>
|
|
||||||
<List.Item>Edit directly on graphs</List.Item>
|
|
||||||
<List.Item>AI-powered assistant</List.Item>
|
|
||||||
<List.Item>Everything is faster and more...</List.Item>
|
|
||||||
</List>
|
|
||||||
<Button
|
<Button
|
||||||
component={Link}
|
component={Link}
|
||||||
href="/premium"
|
href="/premium"
|
||||||
@ -65,14 +53,15 @@ export const PremiumVsFree = () => {
|
|||||||
display="block"
|
display="block"
|
||||||
w="fit-content"
|
w="fit-content"
|
||||||
miw={200}
|
miw={200}
|
||||||
color="orange"
|
variant="white"
|
||||||
|
color="gray"
|
||||||
size="lg"
|
size="lg"
|
||||||
mt="xl"
|
mt="xl"
|
||||||
rightSection={<FaArrowRightLong />}
|
rightSection={<FaArrowRightLong />}
|
||||||
radius="xl"
|
radius="xl"
|
||||||
fz="md"
|
fz="md"
|
||||||
>
|
>
|
||||||
See all features
|
Explore More
|
||||||
</Button>
|
</Button>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
@ -67,7 +67,6 @@ export const Navbar = () => {
|
|||||||
color="gray"
|
color="gray"
|
||||||
size="md"
|
size="md"
|
||||||
radius="md"
|
radius="md"
|
||||||
fw={600}
|
|
||||||
>
|
>
|
||||||
Pricing
|
Pricing
|
||||||
</Button>
|
</Button>
|
||||||
@ -79,14 +78,12 @@ export const Navbar = () => {
|
|||||||
color="gray"
|
color="gray"
|
||||||
size="md"
|
size="md"
|
||||||
radius="md"
|
radius="md"
|
||||||
fw={600}
|
|
||||||
>
|
>
|
||||||
VS Code
|
VS Code
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
component={Link}
|
component={Link}
|
||||||
prefetch={false}
|
prefetch={false}
|
||||||
fw={600}
|
|
||||||
href="/affiliates"
|
href="/affiliates"
|
||||||
variant="subtle"
|
variant="subtle"
|
||||||
color="gray"
|
color="gray"
|
||||||
@ -105,19 +102,18 @@ export const Navbar = () => {
|
|||||||
visibleFrom="sm"
|
visibleFrom="sm"
|
||||||
size="md"
|
size="md"
|
||||||
radius="md"
|
radius="md"
|
||||||
fw={600}
|
|
||||||
>
|
>
|
||||||
Log in
|
Log in
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
radius="md"
|
radius="md"
|
||||||
component="a"
|
component="a"
|
||||||
color="indigo"
|
color="#202842"
|
||||||
href="/editor"
|
href="/editor"
|
||||||
visibleFrom="sm"
|
visibleFrom="sm"
|
||||||
size="md"
|
size="md"
|
||||||
>
|
>
|
||||||
Editor
|
Free editor
|
||||||
</Button>
|
</Button>
|
||||||
</Right>
|
</Right>
|
||||||
</StyledNavbar>
|
</StyledNavbar>
|
||||||
|
@ -81,7 +81,7 @@ interface FeatureItem {
|
|||||||
const features: FeatureItem[] = [
|
const features: FeatureItem[] = [
|
||||||
{
|
{
|
||||||
title: "Larger Data",
|
title: "Larger Data",
|
||||||
description: "From 300KB to ~4MB upgraded data size.",
|
description: "From 300 KB to 4 MB upgraded data size.",
|
||||||
icon: (
|
icon: (
|
||||||
<Text fz="sm" fw="500">
|
<Text fz="sm" fw="500">
|
||||||
4 MB
|
4 MB
|
||||||
@ -168,19 +168,21 @@ const Premium = () => {
|
|||||||
<Layout>
|
<Layout>
|
||||||
<Container
|
<Container
|
||||||
pos="relative"
|
pos="relative"
|
||||||
pt={100}
|
pt={60}
|
||||||
pb={220}
|
pb={180}
|
||||||
fluid
|
fluid
|
||||||
style={{
|
style={{
|
||||||
background:
|
backgroundColor: "#1a0027",
|
||||||
"linear-gradient(15deg, #120f43, #0d0e3e, #0b0f39, #0a1034, #08102f, #071029, #051024, #040f1e)",
|
backgroundImage: "url(./assets/mesh.webp)",
|
||||||
|
backgroundAttachment: "fixed",
|
||||||
|
backgroundSize: "cover",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Flex px="xl" justify="center" gap={60}>
|
<Flex px="xl" justify="center" gap={60}>
|
||||||
<Box maw={600}>
|
<Box maw={600}>
|
||||||
<Title
|
<Title
|
||||||
order={1}
|
order={1}
|
||||||
c="white"
|
c="gray.1"
|
||||||
fz={{
|
fz={{
|
||||||
base: 38,
|
base: 38,
|
||||||
xs: 40,
|
xs: 40,
|
||||||
@ -189,21 +191,21 @@ const Premium = () => {
|
|||||||
Premium
|
Premium
|
||||||
</Title>
|
</Title>
|
||||||
<Text
|
<Text
|
||||||
c="gray.3"
|
c="gray.2"
|
||||||
mt={32}
|
mt={32}
|
||||||
fz={{
|
fz={{
|
||||||
base: 16,
|
base: 14,
|
||||||
xs: 20,
|
xs: 18,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Faster, more powerful, and more visually stunning.
|
Redesigned for a smoother, faster, and more powerful experience. New features save
|
||||||
|
time and effort.
|
||||||
</Text>
|
</Text>
|
||||||
<Button
|
<Button
|
||||||
component="a"
|
component="a"
|
||||||
href="#pricing"
|
href="#pricing"
|
||||||
mt="lg"
|
mt="lg"
|
||||||
variant="white"
|
color="gray.2"
|
||||||
color="gray"
|
|
||||||
radius="md"
|
radius="md"
|
||||||
size="lg"
|
size="lg"
|
||||||
rightSection={<MdChevronRight size={30} />}
|
rightSection={<MdChevronRight size={30} />}
|
||||||
@ -227,7 +229,7 @@ const Premium = () => {
|
|||||||
alt="hero"
|
alt="hero"
|
||||||
w="300"
|
w="300"
|
||||||
h="200"
|
h="200"
|
||||||
opacity={0.02}
|
opacity={0.01}
|
||||||
visibleFrom="sm"
|
visibleFrom="sm"
|
||||||
/>
|
/>
|
||||||
</Flex>
|
</Flex>
|
||||||
@ -237,7 +239,12 @@ const Premium = () => {
|
|||||||
component="section"
|
component="section"
|
||||||
id="features"
|
id="features"
|
||||||
fluid
|
fluid
|
||||||
bg="radial-gradient(58.11% 44.54% at 51.59% -9.61%, rgb(180, 176, 254) 0%, rgb(54, 50, 133) 22.92%, rgb(17, 13, 91) 42.71%, rgb(5, 3, 39) 88.54%)"
|
style={{
|
||||||
|
backgroundColor: "#1a0027",
|
||||||
|
backgroundImage: "url(./assets/mesh.webp)",
|
||||||
|
backgroundAttachment: "fixed",
|
||||||
|
backgroundSize: "cover",
|
||||||
|
}}
|
||||||
my={120}
|
my={120}
|
||||||
py={40}
|
py={40}
|
||||||
>
|
>
|
||||||
@ -248,11 +255,11 @@ const Premium = () => {
|
|||||||
xs: 36,
|
xs: 36,
|
||||||
}}
|
}}
|
||||||
order={2}
|
order={2}
|
||||||
c="white"
|
c="gray.4"
|
||||||
>
|
>
|
||||||
Built for everyone.
|
Built for everyone.
|
||||||
</Title>
|
</Title>
|
||||||
<Text c="gray.3" fz="xl" mb={40}>
|
<Text c="gray.6" fz="xl" mb={40}>
|
||||||
Zero technical knowledge required.
|
Zero technical knowledge required.
|
||||||
</Text>
|
</Text>
|
||||||
<SimpleGrid
|
<SimpleGrid
|
||||||
@ -269,10 +276,10 @@ const Premium = () => {
|
|||||||
<ThemeIcon radius="xl" size="xl" variant="light" color={feature.color}>
|
<ThemeIcon radius="xl" size="xl" variant="light" color={feature.color}>
|
||||||
{feature.icon}
|
{feature.icon}
|
||||||
</ThemeIcon>
|
</ThemeIcon>
|
||||||
<Title ta="center" c="white" order={3}>
|
<Title ta="center" c="gray.4" order={3}>
|
||||||
{feature.title}
|
{feature.title}
|
||||||
</Title>
|
</Title>
|
||||||
<Text c="gray.3">{feature.description}</Text>
|
<Text c="gray.5">{feature.description}</Text>
|
||||||
</Flex>
|
</Flex>
|
||||||
</StyledFeatureCard>
|
</StyledFeatureCard>
|
||||||
))}
|
))}
|
||||||
@ -361,7 +368,7 @@ const Premium = () => {
|
|||||||
component="a"
|
component="a"
|
||||||
href={getUpgradeLink()}
|
href={getUpgradeLink()}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
color="#120F43"
|
color="#2a0f43"
|
||||||
fullWidth
|
fullWidth
|
||||||
mt="xl"
|
mt="xl"
|
||||||
size="xl"
|
size="xl"
|
||||||
|
@ -257,6 +257,12 @@ export const PricingCards = () => {
|
|||||||
</Flex>
|
</Flex>
|
||||||
</StyledPaper>
|
</StyledPaper>
|
||||||
</Box>
|
</Box>
|
||||||
|
<Flex pt="sm" c="dimmed" justify="center" align="center" gap={4}>
|
||||||
|
<AiOutlineInfoCircle />
|
||||||
|
<Text size="sm">
|
||||||
|
Payment email must be matching with the account registered to the JSON Crack.
|
||||||
|
</Text>
|
||||||
|
</Flex>
|
||||||
</Stack>
|
</Stack>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@ -270,12 +276,6 @@ const Pricing = () => {
|
|||||||
</Head>
|
</Head>
|
||||||
<Layout>
|
<Layout>
|
||||||
<PricingCards />
|
<PricingCards />
|
||||||
<Flex pt="sm" c="dimmed" justify="center" align="center" gap={4}>
|
|
||||||
<AiOutlineInfoCircle />
|
|
||||||
<Text size="sm">
|
|
||||||
Payment email must be matching with the account registered to the JSON Crack.
|
|
||||||
</Text>
|
|
||||||
</Flex>
|
|
||||||
</Layout>
|
</Layout>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user