Skip to content

Commit 4bf8d42

Browse files
committed
create Privacy Policy and terms of service pages
1 parent 75b19e1 commit 4bf8d42

File tree

5 files changed

+116
-6
lines changed

5 files changed

+116
-6
lines changed

src/App.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import Login from './pages/Login';
99
import Logout from './pages/Logout';
1010
import Layout from './components/Layout';
1111
import NotFound from './pages/404';
12+
import PrivacyPolicyPage from './pages/PrivacyPolicy';
13+
import TermsOfServicePage from './pages/Terms';
1214

1315
function App() {
1416
return (
@@ -19,6 +21,8 @@ function App() {
1921
<Route path='/' element={<HomePage />} />
2022
<Route path='/viewprojects' element={<ViewProject />} />
2123
<Route path='/addproject' element={<AddProject />} />
24+
<Route path='/privacypolicy' element={<PrivacyPolicyPage />} />
25+
<Route path='/termsofservice' element={<TermsOfServicePage />} />
2226
<Route path='/contributing' element={<Contributing />} />
2327
<Route path='/registration' element={<Registration />} />
2428
<Route path='/login' element={<Login />} />

src/App.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ import Login from './pages/Login';
99
import Logout from './pages/Logout';
1010
import Layout from './components/Layout';
1111
import NotFound from './pages/404';
12+
import PrivacyPolicyPage from './pages/PrivacyPolicy';
13+
import TermsOfServicePage from './pages/Terms';
1214

1315
function App() {
1416
return (
@@ -19,6 +21,8 @@ function App() {
1921
<Route path='/' element={<HomePage />} />
2022
<Route path='/viewprojects' element={<ViewProject />} />
2123
<Route path='/addproject' element={<AddProject />} />
24+
<Route path='/privacypolicy' element={<PrivacyPolicyPage />} />
25+
<Route path='/termsofservice' element={<TermsOfServicePage />} />
2226
<Route path='/contributing' element={<Contributing />} />
2327
<Route path='/registration' element={<Registration />} />
2428
<Route path='/login' element={<Login />} />

src/components/Footer.jsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ function Footer() {
1515
]
1616
const resources = [
1717
{ url: '#!', text: 'Articles' },
18-
{ url: '/documentation', text: 'Documentation' },
18+
{ url: '#!', text: 'Documentation' },
1919
{ url: '#!', text: 'Developer Resources' },
2020
]
2121
const legal = [
22-
{ url: '#!', text: 'License' },
23-
{ url: '#!', text: 'Privacy Policy' },
24-
{ url: '#!', text: 'Terms of service' },
22+
{ url: 'https://github.com/Frenziecodes/Projest/blob/master/LICENSE', text: 'License' },
23+
{ url: '/privacypolicy', text: 'Privacy Policy' },
24+
{ url: '/termsofservice', text: 'Terms of service' },
2525
]
2626
return (
2727
<footer className="bg-blue-800 text-white py-6">
@@ -31,10 +31,10 @@ function Footer() {
3131
<p className="text-sm px-2 md:px-0">A platform for showcasing and sharing projects. If you find this platform helpful, we would appreciate it if you could <a href="https://github.com/Frenziecodes/Projest" target="_blank" rel="noopener noreferrer">star</a> the project on <a href="https://github.com/Frenziecodes/Projest" target="_blank" rel="noopener noreferrer">GitHub</a>.</p>
3232
</div>
3333
</div>
34-
<div className="grid md:grid-cols-2 lg:grid-cols-4 place-items-center my-2">
34+
<div className="grid md:grid-cols-2 lg:grid-cols-3 place-items-center my-2">
3535
<LinksComponent label="Solutions" links={getInVolved} />
3636
<LinksComponent label="Support" links={support} />
37-
<LinksComponent label="resources" links={resources} />
37+
{/* <LinksComponent label="resources" links={resources} /> */}
3838
<LinksComponent label="Legal" links={legal} />
3939
</div>
4040
<div className="text-center mt-4">

src/pages/PrivacyPolicy.jsx

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
import React from 'react';
2+
3+
const PrivacyPolicyPage = () => {
4+
return (
5+
<div className="container mx-auto px-4 mt-16 py-8">
6+
<h1 className="text-3xl font-bold mb-4">Privacy Policy</h1>
7+
<p className="mb-4">
8+
At Projest, we value the privacy of our users and are committed to protecting it. This Privacy Policy outlines how we collect, use, and handle your personal information when you use our website and services.
9+
</p>
10+
<h2 className="text-2xl font-bold mb-4">Information We Collect</h2>
11+
<p className="mb-4">
12+
When you use Projest, we may collect the following types of information:
13+
</p>
14+
<ul className="list-disc list-inside mb-4">
15+
<li>Information about the projects you upload, including project details and associated GitHub links</li>
16+
<li>Information about your interactions with the website, such as browsing history and search queries</li>
17+
</ul>
18+
<h2 className="text-2xl font-bold mb-4">How We Use Your Information</h2>
19+
<p className="mb-4">
20+
We may use the information we collect for the following purposes:
21+
</p>
22+
<ul className="list-disc list-inside mb-4">
23+
<li>To provide and improve our services</li>
24+
<li>To personalize your experience and tailor the content and features to your interests</li>
25+
<li>To communicate with you regarding your account and project uploads</li>
26+
<li>To analyze and monitor the usage of our website and services</li>
27+
</ul>
28+
<h2 className="text-2xl font-bold mb-4">Information Sharing and Disclosure</h2>
29+
<p className="mb-4">
30+
We do not sell, trade, or otherwise transfer your personal information to third parties without your consent. However, we may share your information in the following circumstances:
31+
</p>
32+
<ul className="list-disc list-inside mb-4">
33+
<li>With your consent or at your direction</li>
34+
<li>With service providers and partners who assist us in delivering and improving our services</li>
35+
<li>If required by law or to protect the rights, property, or safety of Projest, our users, or others</li>
36+
</ul>
37+
<h2 className="text-2xl font-bold mb-4">Security</h2>
38+
<p className="mb-4">
39+
We take reasonable measures to protect the information we collect from unauthorized access, disclosure, alteration, or destruction. However, please be aware that no method of transmission over the internet or electronic storage is completely secure.
40+
</p>
41+
<h2 className="text-2xl font-bold mb-4">Changes to this Privacy Policy</h2>
42+
<p className="mb-4">
43+
We may update this Privacy Policy from time to time. Any changes will be posted on this page, and the revised policy will become effective when posted. We encourage you to review this Privacy Policy periodically for any updates or changes.
44+
</p>
45+
<h2 className="text-2xl font-bold mb-4">Contact Us</h2>
46+
<p className="mb-4">
47+
If you have any questions or concerns about this Privacy Policy or our privacy practices, please contact us at coderflame3@gmail.com.
48+
</p>
49+
</div>
50+
);
51+
};
52+
53+
export default PrivacyPolicyPage;

src/pages/Terms.jsx

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
import React from 'react';
2+
3+
const TermsOfServicePage = () => {
4+
return (
5+
<div className="container mx-auto px-4 py-8 mt-16">
6+
<h1 className="text-3xl font-bold mb-4">Terms of Service</h1>
7+
<p className="mb-4">
8+
Welcome to Projest! These Terms of Service outline the rules and regulations for using our website and services. By accessing or using Projest, you agree to comply with these terms and conditions.
9+
</p>
10+
<h2 className="text-2xl font-bold mb-4">Acceptance of Terms</h2>
11+
<p className="mb-4">
12+
By using Projest, you acknowledge that you have read, understood, and agree to be bound by these Terms of Service. If you do not agree with any part of these terms, please do not access or use our website.
13+
</p>
14+
<h2 className="text-2xl font-bold mb-4">User Conduct</h2>
15+
<p className="mb-4">
16+
When using Projest, you agree to the following guidelines:
17+
</p>
18+
<ul className="list-disc list-inside mb-4">
19+
<li>Do not violate any applicable laws or regulations</li>
20+
<li>Do not infringe upon the rights of others</li>
21+
<li>Do not engage in any harmful or malicious activities</li>
22+
<li>Do not upload or share any content that is inappropriate, offensive, or violates intellectual property rights</li>
23+
<li>Do not attempt to access or disrupt the integrity of our systems or networks</li>
24+
</ul>
25+
<h2 className="text-2xl font-bold mb-4">Intellectual Property</h2>
26+
<p className="mb-4">
27+
Projest and its associated logos, trademarks, and content are the intellectual property of Projest Inc. You may not use, reproduce, or distribute any of our intellectual property without prior written consent.
28+
</p>
29+
<h2 className="text-2xl font-bold mb-4">Disclaimer of Liability</h2>
30+
<p className="mb-4">
31+
Projest and its team are not liable for any damages or losses arising from the use of our website or services. We strive to provide accurate and reliable information, but we do not guarantee the completeness, accuracy, or timeliness of the content.
32+
</p>
33+
<h2 className="text-2xl font-bold mb-4">Termination</h2>
34+
<p className="mb-4">
35+
Projest reserves the right to terminate or suspend your access to our website and services at any time, without prior notice or liability, for any reason including, but not limited to, a breach of these Terms of Service.
36+
</p>
37+
<h2 className="text-2xl font-bold mb-4">Changes to the Terms</h2>
38+
<p className="mb-4">
39+
Projest may revise these Terms of Service at any time. We will provide notice of any material changes, either by posting the updated terms on our website or by sending you a notification. Your continued use of Projest after the changes will signify your acceptance of the updated terms.
40+
</p>
41+
<h2 className="text-2xl font-bold mb-4">Contact Us</h2>
42+
<p className="mb-4">
43+
If you have any questions or concerns about these Terms of Service, please contact us at coderflame3@gmail.com.
44+
</p>
45+
</div>
46+
);
47+
};
48+
49+
export default TermsOfServicePage;

0 commit comments

Comments
 (0)