From ddad533c81af8fb47f890d467cca62aa0f0ec4dd Mon Sep 17 00:00:00 2001 From: nmemmert Date: Fri, 16 Jan 2026 08:18:54 -0500 Subject: [PATCH] feat: upgrade UI with advanced modern design - glassmorphism, gradients, animations --- src/components/DailyEntry.tsx | 74 +++++++------- src/components/HomePage.tsx | 186 +++++++++++++++++++++------------- 2 files changed, 154 insertions(+), 106 deletions(-) diff --git a/src/components/DailyEntry.tsx b/src/components/DailyEntry.tsx index 66d5995..68e58aa 100644 --- a/src/components/DailyEntry.tsx +++ b/src/components/DailyEntry.tsx @@ -36,16 +36,23 @@ export default function DailyEntry({ }: DailyEntryProps) { const today = new Date().toISOString().split('T')[0]; const isToday = date === today; + const wordCount = text.split(/\s+/).filter(w => w).length; return ( -
+
+ {/* Animated Background */} +
+
+
+
+
{/* Header */} -
-

- {isToday ? "Today's Prayer" : 'Prayer Entry'} +
+

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

-

+

{new Date(date).toLocaleDateString('en-US', { weekday: 'long', year: 'numeric', @@ -59,65 +66,61 @@ export default function DailyEntry({

{/* Date Input */}
- + onDateChange(e.target.value)} - className="w-full px-4 py-3 rounded-lg border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-white 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" />
{/* Pray For */}
- + onPrayForChange(e.target.value)} placeholder="Person, situation, or concern..." - className="w-full px-4 py-3 rounded-lg border border-slate-300 dark:border-slate-600 bg-white dark:bg-slate-800 text-slate-900 dark:text-white placeholder-slate-400 dark: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" />
{/* Prayer Text */}
- +
+ + {wordCount} words +