diff --git a/app/components/PrivacyPolicyModal.jsx b/app/components/PrivacyPolicyModal.jsx
index 600a573..6c62a7a 100755
--- a/app/components/PrivacyPolicyModal.jsx
+++ b/app/components/PrivacyPolicyModal.jsx
@@ -25,7 +25,7 @@ const policySections = [
id : "4",
title : "Contact Information",
data : "For any privacy-related questions, please contact us at",
- contact : "support@dsavisualizer.com",
+ contact : "hello@dsavisualizer.in",
},
];
diff --git a/app/components/cookie.jsx b/app/components/cookie.jsx
new file mode 100755
index 0000000..291d7f5
--- /dev/null
+++ b/app/components/cookie.jsx
@@ -0,0 +1,169 @@
+import React, { useEffect } from 'react';
+import { FiX } from 'react-icons/fi';
+
+const cookieSections = [
+ {
+ id: "1",
+ title: "What Are Cookies",
+ data: "Cookies are small text files that are stored on your device when you visit our website. They help us provide you with a better experience by remembering your preferences and understanding how you use our site.",
+ },
+ {
+ id: "2",
+ title: "Types of Cookies We Use",
+ points: [
+ "Essential Cookies: Required for basic site functionality and security",
+ "Performance Cookies: Help us understand how visitors interact with our website",
+ "Functionality Cookies: Remember your preferences and settings",
+ "Analytics Cookies: Collect information about your usage patterns",
+ ],
+ },
+ {
+ id: "3",
+ title: "How We Use Cookies",
+ points: [
+ "To authenticate users and prevent fraudulent use",
+ "Remember your preferences and settings",
+ "Analyze site traffic and usage patterns",
+ "Improve our website performance and user experience",
+ "Provide personalized content when available",
+ ],
+ },
+ {
+ id: "4",
+ title: "Third-Party Cookies",
+ data: "We may also use cookies from trusted third-party services for analytics, performance monitoring, and other functionality. These third parties have their own privacy policies governing cookie usage.",
+ },
+ {
+ id: "5",
+ title: "Cookie Management",
+ points: [
+ "You can control cookie settings through your browser preferences",
+ "Most browsers allow you to refuse or delete cookies",
+ "Disabling essential cookies may affect website functionality",
+ "You can opt-out of analytics cookies using our cookie preferences tool",
+ ],
+ },
+ {
+ id: "6",
+ title: "Your Choices",
+ data: "You have the right to accept or reject cookies. Most web browsers automatically accept cookies, but you can usually modify your browser setting to decline cookies if you prefer. However, this may prevent you from taking full advantage of the website.",
+ },
+ {
+ id: "7",
+ title: "Updates to Cookie Policy",
+ data: "We may update this Cookie Policy from time to time to reflect changes in technology, legislation, or our operations. We encourage you to periodically review this page for the latest information.",
+ },
+ {
+ id: "8",
+ title: "Contact Information",
+ data: "If you have any questions about our use of cookies, please contact us at",
+ contact: "hello@dsavisualizer.in",
+ },
+];
+
+const CookiePolicyModal = ({ isOpen, onClose }) => {
+ // Prevent body scroll when modal is open
+ useEffect(() => {
+ if (isOpen) {
+ document.body.style.overflow = 'hidden';
+ } else {
+ document.body.style.overflow = 'auto';
+ }
+ return () => {
+ document.body.style.overflow = 'auto';
+ };
+ }, [isOpen]);
+
+ if (!isOpen) return null;
+
+ return (
+
+ {/* Backdrop with fade-in animation */}
+
+
+ {/* Modal container with slide-up animation */}
+
+ {/* Header with close button */}
+
+
+ Cookie Policy
+
+
+
+
+ {/* Scrollable content */}
+
+
+ This Cookie Policy explains how we use cookies and similar technologies on our website. It describes the types of cookies we use, their purposes, and how you can manage your cookie preferences.
+
+
+ {/* Cookie policy sections */}
+
+
+ {cookieSections.map((item, index) => (
+
+
+
+ {item.id}
+
+ {item.title}
+
+
+ {item.points &&
+ {item.points.map((subitem, subindex) => (
+
+ {subitem}
+
+ ))}
+
}
+
{item.data}
+ {item.contact && (
+ {item.contact}
+ )}
+
+
+ ))}
+
+
+
+ {/* Additional cookie information */}
+
+
+ 🍪 Cookie Duration
+
+
+ Session cookies are temporary and expire when you close your browser. Persistent cookies remain on your device for a set period or until you delete them.
+