Skip to content

Commit

Permalink
Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
serefyarar committed Oct 4, 2024
1 parent e24fd17 commit 3de4027
Show file tree
Hide file tree
Showing 2 changed files with 269 additions and 0 deletions.
165 changes: 165 additions & 0 deletions web-app/src/app/pages/privacy-policy/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,165 @@
"use client";

import React from "react";
import FlexRow from "components/layout/base/Grid/FlexRow";
import Text from "components/base/Text";
import Header from "components/base/Header";

const styles = {
container: {
alignItems: "center",
padding: "2rem",
maxWidth: "800px",
margin: "0 auto",
},
content: {},
mainTitle: {
marginBottom: "2rem",
textAlign: "center" as const,
color: "#333",
fontSize: "2.5rem",
},
sectionTitle: {
marginTop: "3rem",
marginBottom: "1.5rem",
color: "#333",
fontSize: "1.75rem",
},
paragraph: {
marginTop: "1rem",
color: "#555",
lineHeight: "1.5",
},
list: {
marginTop: "1.5rem",
color: "#555",
lineHeight: "1.5",
},
button: {
marginTop: "2rem",
padding: "0.75rem 1.5rem",
fontSize: "1rem",
backgroundColor: "#007bff",
color: "#ffffff",
border: "none",
borderRadius: "4px",
cursor: "pointer",
transition: "background-color 0.3s ease",
},
};

const PrivacyPolicy = () => {
return (
<div style={styles.container}>
<div style={styles.content}>
<Header level={1} style={styles.mainTitle}>Privacy Policy</Header>

<FlexRow justify={"center"}>
<Text size="lg" style={styles.paragraph}>
Index Network, Inc built the Index app as a free app. This SERVICE is provided by
Index Network, Inc at no cost and is intended for use as is.
</Text>
</FlexRow>

<Text size="md" style={styles.paragraph}>
This page is used to inform visitors regarding our policies with the collection, use,
and disclosure of Personal Information if anyone decides to use our Service.
</Text>

<Text size="md" style={styles.paragraph}>
If you choose to use our Service, you agree to the collection and use of information
in relation to this policy. The Personal Information that we collect is used for
providing and improving the Service. We will not use or share your information with
anyone except as described in this Privacy Policy.
</Text>

<Text size="md" style={styles.paragraph}>
The terms used in this Privacy Policy have the same meanings as in our Terms and
Conditions unless otherwise defined in this Privacy Policy.
</Text>

<Header level={2} style={styles.sectionTitle}>Information Collection and Use</Header>
<Text size="md" style={styles.paragraph}>
For a better experience, while using our Service, we may require you to provide us
with certain personally identifiable information. The information that we request
will be retained by us and used as described in this privacy policy.
</Text>
<Text size="md" style={styles.paragraph}>
The app does use third-party services that may collect information used to identify you:
</Text>
<ul style={styles.list}>
<li>
<a href="https://expo.dev/privacy" target="_blank" rel="noopener noreferrer">
Expo
</a>
</li>
<li>
<a href="https://sentry.io/privacy/" target="_blank" rel="noopener noreferrer">
Sentry
</a>
</li>
<li>
<a href="https://getstream.io/legal/privacy/" target="_blank" rel="noopener noreferrer">
Stream.io
</a>
</li>
</ul>

<Header level={2} style={styles.sectionTitle}>Log Data</Header>
<Text size="md" style={styles.paragraph}>
We want to inform you that whenever you use our Service, in a case of an error in the
app, we collect data and information (through third-party products) on your phone
called Log Data. This Log Data may include information such as your device Internet
Protocol ("IP") address, device name, operating system version, the configuration of
the app when utilizing our Service, the time and date of your use of the Service, and
other statistics.
</Text>

<Header level={2} style={styles.sectionTitle}>Security</Header>
<Text size="md" style={styles.paragraph}>
We value your trust in providing us with your Personal Information, thus we are
striving to use commercially acceptable means of protecting it. However, please
remember that no method of transmission over the internet or method of electronic
storage is 100% secure and reliable, and we cannot guarantee its absolute security.
</Text>

<Header level={2} style={styles.sectionTitle}>Links to Other Sites</Header>
<Text size="md" style={styles.paragraph}>
This Service may contain links to other sites. If you click on a third-party link,
you will be directed to that site. Please note that these external sites are not
operated by us. Therefore, we strongly advise you to review the Privacy Policy of
these websites. We have no control over and assume no responsibility for the content,
privacy policies, or practices of any third-party sites or services.
</Text>

<Header level={2} style={styles.sectionTitle}>Children's Privacy</Header>
<Text size="md" style={styles.paragraph}>
These Services do not address anyone under the age of 13. We do not knowingly collect
personally identifiable information from children under 13 years of age. If we
discover that a child under 13 has provided us with personal information, we
immediately delete this from our servers. If you are a parent or guardian and you are
aware that your child has provided us with personal information, please contact us so
that we can take necessary actions.
</Text>

<Header level={2} style={styles.sectionTitle}>Changes to This Privacy Policy</Header>
<Text size="md" style={styles.paragraph}>
We may update our Privacy Policy from time to time. Thus, you are advised to review
this page periodically for any changes. We will notify you of any changes by posting
the new Privacy Policy on this page.
</Text>
<Text size="md" style={styles.paragraph}>
This policy is effective as of 2024-10-04.
</Text>

<Header level={2} style={styles.sectionTitle}>Contact Us</Header>
<Text size="md" style={styles.paragraph}>
If you have any questions or suggestions about our Privacy Policy, do not hesitate to
contact us at privacy@index.network
</Text>
</div>
</div>
);
};

