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: add affiliates page

AykutSarac73b6992200af
diff --git a/public/assets/steps-divider-round.svg b/public/assets/steps-divider-round.svg
new file mode 100644
index 00000000..d9413137
--- /dev/null
+++ b/public/assets/steps-divider-round.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="#fff"><path d="M0 0v99.7C62 69 122.4 48.7 205 66c83.8 17.6 160.5 20.4 240-12 54-22 110-26 173-10a392.2 392.2 0 0 0 222-5c55-17 110.3-36.9 160-27.2V0H0Z" opacity=".5"></path><path d="M0 0v74.7C62 44 122.4 28.7 205 46c83.8 17.6 160.5 25.4 240-7 54-22 110-21 173-5 76.5 19.4 146.5 23.3 222 0 55-17 110.3-31.9 160-22.2V0H0Z"></path></svg>
\ No newline at end of file
diff --git a/public/sitemap.txt b/public/sitemap.txt
index 462566b3..9394c723 100644
--- a/public/sitemap.txt
+++ b/public/sitemap.txt
@@ -7,4 +7,5 @@ https://jsoncrack.com/editor
https://jsoncrack.com/docs
https://jsoncrack.com/widget
https://jsoncrack.com/legal/terms
-https://jsoncrack.com/legal/privacy
\ No newline at end of file
+https://jsoncrack.com/legal/privacy
+https://jsoncrack.com/affiliates
diff --git a/src/layout/Footer.tsx b/src/layout/Footer.tsx
index 01ceb8e4..085ee5f7 100644
--- a/src/layout/Footer.tsx
+++ b/src/layout/Footer.tsx
@@ -8,7 +8,7 @@ import { JSONCrackLogo } from "./JsonCrackLogo";
export const Footer = () => {
return (
- <Container mt={150} px={60} pb="xl" bg="white" fluid>
+ <Container mt={150} px={60} pb="xl" bg="black" fluid>
<Divider color="gray.3" mb="xl" mx={-60} />
<Flex justify="space-between">
<Stack gap={4} visibleFrom="sm">
@@ -19,49 +19,44 @@ export const Footer = () => {
</Stack>
<Flex gap={60} visibleFrom="sm">
<Stack gap="xs">
- <Text fz="sm" c="dimmed">
+ <Text fz="sm" c="white">
Product
</Text>
<Anchor
fz="sm"
- c="black"
+ c="gray.5"
href="https://marketplace.visualstudio.com/items?itemName=AykutSarac.jsoncrack-vscode"
>
VS Code
</Anchor>
- <Anchor component={Link} prefetch={false} fz="sm" c="black" href="/pricing">
+ <Anchor component={Link} prefetch={false} fz="sm" c="gray.5" href="/pricing">
Pricing
</Anchor>
<Anchor
href="https://github.com/AykutSarac/jsoncrack.com"
fz="sm"
- c="black"
+ c="gray.5"
target="_blank"
>
Open Source
</Anchor>
</Stack>
<Stack gap="xs">
- <Text fz="sm" c="dimmed">
+ <Text fz="sm" c="white">
Resources
</Text>
- <Anchor
- fz="sm"
- c="black"
- href="https://jsoncrack.lemonsqueezy.com/affiliates"
- target="_blank"
- >
+ <Anchor component={Link} href="/affiliates" fz="sm" c="gray.5">
Affiliate
</Anchor>
- <Anchor component={Link} prefetch={false} fz="sm" c="black" href="/#faq">
+ <Anchor component={Link} prefetch={false} fz="sm" c="gray.5" href="/#faq">
FAQ
</Anchor>
- <Anchor component={Link} prefetch={false} fz="sm" c="black" href="/docs">
+ <Anchor component={Link} prefetch={false} fz="sm" c="gray.5" href="/docs">
Docs
</Anchor>
</Stack>
<Stack gap="xs">
- <Text fz="sm" c="dimmed">
+ <Text fz="sm" c="white">
Social
</Text>
<Flex gap="xs">
@@ -70,12 +65,12 @@ export const Footer = () => {
href="https://www.linkedin.com/company/jsoncrack"
fz="sm"
>
- <ThemeIcon variant="transparent" color="black">
+ <ThemeIcon variant="transparent" color="gray.5">
<FaLinkedin size={20} />
</ThemeIcon>
</Anchor>
<Anchor aria-label="X" fz="sm" href="https://x.com/jsoncrack">
- <ThemeIcon variant="transparent" color="black">
+ <ThemeIcon variant="transparent" color="gray.5">
<FaXTwitter size={20} />
</ThemeIcon>
</Anchor>
@@ -84,12 +79,12 @@ export const Footer = () => {
href="https://github.com/AykutSarac/jsoncrack.com"
fz="sm"
>
- <ThemeIcon variant="transparent" color="black">
+ <ThemeIcon variant="transparent" color="gray.5">
<FaGithub size={20} />
</ThemeIcon>
</Anchor>
<Anchor aria-label="Discord" fz="sm" href="https://discord.com/invite/yVyTtCRueq">
- <ThemeIcon variant="transparent" color="black">
+ <ThemeIcon variant="transparent" color="gray.5">
<FaDiscord size={20} />
</ThemeIcon>
</Anchor>
diff --git a/src/layout/JsonCrackLogo.tsx b/src/layout/JsonCrackLogo.tsx
index 09890145..32fe0625 100644
--- a/src/layout/JsonCrackLogo.tsx
+++ b/src/layout/JsonCrackLogo.tsx
@@ -18,8 +18,9 @@ const StyledTitle = styled.div<{ fontSize: string }>`
font-size: ${({ fontSize }) => fontSize};
white-space: nowrap;
z-index: 10;
- color: ${({ theme }) => theme.INTERACTIVE_HOVER};
vertical-align: middle;
+ color: #e8e8e8;
+ mix-blend-mode: difference;
`;
interface LogoProps extends React.ComponentPropsWithoutRef<"a"> {
diff --git a/src/layout/Navbar.tsx b/src/layout/Navbar.tsx
index d90c44d5..e0922985 100644
--- a/src/layout/Navbar.tsx
+++ b/src/layout/Navbar.tsx
@@ -20,7 +20,7 @@ const StyledNavbar = styled.nav`
max-width: 1200px;
margin: 0 auto;
padding: 12px 24px;
- background: rgba(255, 255, 255, 0.1);
+ background: white;
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
diff --git a/src/pages/affiliates.tsx b/src/pages/affiliates.tsx
new file mode 100644
index 00000000..7bd9232f
--- /dev/null
+++ b/src/pages/affiliates.tsx
@@ -0,0 +1,204 @@
+import React from "react";
+import Head from "next/head";
+import Link from "next/link";
+import {
+ Anchor,
+ Box,
+ Button,
+ Center,
+ Container,
+ Image,
+ Paper,
+ SimpleGrid,
+ Text,
+ ThemeIcon,
+ Title,
+} from "@mantine/core";
+import { MdChevronRight } from "react-icons/md";
+import Layout from "src/layout/Layout";
+
+const AFFILIATE_SINGUP_URL = "https://affiliates.lemonsqueezy.com/programs/jsoncrack";
+
+const Affiliate = () => {
+ return (
+ <>
+ <Head>
+ <title>JSON Crack Affiliate Program</title>
+ <link rel="canonical" href="https://jsoncrack.com/affiliates" />
+ <meta
+ name="description"
+ content="Monetize your website with JSON Crack's Affiliate Program. Promote JSON Crack to your audience earn up to $24 per commission! Join the program for free!"
+ />
+ <meta
+ name="og:description"
+ content="Monetize your website with JSON Crack's Affiliate Program. Promote JSON Crack to your audience earn up to $24 per commission! Join the program for free!"
+ />
+ <meta
+ name="twitter:description"
+ content="Monetize your website with JSON Crack's Affiliate Program. Promote JSON Crack to your audience earn up to $24 per commission! Join the program for free!"
+ />
+ </Head>
+ <Layout>
+ <Container
+ pos="relative"
+ py={100}
+ pb={180}
+ fluid
+ style={{
+ background:
+ "linear-gradient(150deg, #2b2e4a, #3e345e, #57386e, #723b78, #903c7a, #af3d73, #cd3f63, #e84545)",
+ }}
+ >
+ <Box mx="auto" maw="40%">
+ <Title order={1} c="white" fz={42}>
+ Join JSON Crack&apos;s Affiliate Program
+ </Title>
+ <Text c="gray.3" mt={32} fz={20}>
+ Do you own a website, popular social media account, blog or YouTube channel? Promote
+ JSON Crack with our affiliate program and earn commissions.
+ </Text>
+ <Link href={AFFILIATE_SINGUP_URL} target="_blank" rel="noopener">
+ <Button
+ mt="lg"
+ color="orange"
+ radius="md"
+ size="lg"
+ rightSection={<MdChevronRight size={30} />}
+ >
+ Apply now
+ </Button>
+ </Link>
+ <Image
+ pos="absolute"
+ bottom={0}
+ left={0}
+ src="./assets/steps-divider-round.svg"
+ width="100%"
+ alt="divider"
+ style={{
+ transform: "scaleY(-1) scaleX(-1)",
+ }}
+ />
+ </Box>
+ </Container>
+ <Container size="lg">
+ <Title fz={40} order={2} mt={100} mb={40}>
+ How it works
+ </Title>
+ <SimpleGrid cols={3} spacing="xl">
+ <Box>
+ <ThemeIcon radius="xl" size="lg" fw="bold" fz="lg" color="orange">
+ 1
+ </ThemeIcon>
+ <Title c="gray.8" order={3} mt={16}>
+ Join our program
+ </Title>
+ <Text c="dark" mt={16}>
+ Read our FAQ here below and apply via the link!
+ </Text>
+ </Box>
+ <Box>
+ <ThemeIcon radius="xl" size="lg" fw="bold" fz="lg" color="orange">
+ 2
+ </ThemeIcon>
+ <Title c="gray.8" order={3} mt={16}>
+ Send traffic
+ </Title>
+ <Text c="dark" mt={16}>
+ Promote content on your source! Promote JSON Crack via your YouTube channel, blog
+ posts or newsletters.
+ </Text>
+ </Box>
+ <Box>
+ <ThemeIcon radius="xl" size="lg" fw="bold" fz="lg" color="orange">
+ 3
+ </ThemeIcon>
+ <Title c="gray.8" order={3} mt={16}>
+ Earn commissions
+ </Title>
+ <Text c="dark" mt={16}>
+ Earn up to $24.00 commission on every referral that results in a successful sale. No
+ limit to how much you can make by promoting us.
+ </Text>
+ </Box>
+ </SimpleGrid>
+ </Container>
+ <Container fluid bg="yellow.5" my={120} py={40}>
+ <Container size="lg">
+ <Title fz={40} order={2} mb={40}>
+ FAQ
+ </Title>
+ <SimpleGrid cols={4} spacing="xl">
+ <Box>
+ <Title c="black" order={3} mt={16} fw="500">
+ How long does the cookie last?
+ </Title>
+ <Text c="black" mt={16}>
+ 15 days.
+ </Text>
+ </Box>
+ <Box>
+ <Title c="black" order={3} mt={16} fw="500">
+ How do I make money as an affiliate?
+ </Title>
+ <Text c="black" mt={16}>
+ All you have to do is recommend us using your affiliate link on your website,
+ blog, and social media. We track your clicks and transactions so you can get paid.
+ </Text>
+ </Box>
+ <Box>
+ <Title c="black" order={3} mt={16} fw="500">
+ When do I get paid?
+ </Title>
+ <Text c="black" mt={16}>
+ We payout on NET30 terms to account for refunds and chargebacks. For example,
+ commissions generated in January would be paid out on March 15th (NET30).
+ </Text>
+ </Box>
+ <Box>
+ <Title c="black" order={3} mt={16} fw="500">
+ More questions?
+ </Title>
+ <Text c="black" mt={16}>
+ Contact us via
+ <br />
+ <Anchor
+ c="inherit"
+ td="underline"
+ href="mailto:[email protected]"
+ target="_blank"
+ rel="noopener"
+ >
+ </Anchor>
+ </Text>
+ </Box>
+ </SimpleGrid>
+ </Container>
+ </Container>
+ <Container size="lg">
+ <Paper p={80} radius="lg" bg="dark" withBorder>
+ <Title maw="80%" fw={400} mx="auto" ta="center" c="white" fz={40} order={2}>
+ Join our affiliate program for free and start monetize your traffic!
+ </Title>
+ <Center mt={40}>
+ <Link href={AFFILIATE_SINGUP_URL} target="_blank" rel="noopener">
+ <Button
+ mx="auto"
+ size="lg"
+ radius="xl"
+ color="orange"
+ rightSection={<MdChevronRight size={30} />}
+ >
+ Apply now
+ </Button>
+ </Link>
+ </Center>
+ </Paper>
+ </Container>
+ </Layout>
+ </>
+ );
+};
+
+export default Affiliate;