diff --git a/src/app/page.tsx b/src/app/page.tsx index 5668465..7a53680 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -8,7 +8,7 @@ import BottomNav from '@/components/BottomNav'; import DailyEntry from '@/components/DailyEntry'; import CalendarView from '@/components/CalendarView'; import ReflectionsList from '@/components/ReflectionsList'; -import SettingsPage from '@/components/SettingsPage'; +import AboutPage from '@/components/AboutPage'; import HomePage from '@/components/HomePage'; import AnsweredPrayers from '@/components/AnsweredPrayers'; import { db } from '@/lib/firebase'; @@ -26,7 +26,7 @@ interface Prayer { } export default function Home() { - const [activeTab, setActiveTab] = useState<'home' | 'compose' | 'journal' | 'answered' | 'reflections' | 'settings'>('home'); + const [activeTab, setActiveTab] = useState<'home' | 'compose' | 'journal' | 'answered' | 'reflections' | 'about'>('home'); const [prayers, setPrayers] = useState([]); const [editingPrayer, setEditingPrayer] = useState(null); @@ -240,7 +240,7 @@ export default function Home() { /> )} - {activeTab === 'settings' && } + {activeTab === 'about' && ); } diff --git a/src/components/SettingsPage.tsx b/src/components/AboutPage.tsx similarity index 89% rename from src/components/SettingsPage.tsx rename to src/components/AboutPage.tsx index 3d07d11..dfe7efc 100644 --- a/src/components/SettingsPage.tsx +++ b/src/components/AboutPage.tsx @@ -3,11 +3,11 @@ import React, { useState } from 'react'; import { useAuth } from '@/context/AuthContext'; -interface SettingsPageProps { +interface AboutPageProps { userEmail?: string; } -export default function SettingsPage({ userEmail }: SettingsPageProps) { +export default function AboutPage({ userEmail }: AboutPageProps) { const { logout } = useAuth(); const [showConfirm, setShowConfirm] = useState(false); @@ -16,11 +16,11 @@ export default function SettingsPage({ userEmail }: SettingsPageProps) {
{/* Header */}
-

Settings

-

Manage your account

+

About

+

Prayer Journal App

- {/* Settings Card */} + {/* About Card */}
{/* Account Section */}
@@ -33,9 +33,9 @@ export default function SettingsPage({ userEmail }: SettingsPageProps) {
- {/* About Section */} + {/* App Info Section */}
-

About

+

App Info

Prayer Journal v1.0

A simple, private space for your daily prayers and reflections.

diff --git a/src/components/BottomNav.tsx b/src/components/BottomNav.tsx index 33ec64b..4f0c968 100644 --- a/src/components/BottomNav.tsx +++ b/src/components/BottomNav.tsx @@ -4,8 +4,8 @@ import React from 'react'; import { useAuth } from '@/context/AuthContext'; interface BottomNavProps { - activeTab: 'home' | 'compose' | 'journal' | 'answered' | 'reflections' | 'settings'; - onTabChange: (tab: 'home' | 'compose' | 'journal' | 'answered' | 'reflections' | 'settings') => void; + activeTab: 'home' | 'compose' | 'journal' | 'answered' | 'reflections' | 'about'; + onTabChange: (tab: 'home' | 'compose' | 'journal' | 'answered' | 'reflections' | 'about') => void; } export default function BottomNav({ activeTab, onTabChange }: BottomNavProps) { @@ -17,7 +17,7 @@ export default function BottomNav({ activeTab, onTabChange }: BottomNavProps) { { id: 'journal' as const, label: 'Journal', icon: '📅' }, { id: 'answered' as const, label: 'Answered', icon: '✅' }, { id: 'reflections' as const, label: 'Reflections', icon: '📖' }, - { id: 'settings' as const, label: 'Settings', icon: 'âš™ī¸' }, + { id: 'about' as const, label: 'About', icon: 'â„šī¸' }, ]; return (