Skip to content

Commit

Permalink
terms-of-use
Browse files Browse the repository at this point in the history
  • Loading branch information
IkkiOcean committed Nov 4, 2024
1 parent 9abaa1f commit e1c94b6
Show file tree
Hide file tree
Showing 3 changed files with 182 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/AgroShopAI/components/ShopFooter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const ShopFooter = () => {
</a>
</li>
<li>
<a href="/terms" className="hover:underline">
<a href="/AgroShop/terms-of-use" className="hover:underline">
Terms of Use
</a>
</li>
Expand Down
179 changes: 179 additions & 0 deletions frontend/src/AgroShopAI/pages/FooterPages/TermsOfUse.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
import React from 'react';

const TermsOfUse = () => {
return (
<div className="bg-green-100 py-2">

<div className="max-w-4xl mx-auto p-8 bg-gray-50 shadow-md rounded-lg">
<h1 className="text-4xl font-bold text-center text-teal-700 mb-6">
Terms of Use
</h1>

{/* Acceptance of Terms */}
<section className="mb-12">
<h2 className="text-2xl font-semibold text-gray-800 mb-4 border-b-2 border-teal-600 pb-2">
1. Acceptance of Terms
</h2>
<p className="text-gray-700 mb-4">
By accessing or using the services provided by AgroShop AI, you acknowledge that you have read, understood, and agree to be bound by these Terms of Use. If you do not agree with any part of these terms, you must not use our services. This agreement is made between you, the user, and AgroShop AI, located in India, and is governed by the applicable laws of India.
</p>
</section>

{/* User Obligations */}
<section className="mb-12">
<h2 className="text-2xl font-semibold text-gray-800 mb-4 border-b-2 border-teal-600 pb-2">
2. User Obligations and Responsibilities
</h2>
<p className="text-gray-700 mb-4">Users must:</p>
<ul className="list-disc list-inside text-gray-700 mb-4">
<li>Use services for lawful purposes only.</li>
<li>Provide accurate information when creating an account.</li>
<li>Maintain the confidentiality of account information.</li>
</ul>
<p className="text-gray-700 mb-4">Users are prohibited from:</p>
<ul className="list-disc list-inside text-gray-700 mb-4">
<li>Using services for illegal or unauthorized purposes.</li>
<li>Interfering with the security or performance of our services.</li>
</ul>
</section>

{/* Intellectual Property Rights */}
<section className="mb-12">
<h2 className="text-2xl font-semibold text-gray-800 mb-4 border-b-2 border-teal-600 pb-2">
3. Intellectual Property Rights and Ownership
</h2>
<ul className="list-disc list-inside text-gray-700 mb-4">
<li>
All content, trademarks, and intellectual property related to AgroShop AI are owned by the company or its licensors.
</li>
<li>
Reproduction, distribution, or creation of derivative works from any content without prior written consent is prohibited.
</li>
</ul>
</section>

{/* Limitation of Liability */}
<section className="mb-12">
<h2 className="text-2xl font-semibold text-gray-800 mb-4 border-b-2 border-teal-600 pb-2">
4. Limitation of Liability
</h2>
<ul className="list-disc list-inside text-gray-700 mb-4">
<li>
AgroShop AI shall not be liable for any indirect, incidental, special, or consequential damages arising from your use of our services.
</li>
<li>
This includes, but is not limited to, loss of profits, data, or goodwill.
</li>
</ul>
</section>

{/* Indemnification */}
<section className="mb-12">
<h2 className="text-2xl font-semibold text-gray-800 mb-4 border-b-2 border-teal-600 pb-2">
5. Indemnification
</h2>
<ul className="list-disc list-inside text-gray-700 mb-4">
<li>
You agree to indemnify and hold harmless AgroShop AI from any claims, damages, losses, liabilities, and expenses arising from your use of the services or violation of these Terms.
</li>
</ul>
</section>

{/* Termination Clause */}
<section className="mb-12">
<h2 className="text-2xl font-semibold text-gray-800 mb-4 border-b-2 border-teal-600 pb-2">
6. Termination Clause
</h2>
<ul className="list-disc list-inside text-gray-700 mb-4">
<li>
AgroShop AI reserves the right to terminate or suspend your account and access to services at any time without notice.
</li>
<li>
This can occur for conduct that violates these Terms or is harmful to other users, the company, or third parties.
</li>
</ul>
</section>

{/* Governing Law */}
<section className="mb-12">
<h2 className="text-2xl font-semibold text-gray-800 mb-4 border-b-2 border-teal-600 pb-2">
7. Governing Law and Jurisdiction
</h2>
<ul className="list-disc list-inside text-gray-700 mb-4">
<li>
These Terms shall be governed by and construed in accordance with the laws of India.
</li>
<li>
Any disputes arising from these terms will be resolved in courts located in India.
</li>
</ul>
</section>

{/* Modification of Terms */}
<section className="mb-12">
<h2 className="text-2xl font-semibold text-gray-800 mb-4 border-b-2 border-teal-600 pb-2">
8. Modification of Terms
</h2>
<ul className="list-disc list-inside text-gray-700 mb-4">
<li>
AgroShop AI reserves the right to modify these Terms at any time.
</li>
<li>
Users will be notified of significant changes via the website or email.
</li>
<li>
Continued use of the services after modifications constitutes acceptance of the new Terms.
</li>
</ul>
</section>

{/* Legal Compliance */}
<section className="mb-12">
<h2 className="text-2xl font-semibold text-gray-800 mb-4 border-b-2 border-teal-600 pb-2">
9. Legal Compliance and User Responsibility
</h2>
<ul className="list-disc list-inside text-gray-700 mb-4">
<li>
Users agree to comply with all applicable laws, including:
<ul className="list-disc list-inside ml-6">
<li>
<strong>Information Technology Act, 2000:</strong> Governs online data security, privacy, and cybercrimes.
</li>
<li>
<strong>Indian Contract Act, 1872:</strong> Governs the formation and enforcement of contracts in India.
</li>
</ul>
</li>
</ul>
</section>

{/* Dispute Resolution */}
<section className="mb-12">
<h2 className="text-2xl font-semibold text-gray-800 mb-4 border-b-2 border-teal-600 pb-2">
10. Dispute Resolution
</h2>
<ul className="list-disc list-inside text-gray-700 mb-4">
<li>
Any disputes arising out of or relating to these Terms of Use shall be resolved through amicable negotiations.
</li>
<li>
If a resolution cannot be reached, the dispute will be referred to mediation as a first step.
</li>
<li>
If mediation fails, the dispute shall be settled by binding arbitration in accordance with the Arbitration and Conciliation Act, 1996 of India.
</li>
<li>
The arbitration proceedings shall be conducted in India, and the language of the arbitration shall be English.
</li>
<li>
Each party shall bear its own costs incurred during the arbitration process.
</li>
</ul>
</section>

</div>
</div>
);
};

export default TermsOfUse;
2 changes: 2 additions & 0 deletions frontend/src/MainContent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ import Wishlist from './AgroShopAI/pages/Wishlist';
import ShopNavbar from './AgroShopAI/components/ShopNavbar';
import ShopProfile from './AgroShopAI/pages/Profile'
import CancelAndReturnPolicy from './AgroShopAI/pages/FooterPages/CancelAndReturn';
import TermsOfUse from './AgroShopAI/pages/FooterPages/TermsOfUse';
import ForgotPasswordPage from './components/ForgotPassword';
import AccountVerificationPage from './components/EmailVerification';

Expand Down Expand Up @@ -148,6 +149,7 @@ const MainContent = () => {
<Route path="/AgroShop/Profile" element={<ShopProfile/>} />
{/* Footer Links */}
<Route path="/AgroShop/cancellation-return" element={<CancelAndReturnPolicy/>} />
<Route path="/AgroShop/terms-of-use" element={<TermsOfUse/>} />
</Routes>
{checkShop ? <ShopFooter/> : <Footer/>}
</div>
Expand Down

0 comments on commit e1c94b6

Please sign in to comment.