import React, { useState } from 'react'; // Define the custom colors and classes based on the original CSS const customColors = { warmWhite: '#FAF9F6', sageGreen: '#9DB4A5', deepSage: '#6A857A', warmGold: '#D4AF37', // Increased usage for conversion elements charcoalBlack: '#2A2A2A', }; // --- Global Components --- const Button = ({ children, primary = true, gold = false, onClick }) => { let styleClasses = `font-medium py-3 px-8 rounded-full uppercase tracking-wider text-sm transition duration-300 shadow-lg`; let buttonStyle = {}; if (gold) { // High-contrast Gold style for primary actions (e.g., Add to Cart, Subscribe) styleClasses += ' bg-warmGold text-charcoalBlack hover:bg-deepSage hover:text-warmWhite shadow-warmGold/50'; buttonStyle.backgroundColor = customColors.warmGold; buttonStyle.color = customColors.charcoalBlack; } else if (primary) { // Sage Green style for main CTAs styleClasses += ' bg-sageGreen text-charcoalBlack hover:bg-deepSage hover:text-warmWhite shadow-sageGreen/50'; buttonStyle.backgroundColor = customColors.sageGreen; buttonStyle.color = customColors.charcoalBlack; } else { // Outline style styleClasses += ' bg-transparent border-2 text-sageGreen hover:bg-sageGreen hover:text-charcoalBlack'; buttonStyle.backgroundColor = 'transparent'; buttonStyle.color = customColors.sageGreen; buttonStyle.borderColor = customColors.sageGreen; } return ( ); }; // Divider now explicitly uses warmGold by default const Divider = ({ color = customColors.warmGold }) => (
); const ProductCard = ({ product }) => (
{product.name} { e.target.onerror = null; e.target.src = product.placeholder; }} />

{product.name}

{product.description}

{/* Price is gold */}

{product.price}

{/* CTA is gold */}
); // --- Lead Magnet Page Component (New) --- const LeadMagnetPage = ({ navigate }) => { const handleDownload = (e) => { e.preventDefault(); // In a real application, this is where you'd call your email service (e.g., Mailchimp, ConvertKit) // to save the email and trigger the digital download (e.g., a PDF link). const email = document.getElementById('lead-email').value; if (email) { console.log(`Lead Magnet captured for email: ${email}. Downloading guide...`); // Show success message or redirect to a thank you page alert(`Success! Check your email (${email}) for the download link to your free Mini Guide.`); } }; return (

Download Your Free Mini Guide

"5 Minutes of Peace": Your guided starter journal.

{/* Mockup Image */}
5 Minutes of Peace Mini Guide Mockup
{/* Value Proposition and Form */}
  • **Instant Clarity:** 7 guided prompts to recenter your day.
  • **Time-Tested:** Designed for the busiest schedules (5 mins max).
  • **Beautifully Designed:** Start your journey with elegance.
  • **100% Free:** Our gift to you.

Enter your email to get instant access:

); }; // --- Page Components --- const HomePage = ({ navigate }) => ( <> {/* 1. Hero Section */}
{/* Text Content */}

Your Sacred Space to Unwind.

Mindful guidance for women, mothers, and new beginnings. Discover peace in every page.

{/* Primary CTA button is now gold */} {/* SECONDARY CTA now navigates to the Lead Magnet Page */}
{/* Image/Logo */}
Serene Pages Primary Logo - Elegant Gold and Sage Diamond { e.target.onerror = null; e.target.src = 'https://placehold.co/400x400/9DB4A5/2A2A2A?text=Serene+Pages+Logo'; }} />
{/* 2. Feature Section: Focus on the Audience */}

Designed with You in Mind

Finding Moments of Peace, Together.

{/* Feature 1: Emojis are Gold */}
🧘

The Busy Mother

A daily dose of calm doesn't need to be long. Our guided prompts are designed for 5-minute windows of reflection.

{/* Feature 2: Emojis are Gold */}
✨

New Beginnings

Navigate the beautiful chaos of motherhood with grace. Record your journey and cherish the small victories.

{/* Feature 3: Emojis are Gold */}
☕

