diff --git a/src/components/AboutPage.jsx b/src/components/AboutPage.jsx index 6cf551b..4a3af6d 100644 --- a/src/components/AboutPage.jsx +++ b/src/components/AboutPage.jsx @@ -1,7 +1,7 @@ import React, { useState, useEffect } from 'react'; import { Link } from 'react-router-dom'; -import { ArrowLeft, User, Mail } from 'lucide-react'; -import Footer from './Footer'; +import { ArrowLeft, User, Mail, Sparkles, LineChart, BarChart3, Star } from 'lucide-react'; +import Footer from './Footer'; const AboutPage = () => { const [isVisible, setIsVisible] = useState(false); @@ -9,21 +9,51 @@ const AboutPage = () => { useEffect(() => { const timer = setTimeout(() => { setIsVisible(true); - }, 10); - return () => clearTimeout(timer); - }, []); + }, 10); + return () => clearTimeout(timer); + }, []); + + const testimonials = [ + { + text: "SmartLog has completely changed how I see my money. The visuals are amazing and make budgeting feel effortless!", + author: "Priya S.", + }, + { + text: "I love the simplicity and clean design. Tracking expenses has never been this easy.", + author: "Amit K.", + }, + { + text: "The insights are a game-changer. I finally feel in control of my finances. Highly recommend!", + author: "Neha R.", + }, + ]; + + const faqs = [ + { + question: "Is SmartLog free to use?", + answer: "SmartLog offers a powerful free tier that includes all core features. We also have premium plans for advanced analytics and features.", + }, + { + question: "Is my financial data secure?", + answer: "Yes, your data is our top priority. We use industry-standard encryption and security protocols to ensure your information is always safe.", + }, + { + question: "Can I sync with my bank account?", + answer: "Currently, SmartLog supports manual expense tracking. We are working on adding secure bank synchronization in a future update.", + }, + ]; return ( -
+
+ {/* Main Title */}

{ About SmartLog

+ {/* Introduction */}

- SmartLog is a modern, intuitive application designed to help you effortlessly track your expenses and manage your finances. Our goal is to provide a clean, simple, and powerful tool that gives you clear insights into your spending habits. + SmartLog is a modern, intuitive application designed to help you effortlessly track your expenses and manage your finances. We believe that **financial wellness should be accessible to everyone**, and our goal is to provide a clean, simple, and powerful tool that gives you clear insights into your spending habits.

+ {/* Core Philosophy Section */}
-

Developer Details

-
-
- - Tanmay Kalra +

Our Core Philosophy

+
+ +
+ +

Simplicity

+

We've built SmartLog to be intuitive and easy to use, so you can focus on what matters.

-
- - tanmaykalra0910@gmail.com + +
+ +

Clarity

+

Get clear, actionable insights through beautiful visualizations and smart analytics.

+
+ +
+ +

Empowerment

+

Our tools help you set goals and track progress to take full control of your finances.

+
+ + {/* Testimonials Section */} +
+

What Our Users Say

+
+ {testimonials.map((testimonial, index) => ( +
+
+ {[...Array(5)].map((_, i) => ( + + ))} +
+

"{testimonial.text}"

+

- {testimonial.author}

+
+ ))} +
+
+ +
+ + {/* FAQ Section */} +
+

Frequently Asked Questions

+
+ {faqs.map((faq, index) => ( +
+

{faq.question}

+

{faq.answer}

+
+ ))} +
+
+ +
+ + {/* Developer Details */} +
+

+ Meet the Developer +

+
+

+ SmartLog was created with a passion for building effective tools that simplify everyday tasks. Your feedback is invaluable, so please don't hesitate to reach out with any questions or suggestions. +

+
+
+ + Tanmay Kalra +
+ +
+
+
+ + {/* Back Button */} +
- Back to Dashboard + Want to start the journey
diff --git a/src/components/HomePage.jsx b/src/components/HomePage.jsx index ebe1c57..cf252cb 100644 --- a/src/components/HomePage.jsx +++ b/src/components/HomePage.jsx @@ -27,7 +27,8 @@ export default function HomePage() { } }, [darkMode]); - const handleGetStarted = () => navigate('/dashboard'); + // Corrected function to navigate to the signup page for new users + const handleGetStarted = () => navigate('/signup'); const cardVariants = { initial: { opacity: 0, y: 80, scale: 0.9 }, @@ -218,4 +219,4 @@ export default function HomePage() {
); -} +} \ No newline at end of file