From dd5a35bdccc27540ed9318ce4a9f1b7fa77bcfb8 Mon Sep 17 00:00:00 2001 From: Pheonix Date: Fri, 19 Jun 2026 18:04:02 +0530 Subject: [PATCH] created terms and conditions page --- src/components/Footer.tsx | 35 +++++--- src/pages/Terms/page.tsx | 164 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 186 insertions(+), 13 deletions(-) create mode 100644 src/pages/Terms/page.tsx diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 3ad55184..0753a2f4 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -1,5 +1,5 @@ -import { useState } from 'react'; -import { Link } from 'react-router-dom'; +import { useState } from "react"; +import { Link } from "react-router-dom"; import { FaGithub, FaTwitter, @@ -7,19 +7,20 @@ import { FaArrowRight, FaEnvelope, FaInfoCircle, - FaShieldAlt, // ✅ Added Privacy Icon -} from 'react-icons/fa'; + FaShieldAlt, + FaFileContract, // ✅ Added for Terms +} from "react-icons/fa"; function Footer() { - const [email, setEmail] = useState(''); + const [email, setEmail] = useState(""); const handleSubscribe = (e: React.FormEvent) => { e.preventDefault(); // Replace with API call - alert('Thank you for subscribing!'); + alert("Thank you for subscribing!"); - setEmail(''); + setEmail(""); }; return ( @@ -37,7 +38,6 @@ function Footer() {
{/* Upper Section */}
- {/* Brand */}
- {/* ✅ New Privacy Policy link integration */} + {/* Privacy Policy */} Privacy Policy + + {/* ✅ New Terms and Conditions link */} + + + Terms and Conditions +
@@ -144,12 +153,12 @@ function Footer() { {/* Bottom Bar */}
- {/* Copyright */}

- © {new Date().getFullYear()}{' '} - GitHub Tracker. All rights reserved. + © {new Date().getFullYear()}{" "} + GitHub Tracker. All rights + reserved.

@@ -191,4 +200,4 @@ function Footer() { ); } -export default Footer; \ No newline at end of file +export default Footer; diff --git a/src/pages/Terms/page.tsx b/src/pages/Terms/page.tsx new file mode 100644 index 00000000..27eb26e0 --- /dev/null +++ b/src/pages/Terms/page.tsx @@ -0,0 +1,164 @@ +"use client"; + +import { Link } from "react-router-dom"; +import { FaArrowLeft, FaFileContract } from "react-icons/fa"; + +export default function TermsPage() { + const lastUpdated = "June 19, 2026"; + + return ( +
+ {/* Header */} +
+
+ + + Back to Home + + +
+
+ +
+
+

+ Terms and Conditions +

+

+ Last updated: {lastUpdated} +

+
+
+
+
+ +
+
+ {/* Introduction */} +
+

1. Introduction

+

+ Welcome to GitHub Tracker. By accessing or using + our website and services, you agree to be bound by these Terms and + Conditions. If you do not agree, please do not use our services. +

+
+ + {/* User Accounts */} +
+

2. User Accounts

+

+ To access certain features, you may need to create an account. You + are responsible for maintaining the confidentiality of your + account and password. You agree to notify us immediately of any + unauthorized use of your account. +

+
+ + {/* Acceptable Use */} +
+

3. Acceptable Use

+

+ You agree not to use our service for any unlawful purpose or in + any way that: +

+
    +
  • Violates GitHub’s Terms of Service
  • +
  • Infringes on intellectual property rights
  • +
  • Attempts to reverse engineer or scrape our platform
  • +
  • Harasses, threatens, or harms other users
  • +
+
+ + {/* Intellectual Property */} +
+

+ 4. Intellectual Property +

+

+ All content, design, and functionality on GitHub Tracker are the + property of GitMetricsLab or its licensors. You may not copy, + modify, distribute, or create derivative works without explicit + permission. +

+
+ + {/* Termination */} +
+

5. Termination

+

+ We reserve the right to suspend or terminate your access to the + service at any time, with or without cause, and without prior + notice. +

+
+ + {/* Disclaimers */} +
+

6. Disclaimers

+

+ Our service is provided "as is" without any warranties, express or + implied. We do not guarantee that the service will be + uninterrupted, error-free, or secure. +

+
+ + {/* Limitation of Liability */} +
+

+ 7. Limitation of Liability +

+

+ In no event shall GitHub Tracker or its owners be liable for any + indirect, incidental, special, consequential, or punitive damages + arising out of your use of the service. +

+
+ + {/* Governing Law */} +
+

8. Governing Law

+

+ These terms are governed by the laws of India. Any disputes shall + be resolved exclusively in the courts of [Your City], India. +

+
+ + {/* Changes to Terms */} +
+

9. Changes to Terms

+

+ We may update these Terms from time to time. We will notify you of + significant changes by posting the new Terms on this page and + updating the "Last updated" date. +

+
+ + {/* Contact Us */} +
+

10. Contact Us

+

+ If you have any questions about these Terms and Conditions, please + contact us at: +

+

+ + support@githubtracker.com + +

+
+
+ +
+ © {new Date().getFullYear()} GitHub Tracker. All rights reserved. +
+
+
+ ); +}