Self-Care Ritual

Reclaim your personal space. Our journals turn simple writing into a luxurious, unwinding ritual you look forward to.

{/* 3. About Section */}

Our Story and Mission

{/* Divider is now gold */}

Serene Pages was created from the simple belief that every woman deserves an elegant and accessible way to pause, reflect, and reclaim her inner calm. We are dedicated to providing high-quality, guided resources that support your journey through motherhood and beyond, transforming self-care from a chore into a cherished daily ritual.

); const productsData = [ { id: 1, name: "Signature Guided Journal", description: "A timeless linen-bound journal with gentle prompts for daily reflection and gratitude. Physical product.", price: "$39.99", image: "uploaded:Screenshot 2025-12-14 021023.jpg-7b60d47f-8af4-47d8-96e1-c6b7c75435b7", placeholder: 'https://placehold.co/400x400/9DB4A5/2A2A2A?text=Signature+Journal' }, { id: 2, name: "Mindful Digital Planner", description: "A comprehensive digital planner for intentional living, integrating self-care goals and scheduling.", price: "$19.99", image: "https://placehold.co/400x400/D4AF37/2A2A2A?text=Digital+Planner", placeholder: 'https://placehold.co/400x400/D4AF37/2A2A2A?text=Digital+Planner' }, { id: 3, name: "52 Weeks of Serenity Prompts", description: "An Ebook containing 52 weekly guided prompts focusing on balance, rest, and personal growth.", price: "$9.99", image: "https://placehold.co/400x400/6A857A/FAF9F6?text=Prompts+Ebook", placeholder: 'https://placehold.co/400x400/6A857A/FAF9F6?text=Prompts+Ebook' }, ]; const StorePage = ({ navigate }) => (

The Serene Pages Store

{/* Divider is now gold */}

Explore our collection of mindful tools, from physical journals to instant digital resources, designed for peace and intentional living.

{/* Product Grid */}
{productsData.map(product => ( ))}
); const CommunityPage = ({ navigate }) => ( <> {/* Community/Newsletter Sign-up (Warm Background) */}

Join Our Serene Community

{/* Divider is now gold */}

Receive gentle, monthly reflections, exclusive early access to new releases, and free journaling prompts delivered right to your inbox.

{/* Signup Form Mockup - Note: This is an optional secondary lead capture */}
{/* Subscribe button is now gold */}
{/* FAQ Section */}

Frequently Asked Questions

{/* FAQ Item 1: Title is now gold */}

Do you offer physical journals?

Serene Pages is currently growing. For now, we offer digital resources, with thoughtfully curated physical journals coming soon.

{/* FAQ Item 2: Title is now gold */}

Who are these journals for?

Serene Pages is created for anyone seeking a slower, more intentional way to reflect - whether you're new to journaling or returning to it after time away.

{/* FAQ Item 3: Title is now gold */}

Do I need experience with journaling to begin?

Not at all. Our pages are designed to feel welcoming and flexible, allowing you to begin wherever you are, without rules or expectations.

{/* FAQ Item 4: Title is now gold */}

How often should I use my journal?

There's no schedule or expectation. You're invited to write whenever it feels right. Even once a week can be transformative.

); const ContactPage = () => (

Get In Touch

{/* Divider is now gold */}

We'd love to hear from you. Send us a message and we'll get back to you as soon as possible.

{/* Labels are now gold */}
{/* Labels are now gold */}
{/* Labels are now gold */}
); // --- Main Application Component --- const App = () => { // State to manage the current page view const [currentPage, setCurrentPage] = useState('Home'); // Function to handle navigation const navigate = (page) => { setCurrentPage(page); window.scrollTo(0, 0); // Scroll to top on page change }; // Render the current page component based on state const renderPage = () => { switch (currentPage) { case 'Home': return ; case 'Store': return ; case 'Community': return ; case 'Contact': return ; case 'LeadMagnet': // New Page Case return ; default: return ; } }; return (
{/* Navigation Bar (Remains consistent across pages) */}
{renderPage()}
{/* Footer (Remains consistent across pages) */}
); };