Skip to content

Commit ec41fd9

Browse files
authored
Merge pull request #1074 from Sandesh282/fix/terms-of-service
fix(TOS): improve grammar, clarity, and UI for Terms of Service page
2 parents c07ad7c + 19dc572 commit ec41fd9

File tree

1 file changed

+102
-104
lines changed

1 file changed

+102
-104
lines changed

src/pages/terms-service/index.tsx

Lines changed: 102 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,91 @@
1-
import React from "react";
1+
import React, { useState } from "react";
22
import Layout from "@theme/Layout";
33

4+
interface SectionProps {
5+
id: string;
6+
title: string;
7+
children: React.ReactNode;
8+
}
9+
10+
const Section: React.FC<SectionProps> = ({ id, title, children }) => {
11+
const [open, setOpen] = useState(true);
12+
return (
13+
<div id={id} className="mb-6 border-b border-gray-200 pb-4">
14+
<button
15+
className="w-full text-left text-xl font-bold mb-2 flex justify-between items-center"
16+
onClick={() => setOpen(!open)}
17+
>
18+
{title}
19+
<span className="text-gray-500">{open ? "▲" : "▼"}</span>
20+
</button>
21+
{open && <div className="pl-2 text-justify">{children}</div>}
22+
</div>
23+
);
24+
};
25+
426
const TermsOfService: React.FC = () => {
527
return (
628
<Layout
7-
title={"Terms and condition of recodehive.com"}
8-
description="Terms of Service Page for recodehive Learners, and users"
29+
title="Terms and Conditions of RecodeHive"
30+
description="Terms of Service Page for RecodeHive learners and users"
931
>
10-
<div className="mx-auto mt-8 mb-8 max-w-3xl rounded-lg p-6 text-justify font-sans text-base leading-relaxed shadow-lg">
11-
<h2 className="mb-6 text-center text-2xl font-bold">
12-
Terms of Service
13-
</h2>
14-
<p className="mb-6">
15-
These Terms of Service govern your use of{" "}
16-
<b className="dark:text-gray-900">recodehive</b>, provided by{" "}
17-
<strong className="dark:text-gray-900">Sanjay Viswanathan</strong>.
18-
Below are the Terms and Conditions for the use of www.recodehive.com.
19-
Please read these carefully. If you need to contact us regarding any
20-
aspect of the following terms of use of our website, please reach out
21-
us at the following email address – [email protected].
22-
</p>
23-
<h3 className="mb-4 text-xl font-bold">Acceptance of Terms</h3>
32+
<div className="mx-auto mt-8 mb-8 max-w-3xl rounded-lg p-6 font-sans text-base leading-relaxed shadow-lg bg-white dark:bg-gray-100">
33+
<h1 className="mb-6 text-center text-3xl font-bold">Terms of Service</h1>
2434
<p className="mb-6">
25-
By accessing or using the Service, you acknowledge that you have read,
26-
understood, and agree to be bound by these Terms, as well as any
27-
additional terms and conditions, policies, and guidelines provided by
28-
us. If you do not agree to these Terms, please refrain from using the
29-
Service.
35+
Welcome to <b>RecodeHive</b>, operated by <strong>Sanjay Viswanathan</strong>.
36+
These Terms of Service govern your use of www.recodehive.com. Please read
37+
carefully. If you have any questions, contact us at{" "}
38+
<a href="mailto:[email protected]" className="text-blue-600 underline">
39+
40+
</a>.
3041
</p>
31-
<h3 className="mb-4 text-xl font-bold">Use of the Service</h3>
32-
<ol className="mb-6 list-decimal pl-6">
33-
<li className="mb-4">
34-
<strong>Usage Instructions:</strong> You agree not to use the
35-
website in a way that may impair the performance, corrupt or
36-
manipulate the content or information available on the website or
37-
reduce the overall functionality of the website.
38-
</li>
39-
<li className="mb-4">
40-
<strong>License:</strong> We grant you a limited, non-exclusive,
41-
non-transferable, and revocable license to access and use the
42-
Service for your personal or internal business purposes. This
43-
license does not permit any resale or commercial use of the Service.
44-
</li>
45-
<li className="mb-4">
46-
<strong>User Conduct:</strong> You agree not to compromise the
47-
security of the website or attempt to gain access to secured areas
48-
of the website or attempt to access any sensitive information you
49-
may believe exist on the website or server where it is hosted.
50-
</li>
51-
</ol>
52-
<h3 className="mb-4 text-xl font-bold">Content</h3>
53-
<ol className="mb-6 list-decimal pl-6">
54-
<li className="mb-4">
55-
<strong>User Content:</strong> You retain ownership of any content
56-
you submit or upload to the Service (&quot;User Content&quot;). By
57-
submitting User Content, you grant us a worldwide, royalty-free, and
58-
non-exclusive license to use, reproduce, modify, adapt, publish,
59-
translate, distribute, and display such User Content.
60-
</li>
61-
<li className="mb-4">
62-
<strong>Intellectual Property:</strong> All content, trademarks,
63-
service marks, logos, and other intellectual property displayed on
64-
or related to the Service are the property of{" "}
65-
<strong className="dark:text-gray-900">Sanjay Viswanathan</strong>{" "}
66-
or its licensors. You may not use or display any of these without
67-
our prior written consent.
68-
</li>
69-
<li className="mb-4">
70-
<strong>Compensation:</strong> You agree to be fully responsible for
71-
any claim, expense, losses, liability, costs including legal fees
72-
incurred by us arising from any infringement of the terms and
73-
conditions of this agreement and to which you will have agreed if
74-
you continue to use the website.
75-
</li>
76-
</ol>
77-
<h3 className="mb-4 text-xl font-bold">Privacy</h3>
78-
<p className="mb-6">
79-
Your privacy is important to us. Please review our{" "}
42+
43+
<Section id="acceptance" title="Acceptance of Terms">
44+
By accessing or using RecodeHive, you agree to comply with these Terms
45+
and any other guidelines provided by us. If you do not agree, please
46+
refrain from using the Service.
47+
</Section>
48+
49+
<Section id="use-of-service" title="Use of the Service">
50+
<ol className="list-decimal pl-6">
51+
<li className="mb-4">
52+
<strong>Usage Instructions:</strong> Do not use the website in any way
53+
that could impair its performance, corrupt content, or reduce overall functionality.
54+
</li>
55+
<li className="mb-4">
56+
<strong>License:</strong> We grant a limited, non-exclusive, non-transferable,
57+
revocable license for personal or internal business use only. Commercial use
58+
is prohibited without prior consent.
59+
</li>
60+
<li className="mb-4">
61+
<strong>User Conduct:</strong> Do not compromise website security,
62+
attempt unauthorized access, or access sensitive information you are
63+
not permitted to view.
64+
</li>
65+
</ol>
66+
</Section>
67+
68+
<Section id="content" title="Content">
69+
<ol className="list-decimal pl-6">
70+
<li className="mb-4">
71+
<strong>User Content:</strong> You retain ownership of content you
72+
submit. By submitting, you grant RecodeHive a worldwide, royalty-free,
73+
non-exclusive license to use, reproduce, modify, distribute, and display it.
74+
</li>
75+
<li className="mb-4">
76+
<strong>Intellectual Property:</strong> All trademarks, logos, and other
77+
intellectual property remain the property of Sanjay Viswanathan or its licensors.
78+
Usage requires prior written consent.
79+
</li>
80+
<li className="mb-4">
81+
<strong>Compensation:</strong> You are responsible for any claims, expenses,
82+
or legal fees arising from violations of these Terms.
83+
</li>
84+
</ol>
85+
</Section>
86+
87+
<Section id="privacy" title="Privacy">
88+
Please review our{" "}
8089
<a
8190
href="/privacy-policy/"
8291
target="_blank"
@@ -85,41 +94,30 @@ const TermsOfService: React.FC = () => {
8594
>
8695
Privacy Policy
8796
</a>{" "}
88-
to understand how we collect, use, and disclose your personal
89-
information.
90-
</p>
91-
<h3 className="mb-4 text-xl font-bold">Termination</h3>
92-
<p className="mb-6">
93-
We reserve the right to suspend or terminate your access to the
94-
Service at any time, with or without cause, and without notice or
95-
liability.
96-
</p>
97+
to understand how your personal information is collected and used.
98+
</Section>
9799

98-
<h3 className="mb-4 text-xl font-bold">Governing Law</h3>
99-
<p className="mb-6">
100-
These Terms shall be governed by and construed per the laws of India,
101-
without regard to its conflict of law principles.
102-
</p>
103-
<h3 className="mb-4 text-xl font-bold">Changes to the Terms</h3>
104-
<p className="mb-6">
105-
Though we strive to be entirely accurate in the information that is
106-
presented on our site and attempt to keep it as up to date as
107-
possible, in some cases, some of the information you find on the
108-
website may be slightly outdated. www.recodehive.com reserves the
109-
right to make any modifications or corrections to the information you
110-
find on the site at any time without notice.
111-
</p>
112-
<h3 className="mb-4 text-xl font-bold">Contact Us</h3>
113-
<p>
114-
If you have any questions about these Terms, please contact us at{" "}
115-
<a
116-
href="mailto:[email protected]"
117-
className="text-blue-600 underline"
118-
>
100+
<Section id="termination" title="Termination">
101+
We reserve the right to suspend or terminate access to the Service at any time,
102+
with or without cause, and without prior notice or liability.
103+
</Section>
104+
105+
<Section id="governing-law" title="Governing Law">
106+
These Terms are governed by the laws of India, without regard to conflicts of law.
107+
</Section>
108+
109+
<Section id="changes-to-terms" title="Changes to the Terms">
110+
RecodeHive may update or modify these Terms at any time. Continued use of the
111+
Service constitutes acceptance of the updated Terms. Users are responsible for
112+
reviewing changes regularly.
113+
</Section>
114+
115+
<Section id="contact" title="Contact Us">
116+
If you have any questions regarding these Terms, contact us at{" "}
117+
<a href="mailto:[email protected]" className="text-blue-600 underline">
119118
120-
</a>
121-
.
122-
</p>
119+
</a>.
120+
</Section>
123121
</div>
124122
</Layout>
125123
);

0 commit comments

Comments
 (0)