From 5e41ef1c60f004de4c7e4ca60fcbd1f65277cad6 Mon Sep 17 00:00:00 2001 From: Ujjwal Saini <73696489+UjjwalSaini07@users.noreply.github.com> Date: Mon, 20 May 2024 20:21:13 +0530 Subject: [PATCH] Update PrivacyPolicyPage.jsx Updating this Page with Some Animation with hovering effect and fix some issues of font and Fill the relevant Color to them. --- .../Footer/LegalSection/PrivacyPolicyPage.jsx | 137 ++++++++++-------- 1 file changed, 80 insertions(+), 57 deletions(-) diff --git a/frontend/src/Components/common/Footer/LegalSection/PrivacyPolicyPage.jsx b/frontend/src/Components/common/Footer/LegalSection/PrivacyPolicyPage.jsx index 8e0fc61..feac66e 100644 --- a/frontend/src/Components/common/Footer/LegalSection/PrivacyPolicyPage.jsx +++ b/frontend/src/Components/common/Footer/LegalSection/PrivacyPolicyPage.jsx @@ -1,68 +1,91 @@ -import React from 'react'; +import React, { useState } from 'react'; +import { motion } from 'framer-motion'; + +const dataArray = [ + { + title: '1. Introduction', + para: `Welcome to Curious Connect's Privacy Policy. Your privacy is important to us. This policy explains how we collect, use, and safeguard your personal information. By using our website, you consent to the data practices described in this statement.`, + }, + { + title: '2. Information We Collect', + para: ` We collect personal information when you register on our website, subscribe to our newsletter, or fill out a form. This information may include your name, email address, phone number, address, and other relevant details.`, + }, + { + title: '3. How We Use Your Information', + para: ` We use the information we collect to personalize your experience, improve our website, and send periodic emails regarding our services. Your information, whether public or private, will not be sold, exchanged, transferred, or given to any other company for any reason whatsoever without your consent.`, + }, + { + title: '4. Security of Your Information', + para: ` We implement a variety of security measures to maintain the safety of your personal information when you enter, submit, or access your personal information.`, + }, + { + title: '5. Cookies', + para: `We use cookies to understand and save your preferences for future visits and compile aggregate data about site traffic and site interaction so that we can offer better site experiences and tools in the future.`, + }, + { + title: '6. Changes to This Privacy Policy', + para: `We reserve the right to update or change our Privacy Policy at any time. Any changes will be posted on this page.`, + }, + { + title: '7. Contact Us', + para: `If you have any questions or concerns about our Privacy Policy, please contact us.`, + }, +]; const PrivacyPolicyPage = () => { + const [activeIndex, setActiveIndex] = useState(null); + + const toggleBtn = (index) => { + setActiveIndex(activeIndex === index ? null : index); + }; + return ( <> -
- Welcome to Curious Connect's Privacy Policy. Your privacy is important to us. This policy explains how we collect, use, and safeguard your personal information. By using our website, you consent to the data practices described in this statement. -
-- We collect personal information when you register on our website, subscribe to our newsletter, or fill out a form. This information may include your name, email address, phone number, address, and other relevant details. -
-- We use the information we collect to personalize your experience, improve our website, and send periodic emails regarding our services. Your information, whether public or private, will not be sold, exchanged, transferred, or given to any other company for any reason whatsoever without your consent. -
-- We implement a variety of security measures to maintain the safety of your personal information when you enter, submit, or access your personal information. -
-- We use cookies to understand and save your preferences for future visits and compile aggregate data about site traffic and site interaction so that we can offer better site experiences and tools in the future. -
-- We reserve the right to update or change our Privacy Policy at any time. Any changes will be posted on this page. -
-- If you have any questions or concerns about our Privacy Policy, please contact us. -
-+ {data.title} +
++ {data.para} +
+