export default PrivacyPolicy;
104 changes: 104 additions & 0 deletions web-app/src/app/pages/terms-and-conditions/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
"use client";

import React, { CSSProperties } from "react";
import FlexRow from "components/layout/base/Grid/FlexRow";
import Text from "components/base/Text";
import Header from "components/base/Header";

const styles: { [key: string]: CSSProperties } = {
container: {
alignItems: "center",
padding: "2rem",
maxWidth: "800px",
margin: "0 auto",
},
content: {

},
mainTitle: {
marginBottom: "2rem",
textAlign: "center" as const,
color: "#333",
fontSize: "2.5rem",
},
sectionTitle: {
marginTop: "3rem",
marginBottom: "1.5rem",
color: "#333",
fontSize: "1.75rem",
},
paragraph: {
marginTop: "1rem",
color: "#555",
lineHeight: "1.5",
},
list: {
marginTop: "1.5rem",
color: "#555",
lineHeight: "1.5",
},
};

const TermsAndConditions = () => {
return (
<div style={styles.container}>
<div style={styles.content}>
<Header level={1} style={styles.mainTitle as CSSProperties}>Terms and Conditions</Header>

<FlexRow justify={"center"}>
<Text size="lg" style={styles.paragraph}>
Welcome to Index, the app created by Index Network, Inc. By using our service, you agree to
the following terms and conditions:
</Text>
</FlexRow>

<Header level={2} style={styles.sectionTitle}>1. Content Guidelines</Header>
<Text size="md" style={styles.paragraph}>
You are solely responsible for the content you send through Index. You may not use the app to
send any content that is illegal, offensive, abusive, defamatory, or otherwise objectionable.
Index Network, Inc reserves the right to stop displaying any content that violates these
guidelines or terminate your access to the app without notice.
</Text>

<Header level={2} style={styles.sectionTitle}>2. Prohibited Conduct</Header>
<Text size="md" style={styles.paragraph}>
You may not use Index to:
</Text>
<ul style={styles.list}>
<li>Harass, stalk, or threaten any other user</li>
<li>Impersonate any person or entity or falsely state or otherwise misrepresent your affiliation with a person or entity</li>
<li>Send unsolicited messages or spam</li>
<li>Collect or store personal data about other users without their consent</li>
<li>Engage in any illegal activity or violate any laws or regulations</li>
</ul>

<Header level={2} style={styles.sectionTitle}>3. Termination</Header>
<Text size="md" style={styles.paragraph}>
Index Network, Inc may terminate your access to the app at any time and for any reason, without notice.
</Text>

<Header level={2} style={styles.sectionTitle}>4. Disclaimer of Warranties</Header>
<Text size="md" style={styles.paragraph}>
Index is provided "as is" and "as available" without warranty of any kind, express or implied,
including but not limited to the warranties of merchantability, fitness for a particular
purpose, and non-infringement.
</Text>

<Header level={2} style={styles.sectionTitle}>5. Limitation of Liability</Header>
<Text size="md" style={styles.paragraph}>
In no event shall Index Network, Inc be liable for any damages (including, without limitation,
damages for loss of data or profit, or due to business interruption) arising out of the use or
inability to use Index, even if Index Network, Inc has been notified orally or in writing of
the possibility of such damage.
</Text>

<Text size="md" style={styles.paragraph}>
By using Index, you agree to these terms and conditions. If you do not agree to these terms,
you may not use the app.
</Text>
</div>
</div>
);
};

export default TermsAndConditions;

0 comments on commit 3de4027

Please sign in to comment.