Merge branch 'main' into feat/jsongraph-react

This commit is contained in:
AykutSarac 2023-12-11 17:42:58 +03:00
commit 4895d235f7
No known key found for this signature in database
4 changed files with 74 additions and 17 deletions

View File

@ -12,7 +12,7 @@ const StyledPremiumView = styled.div`
justify-content: center;
width: 100%;
height: 100%;
background: ${({ theme }) => theme.GRID_COLOR_SECONDARY};
background: #020015;
img {
filter: drop-shadow(2px 2px 1px black);
@ -191,7 +191,7 @@ export const PremiumView = () => (
href={paymentURL()}
target="_blank"
>
UPGRADE TO PREMIUM $7.00
UPGRADE TO PREMIUM
</Button>
</StyledContent>

View File

@ -1,6 +1,6 @@
import React from "react";
import styled from "styled-components";
import { Badge, Flex, Group, MediaQuery, Menu, Select, Text } from "@mantine/core";
import { Flex, Group, MediaQuery, Menu, Select, Text } from "@mantine/core";
import { useHotkeys } from "@mantine/hooks";
import ReactGA from "react-ga4";
import toast from "react-hot-toast";
@ -50,16 +50,6 @@ export const StyledTools = styled.div`
}
`;
// red dot with glow around
const StyledNotification = styled.span`
width: 6px;
height: 6px;
border-radius: 50%;
background: ${({ theme }) => theme.BLURPLE};
box-shadow: 0 0 6px ${({ theme }) => theme.BLURPLE};
margin-left: 4px;
`;
const StyledToolElement = styled.button<{ $hide?: boolean }>`
display: ${({ $hide }) => ($hide ? "none" : "grid")};
place-content: center;
@ -322,16 +312,12 @@ export const Tools: React.FC<{ isWidget?: boolean }> = ({ isWidget = false }) =>
<StyledToolElement>
<Flex align="center" gap={3}>
Tools <CgChevronDown />
<StyledNotification />
</Flex>
</StyledToolElement>
</Menu.Target>
<Menu.Dropdown>
<Menu.Item fz={12} icon={<VscSearchFuzzy />} onClick={() => setVisible("jq")(true)}>
JSON Query (jq)
<Badge ml="xs" size="xs">
New
</Badge>
</Menu.Item>
<Menu.Item fz={12} icon={<VscJson />} onClick={() => setVisible("schema")(true)}>
JSON Schema

View File

@ -54,6 +54,10 @@ export const Footer = () => {
label: "Privacy",
link: "/legal/privacy",
},
{
label: "Subscription & Refund",
link: "/legal/subscription-refund",
},
],
},
]}

View File

@ -0,0 +1,67 @@
import React from "react";
import Head from "next/head";
import { Anchor, Container, List, Paper, Stack, Text, Title } from "@mantine/core";
import Layout from "src/layout/Layout";
const SubscriptionRefund = () => {
return (
<Layout>
<Head>
<title>Subscription & Refund - JSON Crack</title>
</Head>
<Container my={50} size="sm">
<Paper bg="transparent">
<Title>Subscription & Refund</Title>
<Stack my="lg">
<Text>
This document delineates the Subscription Cancellation and Refund Policy for users of
jsoncrack.com (the Site). It provides guidance on the cancellation process. For
inquiries or assistance related to cancellations, users are encouraged to contact the
customer support team at{" "}
<Anchor href="mailto:contact@jsoncrack.com">contact@jsoncrack.com</Anchor>.
</Text>
<Title order={3}>Cancellation Policy</Title>
<Text>
You have the right to cancel your subscription at any time. When you cancel, your
subscription will remain active until the end of the current billing period. You will
not be billed for any subsequent periods.
</Text>
<Title order={4}>How to Cancel:</Title>
<Text>
To cancel your subscription, follow these steps:
<List type="ordered" my="lg">
<List.Item>Log in to your account.</List.Item>
<List.Item>
Click on your account name located at the bottom left of the editor.
</List.Item>
<List.Item>Select the &quot;Unsubscribe&quot; option.</List.Item>
</List>
Please note that subscription cancellations made after the initial 3-day period are
not eligible for a refund. However, you will still have access to the service until
the end of the current billing period.
</Text>
<Title order={3}>Refund Policy</Title>
<Text>
If you cancel your subscription within 3 days of the initial purchase, you are
eligible for a full refund. Refunds will be issued to the original payment method used
during the purchase. For refund inquiries or assistance, please contact our customer
support team at{" "}
<Anchor href="mailto:contact@jsoncrack.com">contact@jsoncrack.com</Anchor>.
</Text>
<Title order={3}>Changes to this Policy</Title>
<Text>
We reserve the right to modify this subscription cancellation and refund policy at any
time. Any changes will be effective immediately upon posting the updated policy on our
website. It is your responsibility to review this policy periodically for changes. By
subscribing to our service, you agree to abide by the terms and conditions outlined in
this cancellation and refund policy. Thank you for choosing our service. We appreciate
the opportunity to address any concerns and improve your experience.
</Text>
</Stack>
</Paper>
</Container>
</Layout>
);
};
export default SubscriptionRefund;