From d760b34ba46fb66282719ce1b8d87536f50d4d51 Mon Sep 17 00:00:00 2001 From: nmemmert Date: Mon, 19 Jan 2026 08:20:19 -0500 Subject: [PATCH] Standardize design across all pages - consistent dark gradient theme, typography, and card styling --- src/components/AboutPage.tsx | 10 +++++-- src/components/AnsweredPrayers.tsx | 38 +++++++++++++---------- src/components/CalendarView.tsx | 48 +++++++++++++++++------------- src/components/DailyEntry.tsx | 2 +- src/components/HomePage.tsx | 4 +-- src/components/ReflectionsList.tsx | 14 ++++++--- src/components/ThingsToPrayFor.tsx | 2 +- 7 files changed, 72 insertions(+), 46 deletions(-) diff --git a/src/components/AboutPage.tsx b/src/components/AboutPage.tsx index 637c730..72a875e 100644 --- a/src/components/AboutPage.tsx +++ b/src/components/AboutPage.tsx @@ -157,11 +157,17 @@ export default function AboutPage({ userEmail }: AboutPageProps) { }; return ( -
+
+ {/* Animated Background */} +
+
+
+
+
{/* Header */}
-

About

+

ℹ️ About

Haver - Your Prayer Companion

diff --git a/src/components/AnsweredPrayers.tsx b/src/components/AnsweredPrayers.tsx index 8bd7ad0..a2daf10 100644 --- a/src/components/AnsweredPrayers.tsx +++ b/src/components/AnsweredPrayers.tsx @@ -21,39 +21,47 @@ export default function AnsweredPrayers({ prayers, onEdit }: AnsweredPrayersProp const answeredPrayers = prayers.filter(p => p.answered); return ( -
+
+ {/* Animated Background */} +
+
+
+
+
-

Answered Prayers

-

Celebrate prayers God has answered

+
+

✅ Answered Prayers

+

Celebrate prayers God has answered

+
{answeredPrayers.length > 0 ? (
{answeredPrayers.map((prayer) => (
onEdit?.(prayer)} > -
- ✅ +
+ ✅
{prayer.prayFor && ( -
+
{prayer.prayFor}
)} -

{prayer.text}

+

{prayer.text}

{prayer.answerDetails && ( -
-

How it was answered:

-

{prayer.answerDetails}

+
+

How it was answered:

+

{prayer.answerDetails}

)} -
+
{new Date(prayer.date).toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' })}
@@ -61,9 +69,9 @@ export default function AnsweredPrayers({ prayers, onEdit }: AnsweredPrayersProp
) : (
-
🙏
-

No answered prayers yet

-

+

🙏
+

No answered prayers yet

+

Mark prayers as answered in the Compose tab to see them here

diff --git a/src/components/CalendarView.tsx b/src/components/CalendarView.tsx index c589437..dab8df7 100644 --- a/src/components/CalendarView.tsx +++ b/src/components/CalendarView.tsx @@ -56,34 +56,40 @@ export default function CalendarView({ prayers, onDayClick }: CalendarViewProps) } return ( -
+
+ {/* Animated Background */} +
+
+
+
+
{/* Header */}
-

- Haver +

+ 📅 Prayer Journal

-

+

Click on days with entries to view them

{/* Calendar */} -
+
{/* Month Navigation */}
-

+

{currentMonth.toLocaleDateString('en-US', { month: 'long', year: 'numeric' })}

@@ -92,7 +98,7 @@ export default function CalendarView({ prayers, onDayClick }: CalendarViewProps) {/* Day Headers */}
{['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'].map(day => ( -
+
{day}
))} @@ -115,7 +121,7 @@ export default function CalendarView({ prayers, onDayClick }: CalendarViewProps) : 0; // Determine color based on activity type - let bgColor = 'bg-slate-100 dark:bg-slate-700 text-slate-900 dark:text-white hover:bg-slate-200 dark:hover:bg-slate-600'; + let bgColor = 'bg-slate-700 text-white hover:bg-slate-600'; if (hasEntry && hasPrayedFor) { // Both activities - purple (combination) bgColor = 'bg-purple-500 text-white hover:bg-purple-600 shadow-md'; @@ -158,33 +164,33 @@ export default function CalendarView({ prayers, onDayClick }: CalendarViewProps)
{/* Color Legend */} -
-

Legend

+
+

Legend

- Prayer Entry + Prayer Entry
- Prayed For + Prayed For
- Both + Both
{/* Stats */}
-
-

Total Entries

-

{prayers.length}

+
+

Total Entries

+

{prayers.length}

-
-

Days with Entries

-

+

+

Days with Entries

+

{daysWithEntries.size}

diff --git a/src/components/DailyEntry.tsx b/src/components/DailyEntry.tsx index 1c7d111..278622b 100644 --- a/src/components/DailyEntry.tsx +++ b/src/components/DailyEntry.tsx @@ -49,7 +49,7 @@ export default function DailyEntry({
{/* Header */}
-

+

{isToday ? "✍️ Today's Prayer" : '📝 Prayer Entry'}

diff --git a/src/components/HomePage.tsx b/src/components/HomePage.tsx index 1263e04..2994226 100644 --- a/src/components/HomePage.tsx +++ b/src/components/HomePage.tsx @@ -129,8 +129,8 @@ export default function HomePage({ prayers, todayCount, onStartPraying, onSelect

{/* Header with Personalized Greeting */} -
-

+
+

{getGreeting()}, {getFirstName()}!

{activePrayerCount > 0 ? ( diff --git a/src/components/ReflectionsList.tsx b/src/components/ReflectionsList.tsx index 388d4b3..37390b7 100644 --- a/src/components/ReflectionsList.tsx +++ b/src/components/ReflectionsList.tsx @@ -69,11 +69,17 @@ export default function PrayerList({ prayers, onPrayerClick, onEdit }: PrayerLis const resultCount = filtered.length; return ( -
+
+ {/* Animated Background */} +
+
+
+
+
{/* Header */}
-

Past Prayers

+

📖 Past Prayers

{resultCount} {resultCount === 1 ? 'prayer' : 'prayers'} found

@@ -86,7 +92,7 @@ export default function PrayerList({ prayers, onPrayerClick, onEdit }: PrayerLis placeholder="Search by prayer text or person..." value={searchTerm} onChange={(e) => setSearchTerm(e.target.value)} - className="w-full px-4 py-3 rounded-lg border border-slate-600 bg-slate-800 text-white placeholder-slate-500 focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all" + className="w-full px-4 py-3 rounded-xl bg-slate-800/60 backdrop-blur-xl border border-slate-700/50 text-white placeholder-slate-500 focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition-all" /> {/* Sort Options */} @@ -189,7 +195,7 @@ export default function PrayerList({ prayers, onPrayerClick, onEdit }: PrayerLis {grouped[date].map(prayer => (
onPrayerClick(prayer)} >
diff --git a/src/components/ThingsToPrayFor.tsx b/src/components/ThingsToPrayFor.tsx index 21061b3..65389a7 100644 --- a/src/components/ThingsToPrayFor.tsx +++ b/src/components/ThingsToPrayFor.tsx @@ -47,7 +47,7 @@ export default function ThingsToPrayFor({ prayers, onEdit, onMarkPrayed }: Thing
{/* Header */}
-

+

🙏 Things to Pray For