From f015eb7bb62188ba69b5f3a8d5bbe90dc7a3dfce Mon Sep 17 00:00:00 2001 From: yuvraj-k-singh Date: Sat, 23 May 2026 07:58:20 +0530 Subject: [PATCH] Add Responsive Privacy Policy Page to the Website --- src/Routes/Router.tsx | 6 +- src/components/Footer.tsx | 12 +- src/pages/Privacy/PrivacyPolicy.tsx | 232 ++++++++++++++++++++++++++++ 3 files changed, 247 insertions(+), 3 deletions(-) create mode 100644 src/pages/Privacy/PrivacyPolicy.tsx diff --git a/src/Routes/Router.tsx b/src/Routes/Router.tsx index 51eebc32..874ef7e7 100644 --- a/src/Routes/Router.tsx +++ b/src/Routes/Router.tsx @@ -8,6 +8,7 @@ import Login from "../pages/Login/Login.tsx"; import ContributorProfile from "../pages/ContributorProfile/ContributorProfile.tsx"; import Home from "../pages/Home/Home.tsx"; import Activity from "../pages/Activity.tsx"; +import PrivacyPolicy from "../pages/Privacy/PrivacyPolicy.tsx"; // ✅ Updated import path to match your new folder structure const Router = () => { return ( @@ -20,9 +21,10 @@ const Router = () => { } /> } /> } /> - - {/* ✅ new route */} } /> + + {/* Privacy Policy page route */} + } /> ); }; diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 411bf2ff..3ad55184 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -7,6 +7,7 @@ import { FaArrowRight, FaEnvelope, FaInfoCircle, + FaShieldAlt, // ✅ Added Privacy Icon } from 'react-icons/fa'; function Footer() { @@ -80,6 +81,15 @@ function Footer() { About + + {/* ✅ New Privacy Policy link integration */} + + + Privacy Policy + @@ -181,4 +191,4 @@ function Footer() { ); } -export default Footer; +export default Footer; \ No newline at end of file diff --git a/src/pages/Privacy/PrivacyPolicy.tsx b/src/pages/Privacy/PrivacyPolicy.tsx new file mode 100644 index 00000000..783d4e82 --- /dev/null +++ b/src/pages/Privacy/PrivacyPolicy.tsx @@ -0,0 +1,232 @@ +import React from 'react'; +import { + FaShieldAlt, FaKey, FaDatabase, FaUserCheck, FaCheckCircle, + FaLock, FaClock, FaShareAlt, FaCookieBite, FaChild +} from 'react-icons/fa'; + +const PrivacyPolicy: React.FC = () => { + return ( +
+ + {/* Centered Document Core Container */} +
+ + {/* Header Area */} +
+
+

+ Privacy Policy +

+

+ Comprehensive disclosure regarding data scopes, OAuth lifecycle protocols, and compliance frameworks. +

+
+
+ v1.1.0 + + Updated May 23, 2026 +
+
+ + {/* Document Sections */} +
+ + {/* Section 1 */} +
+
+
+ +
+
+

+ 1. Information Architecture & Granular Scope +

+

+ Our GitHub Tracker system interfaces dynamically via encrypted requests using official GitHub REST and GraphQL v4 API structures. When authorizing our application, the platform requests specific parameters categorized into distinct transactional boundaries: +

+ +
+
+ +
+

Public Personas & Identity

+

Unique GitHub account numbers, alphanumeric handles, public email registries, display names, avatar image URLs, and explicit organizational memberships.

+
+
+
+ +
+

Repository Metadata

+

Repository naming schemes, fork/star status parameters, pull request records, timeline branches, file alteration schemas, and lines of code changed.

+
+
+
+
+
+
+ + {/* Section 2 */} +
+
+
+ +
+
+

+ 2. Data Integrity & Processing Framework +

+

+ Your tracking details are captured strictly to fulfill runtime chart mappings, contribution breakdowns, and metric visualizations within your dashboard component stack. We operate on a strict data minimization protocol: +

+
+ "No raw underlying source code contents, software structural logic matrices, or code blobs are ever read, indexed, parsed, or transferred beyond your current transient client session execution." +
+
+
+
+ + {/* Section 3 */} +
+
+
+ +
+
+

+ 3. Access Control, OAuth Scopes & Token Management +

+

+ Authentication OAuth variables are kept isolated inside client-side cross-site safe state blocks or managed through backend encryption protocols using advanced environment keys. Tokens hold restricted, read-only permissions mapping strictly to the interfaces you use. +

+
+ +

+ Total Sovereignty: You can break application scope permissions instantly at any point. Simply head over to your personal GitHub settings page under Settings → Authorized OAuth Apps and execute "Revoke Access". +

+
+
+
+
+ + {/* Section 4 (NEW) */} +
+
+
+ +
+
+

+ 4. Data Retention Windows +

+

+ We match our data lifecycles with the minimal window needed to calculate tracker outputs. Transient API query results are kept inside system short-term cache loops to prevent hitting rate limits against GitHub's infrastructure. +

+

+ If you manually unbind your profile or close your application tracking dashboard, all temporary caches connected with your profile identity scope are dropped automatically within 24 hours. +

+
+
+
+ + {/* Section 5 (NEW) */} +
+
+
+ +
+
+

+ 5. Third-Party Infrastructure Sub-Processors +

+

+ We do not lease or exchange analytical summaries with commercial ad engines. To deliver this platform service safely, operations traverse specific cloud infrastructure subprocessors: +

+
    +
  • GitHub Inc: Primary provider of identity verification mechanisms and the source repository API layer.
  • +
  • Cloud Web Hosting (e.g., Vercel/Render): Delivers static code distribution structures and secure frontend client runtime routing instances.
  • +
+
+
+
+ + {/* Section 6 (NEW) */} +
+
+
+ +
+
+

+ 6. Cookies & Local Storage Variables +

+

+ Our service does not embed tracking pixels or analytical cookie scripts designed to catalog off-site interactions. We utilize standard browser LocalStorage and state variables strictly to preserve state parameters: +

+
    +
  • Theme state configurations (Syncing dark/light toggles securely).
  • +
  • Active session routing indices (Preventing drop-offs when running complex repository lookups).
  • +
+
+
+
+ + {/* Section 7 (NEW) */} +
+
+
+ +
+
+

+ 7. Age Restrictions & Children's Privacy +

+

+ Our telemetry tools are structured for developers, open-source engineers, and software project maintainers. We do not intentionally harvest account vectors or profile tracking traces from users under the age of 13. If any minor submits profile identifiers, we will purge those traces from short-term memory setups immediately upon notification. +

+
+
+
+ + {/* Section 8 */} +
+
+
+ +
+
+

+ 8. Your Rights, GDPR & Cache Control +

+

+ Under strict modern global privacy framework mandates (including GDPR and CCPA standardizations), you retain unconditional control over your data metrics. For explicit token cache flush requests, structural transparency audits, or operational logging inquiries, you are invited to launch an official issue ticket inside our repository project workspace. +

+
+
+
+ +
+ + {/* Support Action Card */} +
+
+

+ Have questions regarding data encryption limits? +

+

+ Our active community engineers are standing by to review repository processing flows. +

+
+ + Contact Support Team + +
+ +
+
+ ); +}; + +export default PrivacyPolicy; \ No newline at end of file