diff --git a/src/App.css b/src/App.css index 9019c72..480b520 100644 --- a/src/App.css +++ b/src/App.css @@ -1108,8 +1108,12 @@ color: #374151; } -/* Version */ -.settings-version { +/* End-to-end encrypted badge */ +.settings-enc { + display: flex; + align-items: center; + justify-content: center; + gap: 0.3rem; text-align: center; font-size: 0.625rem; font-weight: 500; @@ -1528,12 +1532,17 @@ /* ---- Settings page ---- */ .settings-header { - padding: 2rem 2.5rem 0; + padding: 2rem 2rem 0; + max-width: 720px; + width: 100%; + margin: 0 auto; } .settings-container { - padding: 1.25rem 2.5rem 1.5rem; + padding: 1.25rem 2rem 1.5rem; max-width: 720px; + width: 100%; + margin: 0 auto; } } @@ -1865,8 +1874,8 @@ box-shadow: 0 0 0 2px #4ade80; } -/* -- Settings version -- */ -[data-theme="dark"] .settings-version { +/* -- Settings enc -- */ +[data-theme="dark"] .settings-enc { color: #3a3a3a; } diff --git a/src/hooks/useOnboardingTour.ts b/src/hooks/useOnboardingTour.ts index 482c231..fa5e7f6 100644 --- a/src/hooks/useOnboardingTour.ts +++ b/src/hooks/useOnboardingTour.ts @@ -113,6 +113,15 @@ function getHistorySteps(isMobile: boolean): DriveStep[] { function getSettingsSteps(isMobile: boolean): DriveStep[] { return [ + { + element: '#tour-edit-profile', + popover: { + title: 'Edit Your Profile', + description: 'Tap the pencil icon to change your display name or profile photo.', + side: isMobile ? 'bottom' : 'bottom', + align: 'center', + }, + }, { element: '#tour-theme-switcher', popover: { diff --git a/src/pages/HistoryPage.tsx b/src/pages/HistoryPage.tsx index 1b70419..55b87d4 100644 --- a/src/pages/HistoryPage.tsx +++ b/src/pages/HistoryPage.tsx @@ -345,7 +345,7 @@ export default function HistoryPage() { - End-to-end encrypted + End-to-end Encrypted )} diff --git a/src/pages/SettingsPage.tsx b/src/pages/SettingsPage.tsx index 83c2541..63b95b8 100644 --- a/src/pages/SettingsPage.tsx +++ b/src/pages/SettingsPage.tsx @@ -63,6 +63,7 @@ export default function SettingsPage() { clearPendingTourStep() continueTourOnSettings() } + // eslint-disable-next-line react-hooks/exhaustive-deps }, []) const handleSeeTutorial = () => { @@ -205,7 +206,7 @@ export default function SettingsPage() { {/* Profile Section */} - + {photoURL ? ( @@ -382,7 +383,12 @@ export default function SettingsPage() { {/* Version */} - VERSION 1.0.2 + {/* VERSION 1.0.2 */} + + + + + End-to-end Encrypted {/* Clear Data Confirmation Modal */}
VERSION 1.0.2
+ + + + End-to-end Encrypted