From e3b1bf23e47daf9f7434fda6d0f45cc8e17c34d8 Mon Sep 17 00:00:00 2001 From: Md Ashad Date: Mon, 16 Feb 2026 20:24:17 +0530 Subject: [PATCH] improve Privacy Policy --- app/page.tsx | 12 ++- app/privacy/page.tsx | 201 +++++++++++++++++++++++++++---------------- 2 files changed, 134 insertions(+), 79 deletions(-) diff --git a/app/page.tsx b/app/page.tsx index a047efa..0c1414a 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -3,12 +3,16 @@ import { useState, useEffect } from 'react'; import Link from 'next/link'; import { motion } from 'framer-motion'; -import { Heart, BarChart3, Music, Brain, Sparkles, ArrowRight } from 'lucide-react'; +import { Heart, BarChart3, Music, Brain, Sparkles, ArrowRight, Plus } from 'lucide-react'; + import { MoodCard } from '@/components/MoodCard'; import { SkeletonMoodCard } from '@/components/SkeletonMoodCard'; import { FloatingBackground } from '@/components/FloatingBackground'; import { QuoteCard } from '@/components/QuoteCard'; -import { Heart, BarChart3, Music } from 'lucide-react'; +import { usePageTransition } from '@/components/TransitionProvider'; +import { Hero } from '@/components/landing/Hero'; +import { ErrorState } from '@/components/ErrorState'; + import SimpleLangFlowChatbot from '@/components/SimpleLangFlowChatbot'; import { ThemeToggle } from '@/components/ThemeToggle'; @@ -64,7 +68,7 @@ export default function Home() { initial: { opacity: 0 }, animate: { opacity: 1, - transition: { duration: 0.8, ease: [0.25, 0.46, 0.45, 0.94] } + transition: { duration: 0.8, ease: 'easeInOut' } }, exit: { opacity: 0, @@ -236,7 +240,7 @@ export default function Home() { >

How are you feeling today? -

+

Choose your emotional state and discover personalized insights, prompts, and music to guide your reflection journey.

diff --git a/app/privacy/page.tsx b/app/privacy/page.tsx index 2001cc8..69ee071 100644 --- a/app/privacy/page.tsx +++ b/app/privacy/page.tsx @@ -1,94 +1,145 @@ - 'use client'; import { motion } from 'framer-motion'; import Link from 'next/link'; -import { ChevronLeft, Shield } from 'lucide-react'; +import { + ChevronLeft, + Shield, + Database, + Settings, + Lock, + Mail +} from 'lucide-react'; import { FloatingBackground } from '@/components/FloatingBackground'; export default function PrivacyPolicy() { + + const sections = [ + { + title: "Introduction", + icon: Shield, + content: + "Welcome to InnerHue. We respect your privacy and are committed to protecting your personal data. This privacy policy explains how we handle your information and your rights.", + }, + { + title: "Data We Collect", + icon: Database, + content: + "We may collect Identity Data (name, username), Contact Data (email), Usage Data (mood logs, journal entries), and Technical Data (IP address, browser type, login data).", + }, + { + title: "How We Use Your Data", + icon: Settings, + content: + "We use your data to provide personalized insights, improve user experience, maintain platform security, and enhance our services.", + }, + { + title: "Data Security", + icon: Lock, + content: + "We implement strong security measures to protect your data from unauthorized access, alteration, or disclosure. Your emotional data is handled with strict confidentiality.", + }, + { + title: "Contact Us", + icon: Mail, + content: + "If you have questions about this policy, contact us at support@innerhue.app", + }, + ]; + return ( -
+
+ + {/* Background Glow */} +
+
+ -
- + + {/* HEADER */} + - - + + Back to Home -
- -

- Privacy Policy -

-
-

Last updated: {new Date().toLocaleDateString('en-US', { month: 'long', day: 'numeric', year: 'numeric' })}

-
- -
-
-

1. Introduction

-

- Welcome to InnerHue. We respect your privacy and are committed to protecting your personal data. - This privacy policy will inform you as to how we look after your personal data when you visit our website - and tell you about your privacy rights. -

-
- -
-

2. Data We Collect

-

- We may collect, use, store and transfer different kinds of personal data about you which we have grouped together follows: -

-
    -
  • Identity Data: includes first name, last name, username or similar identifier.
  • -
  • Contact Data: includes email address.
  • -
  • Usage Data: includes information about how you use our website, products and services (e.g., mood logs, journal entries).
  • -
  • Technical Data: includes internet protocol (IP) address, your login data, browser type and version.
  • -
-
- -
-

3. How We Use Your Data

-

- We will only use your personal data when the law allows us to. Most commonly, we will use your personal data in the following circumstances: -

-
    -
  • To provide insights and personalized recommendations based on your mood.
  • -
  • To improve our website, products/services, marketing or customer relationships.
  • -
  • To manage your account and secure our platform.
  • -
-
- -
-

4. Data Security

-

- We have put in place appropriate security measures to prevent your personal data from being accidentally lost, used or accessed in an unauthorized way, altered or disclosed. - Your emotional data is treated with the highest level of sensitivity and confidentiality. -

-
- -
-

5. Contact Us

-

- If you have any questions about this privacy policy or our privacy practices, please contact us at: - support@innerhue.app -

-
-
+

+ Privacy Policy +

+ +

+ Last updated:{" "} + {new Date().toLocaleDateString("en-US", { + month: "long", + day: "numeric", + year: "numeric", + })} +

+ + {/* CARD GRID */} +
+ + {sections.map((section, index) => { + const Icon = section.icon; + + return ( + + {/* Gradient Border Glow */} +
+ + {/* Card */} +
+ + {/* Icon */} + + + + +

+ {index + 1}. {section.title} +

+ +

+ {section.content} +

+
+
+ ); + })} + +
+ + {/* FOOTER */} +
+ © {new Date().getFullYear()} InnerHue. All rights reserved. +
+
);