Skip to content

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

add terms & privacy links

AykutSarac41ab4cdf4b30
diff --git a/src/constants/globalStyle.ts b/src/constants/globalStyle.ts
index 22920df0..8cb1cc83 100644
--- a/src/constants/globalStyle.ts
+++ b/src/constants/globalStyle.ts
@@ -6,7 +6,7 @@ const GlobalStyle = createGlobalStyle`
font-weight: 400;
font-size: 16px;
background: rgb(246,249,253) !important;
- background: radial-gradient(circle, rgba(246,249,253,1) 33%, rgba(230,230,253,1) 100%) !important;
+ background: radial-gradient(circle, rgb(245 245 245) 33%, rgb(252 252 255) 100%) !important;
@media only screen and (max-width: 768px) {
background-position: right;
diff --git a/src/layout/Footer/FooterLinks.tsx b/src/layout/Footer/FooterLinks.tsx
index 2476597f..8d8c5149 100644
--- a/src/layout/Footer/FooterLinks.tsx
+++ b/src/layout/Footer/FooterLinks.tsx
@@ -1,3 +1,4 @@
+import Link from "next/link";
import { createStyles, Text, Container, rem, Anchor } from "@mantine/core";
import { JSONCrackLogo } from "../JsonCrackLogo";
@@ -109,7 +110,7 @@ export function FooterLinks({ data }: FooterLinksProps) {
const groups = data.map(group => {
const links = group.links.map((link, index) => (
- <Text<"a"> key={index} className={classes.link} component="a" href={link.link}>
+ <Text key={index} className={classes.link} component={Link} href={link.link} prefetch={false}>
{link.label}
</Text>
));
diff --git a/src/layout/Footer/index.tsx b/src/layout/Footer/index.tsx
index b455fc56..f2b569e1 100644
--- a/src/layout/Footer/index.tsx
+++ b/src/layout/Footer/index.tsx
@@ -6,7 +6,7 @@ export const Footer = () => {
<FooterLinks
data={[
{
- title: "Developers",
+ title: "Product",
links: [
{
label: "GitHub",
@@ -22,23 +22,6 @@ export const Footer = () => {
},
],
},
- {
- title: "JSON Crack",
- links: [
- {
- label: "JSON Crack",
- link: "https://jsoncrack.com",
- },
- {
- label: "Terms of Service",
- link: "#",
- },
- {
- label: "Privacy Policy",
- link: "#",
- },
- ],
- },
{
title: "Social",
links: [
@@ -60,6 +43,19 @@ export const Footer = () => {
},
],
},
+ {
+ title: "Legal",
+ links: [
+ {
+ label: "Terms",
+ link: "/legal/terms",
+ },
+ {
+ label: "Privacy",
+ link: "/legal/privacy",
+ },
+ ],
+ },
]}
/>
);
diff --git a/src/pages/legal/privacy.tsx b/src/pages/legal/privacy.tsx
new file mode 100644
index 00000000..9b06577b
--- /dev/null
+++ b/src/pages/legal/privacy.tsx
@@ -0,0 +1,51 @@
+import React from "react";
+import { Anchor, Container, Paper, Stack, Text, Title } from "@mantine/core";
+import Layout from "src/layout/Layout";
+
+const Privacy = () => {
+ return (
+ <Layout>
+ <Container my={50} size="sm">
+ <Paper bg="transparent">
+ <Title>Privacy Policy</Title>
+ <Stack my="lg">
+ <Text>
+ This Privacy Policy describes how your personal information is collected, used, and
+ shared when you visit or make a purchase from jsoncrack.com (the “Site”).
+ </Text>
+ <Title order={3}>To Whom Does This Policy Apply</Title>
+ <Text>
+ This Privacy Policy applies to customers and site visitors. Each customer is
+ responsible for posting its own terms, conditions, and privacy policies, and ensuring
+ compliance with all applicable laws and regulations.
+ </Text>
+ <Title order={3}>Changes To This Privacy Policy</Title>
+ <Text>
+ This Privacy Policy may change from time to time, as our Platform and our business may
+ change. Your continued use of the Platform after any changes to this Privacy Policy
+ indicates your agreement with the terms of the revised Privacy Policy.
+ </Text>
+ <Title order={3}>What Information Do We Collect</Title>
+ <Text>
+ We collect information directly from you when you provide it to us explicitly on our
+ Site. We do not use third-party cookies on our Site.
+ </Text>
+ <Title order={3}>What We Use Your Information For</Title>
+ <Text>
+ We use your information to provide our Services, to improve our Platform, to
+ understand how you use our Platform, and to communicate with you. We DO NOT share any
+ personal information to third parties.
+ </Text>
+ <Title order={3}>How To Contact Us</Title>
+ <Text>
+ For privacy-related questions, please contact us at{" "}
+ <Anchor href="mailto:[email protected]">[email protected]</Anchor>.
+ </Text>
+ </Stack>
+ </Paper>
+ </Container>
+ </Layout>
+ );
+};
+
+export default Privacy;
diff --git a/src/pages/legal/terms.tsx b/src/pages/legal/terms.tsx
new file mode 100644
index 00000000..d5676dc3
--- /dev/null
+++ b/src/pages/legal/terms.tsx
@@ -0,0 +1,103 @@
+import React from "react";
+import { Anchor, Container, Paper, Stack, Text, Title } from "@mantine/core";
+import Layout from "src/layout/Layout";
+
+const Terms = () => {
+ return (
+ <Layout>
+ <Container my={50} size="sm">
+ <Paper bg="transparent">
+ <Title>Terms of Service</Title>
+ <Stack my="lg">
+ <Text>
+ Subject to these Terms of Service (this &apos;Agreement&apos;), jsoncrack.com
+ (&apos;JSON Crack&apos;, &apos;we&apos;, &apos;us&apos; and/or &apos;our&apos;)
+ provides access to JSON Crack’s application as a service (collectively, the
+ &apos;Services&apos;). By using or accessing the Services, you acknowledge that you
+ have read, understand, and agree to be bound by this Agreement.
+ </Text>
+
+ <Text>
+ If you are entering into this Agreement on behalf of a company, business or other
+ legal entity, you represent that you have the authority to bind such an entity to this
+ Agreement, in which case the term &apos;you&apos; shall refer to such entity. If you
+ do not have such authority, or if you do not agree with this Agreement, you must not
+ accept this Agreement and may not use the Services.
+ </Text>
+
+ <Title order={3}>1. Acceptance of Terms</Title>
+ <Text>
+ By signing up and using the services provided by JSON Crack (referred to as the
+ &apos;Service&apos;), you are agreeing to be bound by the following terms and
+ conditions (&apos;Terms of Service&apos;). The Service is owned and operated by JSON
+ Crack (&apos;Us&apos;, &apos;We&apos;, or &apos;Our&apos;).
+ </Text>
+ <Title order={3}>2. Description of Service</Title>
+ <Text>
+ JSON Crack is an open-source visualization application that allows users to transform
+ various data formats, including JSON, YAML, XML, CSV, and more, into interactive
+ graphs for visualization purposes (the “Product”). The Product is accessible at
+ jsoncrack.com and other domains and subdomains controlled by Us (collectively,
+ &apos;the Website&apos;).
+ </Text>
+ <Title order={3}>3. Fair Use</Title>
+ <Text>
+ We reserve the right to suspend or terminate your access to the Service if we
+ determine, in our sole discretion, that you have violated these Terms of Service,
+ including but not limited to, purposefully advertising of third parties, spam content,
+ or other inappropriate or illegal content.
+ </Text>
+ <Title order={3}>4. Intellectual Property Rights</Title>
+ <Text>
+ You acknowledge and agree that the Service and its entire contents, features, and
+ functionality, including but not limited to all information, software, code, text,
+ displays, graphics, photographs, video, audio, design, presentation, selection, and
+ arrangement, are owned by Us, our licensors, or other providers of such material and
+ are protected by United States and international copyright, trademark, patent, trade
+ secret, and other intellectual property or proprietary rights laws.
+ </Text>
+ <Title order={3}>5. Data Storage and Privacy</Title>
+ <Text>
+ We do not guarantee the security, reliability, consistency and/or recovery of any data
+ stored in the Product and do not recommend storing sensitive data. The Product enables
+ users to store data for visualization purposes as an ease of access only. When a file
+ is deleted from the Product, it is also permanently removed from the database (refer
+ as hard deletion).
+ </Text>
+ <Title order={3}>6. Changes to these Terms</Title>
+ <Text>
+ We reserve the right to revise and update these Terms of Service from time to time in
+ our sole discretion. All changes are effective immediately when we post them, and
+ apply to all access to and use of the Website thereafter. Your continued use of the
+ Website following the posting of revised Terms of Service means that you accept and
+ agree to the changes.
+ </Text>
+ <Title order={3}>7. Contact Information</Title>
+ <Text>
+ Questions or comments about the Website or these Terms of Service may be directed to
+ our support team at{" "}
+ <Anchor href="mailto:[email protected]">[email protected]</Anchor>.
+ </Text>
+ <Title order={3}>8. Disclaimer of Warranties</Title>
+ <Text>
+ THE SERVICE AND ITS CONTENT ARE PROVIDED ON AN &apos;AS IS&apos; AND &apos;AS
+ AVAILABLE&apos; BASIS WITHOUT ANY WARRANTIES OF ANY KIND. WE DISCLAIM ALL WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE WARRANTY OF TITLE, MERCHANTABILITY,
+ NON-INFRINGEMENT OF THIRD PARTIES’ RIGHTS, AND FITNESS FOR PARTICULAR PURPOSE.
+ </Text>
+ <Text>
+ IN NO EVENT WILL WE, OUR AFFILIATES OR THEIR LICENSORS, SERVICE PROVIDERS, EMPLOYEES,
+ AGENTS, OFFICERS OR DIRECTORS BE LIABLE FOR DAMAGES OF ANY KIND, UNDER ANY LEGAL
+ THEORY, ARISING OUT OF OR IN CONNECTION WITH YOUR USE, OR INABILITY TO USE, THE
+ WEBSITE, THE SERVICE, ANY WEBSITES LINKED TO IT, ANY CONTENT ON THE WEBSITE OR SUCH
+ OTHER WEBSITES, INCLUDING ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR
+ PUNITIVE DAMAGES.
+ </Text>
+ </Stack>
+ </Paper>
+ </Container>
+ </Layout>
+ );
+};
+
+export default Terms;