diff --git a/src/frontend/src/views/Home.tsx b/src/frontend/src/views/Home.tsx
index cf38388a32..84fffc4ed0 100755
--- a/src/frontend/src/views/Home.tsx
+++ b/src/frontend/src/views/Home.tsx
@@ -9,8 +9,10 @@ import CoreModules from '@/shared/CoreModules';
import ProjectListMap from '@/components/home/ProjectListMap';
import { projectType } from '@/models/home/homeModel';
import { useAppSelector } from '@/types/reduxTypes';
+import useDocumentTitle from '@/utilfunctions/useDocumentTitle';
const Home = () => {
+ useDocumentTitle('Explore Projects');
const dispatch = CoreModules.useAppDispatch();
const { type } = windowDimention();
diff --git a/src/frontend/src/views/Organisation.tsx b/src/frontend/src/views/Organisation.tsx
index f93b23accd..5fd1bcdf75 100644
--- a/src/frontend/src/views/Organisation.tsx
+++ b/src/frontend/src/views/Organisation.tsx
@@ -8,8 +8,10 @@ import OrganisationGridCard from '@/components/organisation/OrganisationGridCard
import OrganisationCardSkeleton from '@/components/organisation/OrganizationCardSkeleton';
import windowDimention from '@/hooks/WindowDimension';
import { useAppSelector } from '@/types/reduxTypes';
+import useDocumentTitle from '@/utilfunctions/useDocumentTitle';
const Organisation = () => {
+ useDocumentTitle('Organizations');
const dispatch = CoreModules.useAppDispatch();
//dispatch function to perform redux state mutation
diff --git a/src/frontend/src/views/ProjectDetailsV2.tsx b/src/frontend/src/views/ProjectDetailsV2.tsx
index 1d86f91a19..b918efa818 100644
--- a/src/frontend/src/views/ProjectDetailsV2.tsx
+++ b/src/frontend/src/views/ProjectDetailsV2.tsx
@@ -43,8 +43,10 @@ import Instructions from '@/components/ProjectDetailsV2/Instructions';
import { readFileFromOPFS } from '@/api/Files';
import DebugConsole from '@/utilities/DebugConsole';
import { CustomCheckbox } from '@/components/common/Checkbox';
+import useDocumentTitle from '@/utilfunctions/useDocumentTitle';
const Home = () => {
+ useDocumentTitle('Project Details');
const dispatch = CoreModules.useAppDispatch();
const params = CoreModules.useParams();
const navigate = useNavigate();
@@ -78,6 +80,14 @@ const Home = () => {
const taskModalStatus = CoreModules.useAppSelector((state) => state.project.taskModalStatus);
const projectOpfsBasemapPath = useAppSelector((state) => state?.project?.projectOpfsBasemapPath);
+ useEffect(() => {
+ if (state.projectInfo.title) {
+ document.title = `${state.projectInfo.title} - HOT Field Mapping Tasking Manager`;
+ } else {
+ document.title = 'HOT Field Mapping Tasking Manager';
+ }
+ }, [state.projectInfo.title]);
+
//snackbar handle close funtion
const handleClose = (event, reason) => {
if (reason === 'clickaway') {
diff --git a/src/frontend/src/views/SubmissionDetails.tsx b/src/frontend/src/views/SubmissionDetails.tsx
index 6abd07dee1..d7a4ce8e62 100644
--- a/src/frontend/src/views/SubmissionDetails.tsx
+++ b/src/frontend/src/views/SubmissionDetails.tsx
@@ -8,8 +8,10 @@ import { SubmissionActions } from '@/store/slices/SubmissionSlice';
import UpdateReviewStatusModal from '@/components/ProjectSubmissions/UpdateReviewStatusModal';
import { useAppSelector } from '@/types/reduxTypes';
import { useNavigate } from 'react-router-dom';
+import useDocumentTitle from '@/utilfunctions/useDocumentTitle';
const SubmissionDetails = () => {
+ useDocumentTitle('Submission Instance');
const dispatch = CoreModules.useAppDispatch();
const params = CoreModules.useParams();
const navigate = useNavigate();