castledan commited on
Commit
3e78c48
Β·
1 Parent(s): 19b905a

add browser tab title

Browse files
app/Home.py CHANGED
@@ -4,7 +4,7 @@ from src.config_parameters import config
4
  from src.utils_layout import add_about, add_logo, toggle_menu_button
5
 
6
  # Page configuration
7
- st.set_page_config(layout="wide")
8
 
9
  # If app is deployed hide menu button
10
  toggle_menu_button()
 
4
  from src.utils_layout import add_about, add_logo, toggle_menu_button
5
 
6
  # Page configuration
7
+ st.set_page_config(layout="wide", page_title=config["browser_title"])
8
 
9
  # If app is deployed hide menu button
10
  toggle_menu_button()
app/pages/1_🌍_Flood_extent_analysis.py CHANGED
@@ -15,7 +15,7 @@ from src.utils_layout import add_about, add_logo, toggle_menu_button
15
  from streamlit_folium import st_folium
16
 
17
  # Page configuration
18
- st.set_page_config(layout="wide")
19
 
20
  # If app is deployed hide menu button
21
  toggle_menu_button()
 
15
  from streamlit_folium import st_folium
16
 
17
  # Page configuration
18
+ st.set_page_config(layout="wide", page_title=config["browser_title"])
19
 
20
  # If app is deployed hide menu button
21
  toggle_menu_button()
app/pages/2_πŸ“–_Documentation.py CHANGED
@@ -5,7 +5,7 @@ from src.config_parameters import config
5
  from src.utils_layout import add_about, add_logo, toggle_menu_button
6
 
7
  # Page configuration
8
- st.set_page_config(layout="wide")
9
 
10
  # If app is deployed hide menu button
11
  toggle_menu_button()
 
5
  from src.utils_layout import add_about, add_logo, toggle_menu_button
6
 
7
  # Page configuration
8
+ st.set_page_config(layout="wide", page_title=config["browser_title"])
9
 
10
  # If app is deployed hide menu button
11
  toggle_menu_button()
app/src/config_parameters.py CHANGED
@@ -1,5 +1,7 @@
1
  """Configuration file."""
2
  config = {
 
 
3
  # Sidebar
4
  "MA_logo_width": "60%",
5
  "MA_logo_background_position": "35% 10%",
 
1
  """Configuration file."""
2
  config = {
3
+ # Title browser tab
4
+ "browser_title": "Flood mapping tool - MapAction",
5
  # Sidebar
6
  "MA_logo_width": "60%",
7
  "MA_logo_background_position": "35% 10%",