diff --git a/user/src/components/LinkingPolicy.jsx b/user/src/components/LinkingPolicy.jsx index d7f00b7..63b92ce 100644 --- a/user/src/components/LinkingPolicy.jsx +++ b/user/src/components/LinkingPolicy.jsx @@ -1,7 +1,26 @@ -import React from 'react'; -import { Link2, ExternalLink, Shield, AlertTriangle, CheckCircle, XCircle, Globe, Users } from 'lucide-react'; +import React, { useState, useEffect } from 'react'; +import { Link2, ExternalLink, Shield, AlertTriangle, CheckCircle, XCircle, Globe, Users, Sun, Moon } from 'lucide-react'; const LinkingPolicy = () => { + const [darkMode, setDarkMode] = useState(false); + + // Persist theme in localStorage + useEffect(() => { + if (darkMode) { + document.documentElement.classList.add("dark"); + localStorage.setItem("theme", "dark"); + } else { + document.documentElement.classList.remove("dark"); + localStorage.setItem("theme", "light"); + } + }, [darkMode]); + + // Load saved theme on mount + useEffect(() => { + const savedTheme = localStorage.getItem("theme"); + if (savedTheme === "dark") setDarkMode(true); + }, []); + const linkingTypes = [ { type: "Outbound Links", @@ -48,7 +67,7 @@ const LinkingPolicy = () => { ]; return ( -
As a government platform dedicated to transparent and accessible digital governance, SaralSeva maintains strict guidelines for linking to and from external websites. @@ -83,8 +112,8 @@ const LinkingPolicy = () => { services while protecting users from security threats and ensuring compliance with government digital standards.
-+
Policy Scope: This policy applies to all hyperlinks, redirects, API integrations, and digital connections associated with the SaralSeva platform.
@@ -93,25 +122,25 @@ const LinkingPolicy = () => {{item.description}
+{item.description}
+
All external links are provided for user convenience and informational purposes. SaralSeva does not endorse, control, or assume responsibility for the content, privacy policies, or practices of external websites. Users access external sites @@ -184,15 +213,15 @@ const LinkingPolicy = () => {
+
Commercial entities, media organizations, and third-party services must obtain written permission before linking to SaralSeva.
@@ -277,7 +306,7 @@ const LinkingPolicy = () => {+
This Linking Policy is regularly reviewed and updated to ensure compliance with evolving government guidelines, security standards, and digital governance best practices. All stakeholders will be notified of significant policy changes.
-+
Last Updated: August 2025 | Next Review: February 2026 | Version: 2.1
SaralSeva is dedicated to strengthening governance from the ground up by providing transparent, accessible, and secure digital services for rural government schemes. This Privacy Policy explains @@ -203,7 +232,7 @@ const PrivacyPolicy = () => { critical importance of maintaining the confidentiality and integrity of your personal information while ensuring transparency in government operations.
-+
Last Updated: August 2025 | Effective Date: August 19, 2025
+
This Privacy Policy is part of SaralSeva's commitment to building a transparent, accountable, and citizen-centric digital governance ecosystem. Regular updates ensure compliance with evolving data protection regulations and government guidelines.
-