diff --git a/index.html b/index.html index 620d3f1..7354d72 100644 --- a/index.html +++ b/index.html @@ -22,7 +22,6 @@ - diff --git a/public/favicon.png b/public/favicon.png index 158a3ed..42cf071 100644 Binary files a/public/favicon.png and b/public/favicon.png differ diff --git a/public/icon.png b/public/icon.png index 3a62fb3..486f8e1 100644 Binary files a/public/icon.png and b/public/icon.png differ diff --git a/src/components/Download.jsx b/src/components/Download.jsx index dce16e1..b6da7f5 100644 --- a/src/components/Download.jsx +++ b/src/components/Download.jsx @@ -33,23 +33,7 @@ export default function Download() { Download Nova40 for free and start your 40-day identity transformation journey today.

-
- {/* App Store */} - - - - -
-

Download on the

-

App Store

-
-
- +
{/* Google Play */}
  • Privacy Policy
  • Terms & Conditions
  • +
  • Delete Account
  • diff --git a/src/components/Hero.jsx b/src/components/Hero.jsx index 63e4a65..1936c26 100644 --- a/src/components/Hero.jsx +++ b/src/components/Hero.jsx @@ -180,8 +180,8 @@ export default function Hero() { {/* Nova40 Icon */}
    - -
    + +

    Day 17 of 40

    diff --git a/src/components/LegalLayout.jsx b/src/components/LegalLayout.jsx index ae6f782..ab6e41d 100644 --- a/src/components/LegalLayout.jsx +++ b/src/components/LegalLayout.jsx @@ -34,6 +34,7 @@ export default function LegalLayout({ title, updated, children }) {
    Privacy Policy Terms & Conditions + Delete Account
    diff --git a/src/components/Testimonial.jsx b/src/components/Testimonial.jsx index f53616c..e790d85 100644 --- a/src/components/Testimonial.jsx +++ b/src/components/Testimonial.jsx @@ -1,5 +1,4 @@ import React from 'react' -import { Nova40IconAnimated } from './Nova40Icon' import useReveal from '../hooks/useReveal' const quotes = [ @@ -53,9 +52,11 @@ export default function Testimonial() { ))}
    - {/* Center icon */} -
    - + {/* Section divider */} +
    +
    +
    +
    diff --git a/src/main.jsx b/src/main.jsx index 5dd822f..77734d5 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -4,6 +4,7 @@ import { BrowserRouter, Routes, Route } from 'react-router-dom' import App from './App' import PrivacyPolicy from './pages/PrivacyPolicy' import TermsConditions from './pages/TermsConditions' +import DeleteAccount from './pages/DeleteAccount' import './index.css' ReactDOM.createRoot(document.getElementById('root')).render( @@ -13,6 +14,7 @@ ReactDOM.createRoot(document.getElementById('root')).render( } /> } /> } /> + } /> , diff --git a/src/pages/DeleteAccount.jsx b/src/pages/DeleteAccount.jsx new file mode 100644 index 0000000..bfac045 --- /dev/null +++ b/src/pages/DeleteAccount.jsx @@ -0,0 +1,123 @@ +import React, { useState } from 'react' +import LegalLayout from '../components/LegalLayout' + +export default function DeleteAccount() { + const [email, setEmail] = useState('') + const [reason, setReason] = useState('') + const [confirm, setConfirm] = useState(false) + const [submitted, setSubmitted] = useState(false) + + const handleSubmit = (e) => { + e.preventDefault() + if (!email || !confirm) return + setSubmitted(true) + } + + return ( + +
    +
    +
    + ⚠️ +

    Before you proceed

    +
    +

    + Deleting your account will permanently remove all your data, including: +

    +
      + {[ + 'Your account and login credentials', + 'All identity journeys and habit data', + 'Daily logs, mood tracking, and journal entries', + 'AI-generated reflections and transformation stories', + 'Progress statistics and game scores', + 'Profile information (nickname, avatar)', + ].map((item, i) => ( +
    • + + {item} +
    • + ))} +
    +

    + This action cannot be undone. If you only want to start over, consider using the "Reset Journey" option inside the app instead. +

    +
    + + {!submitted ? ( +
    +
    + + setEmail(e.target.value)} + placeholder="your@email.com" + className="w-full px-4 py-3 bg-nova-surface border border-nova-border rounded-xl text-white text-sm placeholder:text-nova-textMuted focus:outline-none focus:border-nova-primary transition-colors" + /> +
    + +
    + +