diff --git a/Makefile b/Makefile
index ca061072..2352a912 100644
--- a/Makefile
+++ b/Makefile
@@ -65,6 +65,8 @@ integrate-export:
@node scripts/patch-layout-query-key.js
@echo " - Patching Dashboard.jsx for environment label..."
@node scripts/patch-dashboard-for-env-label.js
+ @echo " - Patching index.html for title..."
+ @node scripts/patch-index-html.js
@echo "--> Integration complete. Next step: 'make prepare-export'."
# Applies all necessary patches to a fresh Base44 export to run it locally.
diff --git a/firebase/internal-launchpad/index.html b/firebase/internal-launchpad/index.html
index e62c859a..2fd6cf5a 100644
--- a/firebase/internal-launchpad/index.html
+++ b/firebase/internal-launchpad/index.html
@@ -169,11 +169,11 @@
diff --git a/frontend-web/index.html b/frontend-web/index.html
index 8131cdb4..92c517d6 100644
--- a/frontend-web/index.html
+++ b/frontend-web/index.html
@@ -2,9 +2,9 @@
-
+
-
Base44 APP
+
KROW
diff --git a/frontend-web/src/pages/Dashboard.jsx b/frontend-web/src/pages/Dashboard.jsx
index 7efbb4f7..0033d94d 100644
--- a/frontend-web/src/pages/Dashboard.jsx
+++ b/frontend-web/src/pages/Dashboard.jsx
@@ -91,8 +91,8 @@ export default function Dashboard() {
title={
Welcome to KROW
- {import.meta.env.VITE_APP_ENV === 'staging' && Staging}
- {import.meta.env.VITE_APP_ENV === 'dev' && Dev}
+ {import.meta.env.VITE_APP_ENV === 'staging' && Staging}
+ {import.meta.env.VITE_APP_ENV === 'dev' && Dev}
}
subtitle="Your Complete Workforce Management Ecosystem"
diff --git a/scripts/patch-dashboard-for-env-label.js b/scripts/patch-dashboard-for-env-label.js
index be3db6e6..2886256b 100644
--- a/scripts/patch-dashboard-for-env-label.js
+++ b/scripts/patch-dashboard-for-env-label.js
@@ -11,8 +11,8 @@ const newString = `
Welcome to KROW
- {import.meta.env.VITE_APP_ENV === 'staging' && Staging}
- {import.meta.env.VITE_APP_ENV === 'dev' && Dev}
+ {import.meta.env.VITE_APP_ENV === 'staging' && Staging}
+ {import.meta.env.VITE_APP_ENV === 'dev' && Dev}
}`;
diff --git a/scripts/patch-index-html.js b/scripts/patch-index-html.js
new file mode 100644
index 00000000..77f868fe
--- /dev/null
+++ b/scripts/patch-index-html.js
@@ -0,0 +1,41 @@
+const fs = require('fs');
+const path = require('path');
+
+const projectRoot = path.resolve(__dirname, '..');
+const indexPath = path.join(projectRoot, 'frontend-web', 'index.html');
+
+const oldTitle = '