Skip to content

Commit

Permalink
Make privacy-policy and support page active
Browse files Browse the repository at this point in the history
  • Loading branch information
rocktimsaikia committed Dec 27, 2024
1 parent 06b7243 commit 235de85
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 234 deletions.
10 changes: 8 additions & 2 deletions client/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ export default function Footer() {
<Link href="/">Home</Link>
</li>
<li>
<Link href="/docs">API Documentation</Link>
<Link href="/docs">Documentation</Link>
</li>
<li>
<Link href="/get-premium">Get Premium</Link>
<Link href="/get-premium">Get Premium API</Link>
</li>
<li>
<Link href="/privacy-policy">Privacy Policy</Link>
</li>
<li>
<Link href="/support">Support</Link>
</li>
{/* <li> */}
{/* <Link href="/docs">Blog</Link> */}
Expand Down
151 changes: 69 additions & 82 deletions client/pages/privacy-policy.tsx
Original file line number Diff line number Diff line change
@@ -1,95 +1,82 @@
import { Container, Flex } from "@radix-ui/themes";
import { Container, Flex, Heading, Link } from "@radix-ui/themes";
import Layout from "~/components/Layout";

export default function PrivacyPolicy() {
return (
<Layout>
<Container size="3" py="8">
<h1 className="text-4xl font-bold">Privacy Policy</h1>
<h1 className="text-4xl font-bold">Privacy Policy</h1>
<p className="mt-4">
This Privacy Policy explains how Animechan collects, uses, and protects your personal
information when you use our Service.
</p>

<Flex direction="column" gapY="4" mt="6">
<div>
<h2 className="text-xl font-medium">1. Introduction</h2>
<p>
This Privacy Policy explains how Animechan ("we", "us", "our") collects, uses, and
protects your personal information when you use our Anime Quotes API Service
("Service").
</p>
</div>
<Flex direction="column" gapY="6" mt="6">
<div>
<Heading as="h2" className="text-xl font-medium">
1. Information We Collect
</Heading>
<p>
At Animechan, we only collects your email address when you subscribe and become a
premium member via our{" "}
<Link href="https://buymeacoffee.com/animechan_api" target="_blank" rel="noreferrer">
Buy Me A Coffee page
</Link>
.
</p>
</div>

<div>
<h2 className="text-xl font-medium">2. Information We Collect</h2>
<p>
We may collect personal information from you when you register for the Service,
including your name, email address, and payment information. We also collect technical
data such as your IP address, browser type, and usage data through cookies and similar
technologies.
</p>
</div>
<div>
<Heading as="h2" className="text-xl font-medium">
2. Use of Information
</Heading>
<p>
We use your personal information to provide and improve our Service, process
transactions, and communicate with you. We may also use your information for marketing
purposes, such as sending promotional emails, unless you opt out.
</p>
</div>

<div>
<h2 className="text-xl font-medium">Use of Information</h2>
<p>
We use your personal information to provide and improve our Service, process
transactions, and communicate with you. We may also use your information for marketing
purposes, such as sending promotional emails, unless you opt out.
</p>
</div>
<div>
<Heading as="h2" className="text-xl font-medium">
3. Sharing of Information
</Heading>
<p>
We do not sell or share your personal information with third parties. We may share
anonymized data with third parties for analytics and research purposes.
</p>
</div>

<div>
<h2 className="text-xl font-medium">4. Sharing of Information</h2>
<p>
We do not sell or share your personal information with third parties, except as
necessary to provide the Service (e.g., payment processors) or as required by law. We
may share anonymized data with third parties for analytics and research purposes.
</p>
</div>
<div>
<Heading as="h2" className="text-xl font-medium">
4. Retention of Information
</Heading>
<p>
We retain your personal information for as long as necessary to fulfill the purposes for
which it was collected, or as required by law. When your information is no longer
needed, we will securely delete or anonymize it.
</p>
</div>

<div>
<h2 className="text-xl font-medium">5. Data Security</h2>
<p>
We implement reasonable security measures to protect your personal information from
unauthorized access, disclosure, or destruction. However, no security system is
completely secure, and we cannot guarantee the absolute security of your data.
</p>
</div>

<div>
<h2 className="text-xl font-medium">6. Your Rights</h2>
<p>
You have the right to access, correct, or delete your personal information. You may
also object to the processing of your data or request data portability. To exercise
these rights, please contact us at{" "}
<a href="mailto:[email protected]">[email protected].</a>
</p>
</div>

<div>
<h2 className="text-xl font-medium">7. Retention of Information</h2>
<p>
We retain your personal information for as long as necessary to fulfill the purposes
for which it was collected, or as required by law. When your information is no longer
needed, we will securely delete or anonymize it.
</p>
</div>

<div>
<h2 className="text-xl font-medium">8. Changes to this Policy</h2>
<p>
We may update this Privacy Policy from time to time. We will notify you of any
significant changes by posting the new policy on our website and updating the date at
the top of the policy.
</p>
</div>
<div>
<h2 className="text-xl font-medium">9. Contact Information</h2>
<p>
If you have any questions or concerns about this Privacy Policy, please contact us at{" "}
<a href="mailto:[email protected]">[email protected].</a>
</p>
</div>
</Flex>
</Container>
<div>
<Heading as="h2" className="text-xl font-medium">
5. Changes to this Policy
</Heading>
<p>
We may update this Privacy Policy from time to time. We will notify you of any
significant changes by posting the new policy on our website and updating the date at
the top of the policy.
</p>
</div>
<div>
<Heading as="h2" className="text-xl font-medium">
6. Contact Information
</Heading>
<p>
If you have any questions or concerns about this Privacy Policy, please contact us at{" "}
<Link href="mailto:[email protected]">[email protected].</Link>
</p>
</div>
</Flex>
</Layout>
);
}
56 changes: 6 additions & 50 deletions client/pages/support.tsx
Original file line number Diff line number Diff line change
@@ -1,66 +1,22 @@
import React, { useId } from "react";
import { Link } from "@radix-ui/themes";
import Layout from "~/components/Layout";

const faqs = [
{
question: "What is Animechan?",
answer:
"Animechan is a freemium API service that provides anime quotes. You can use our API to get quotes from various anime characters and series.",
},
{
question: "How do I subscribe to the premium plan?",
answer: (
<>
Visit our{" "}
<a href="/get-premium" className="underline text-green-700">
Subscription Page
</a>{" "}
and choose the premium plan for $5/month. Follow the instructions to set up your payment
through Stripe.
</>
),
},
{
question: "How do I cancel my subscription?",
answer:
'You can cancel your subscription at any time by logging into your account, and clicking the "Cancel my subscription" button on the Billing page.',
},
{
question: "What is the rate limit for the free plan?",
answer:
"The free plan has a rate limit of 30 requests per day. If you need more requests, you can subscribe to the premium plan which has a rate limit of 24000 requests per day.",
},
];

export default function Support() {
const keyId = useId();
return (
<Layout>
<div className="max-w-4xl mx-auto text-[#423e62] mt-10">
<div>
<div>
<h1 className="text-2xl font-medium">Welcome to Animechan Support</h1>
<p className="mt-5">
Thank you for choosing our freemium API service for anime quotes. We are here to help
you make the most of our service. If you have any questions, feedback, or issues, please
feel free to contact us at{" "}
<a href="mailto:[email protected]" className="underline text-green-700">
[email protected]
</a>
.
<Link href="mailto:[email protected]">[email protected]</Link>. For feature
requests or bug reports the best place to connect with us would be our{" "}
<Link href="https://github.com/rocktimsaikia">Github Repository</Link> as we are quite
active there and will be able help you fast.
</p>
</div>

<div className="mt-10">
<h2 className="text-2xl font-medium">Frequently Asked Questions</h2>
<div className="grid grid-cols-2 mt-4 gap-5">
{faqs.map((faq) => (
<div className="flex flex-col space-y-2" key={keyId}>
<h2 className="font-medium">{faq.question}</h2>
<p style={{ fontSize: "15px" }}>{faq.answer}</p>
</div>
))}
</div>
</div>
</div>
</Layout>
);
Expand Down
99 changes: 0 additions & 99 deletions client/pages/terms-of-service.tsx

This file was deleted.

5 changes: 4 additions & 1 deletion client/public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
<loc>http://animechan.io/docs/quote/pagination</loc>
</url>
<url>
<loc></loc>
<loc>http://animechan.io/support</loc>
</url>
<url>
<loc>http://animechan.io/privacy-policy</loc>
</url>
</urlset>

0 comments on commit 235de85

Please sign in to comment.