login time

This commit is contained in:
Sone
2025-11-05 20:11:34 +01:00
parent b43aec6b9a
commit fdcc42007a
21 changed files with 1363 additions and 843 deletions
+9 -2
View File
@@ -19,7 +19,7 @@ export const useDocumentTitle = () => {
} else if (path.includes("/settings")) {
return "Settings";
} else {
return "Project Athena";
return "Bird Eye View";
}
};
@@ -27,7 +27,14 @@ export const useDocumentTitle = () => {
useEffect(() => {
if (Platform.OS === "web") {
document.title = `${currentSection} | Project Athena`;
const isAuthRoute =
pathname.includes("/(auth)/") ||
pathname.includes("/sign-in") ||
pathname.includes("/forgot-password") ||
pathname.includes("/reset-password");
document.title = isAuthRoute
? "Bird Eye View"
: `Bird Eye View | ${currentSection}`;
}
}, [currentSection, pathname]);