Skip to content

Commit

Permalink
ENH: NAV-150 - Add page favicon.ico
Browse files Browse the repository at this point in the history
  • Loading branch information
munterfi committed Aug 27, 2024
1 parent 27ba8a1 commit ba52896
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions public_transit_viewer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from pathlib import Path

LOGO_PATH = Path(__file__).parent / "assets" / "naviqore.png"
ICON_PATH = Path(__file__).parent / "assets" / "favicon.ico"
Binary file added public_transit_viewer/assets/favicon.ico
Binary file not shown.
4 changes: 2 additions & 2 deletions public_transit_viewer/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from public_transit_client.model import Connection
from streamlit_searchbox import st_searchbox # type: ignore

from public_transit_viewer import LOGO_PATH
from public_transit_viewer import LOGO_PATH, ICON_PATH
from public_transit_viewer.components.form_components import (
query_config_expandable,
time_form_row,
Expand All @@ -16,7 +16,7 @@

st.set_page_config(
page_title="Naviqore - Connections",
page_icon=str(LOGO_PATH),
page_icon=str(ICON_PATH),
)

header_col1, header_col2 = st.columns([1, 4])
Expand Down
4 changes: 2 additions & 2 deletions public_transit_viewer/pages/isolines.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from streamlit_folium import st_folium # type: ignore
from streamlit_searchbox import st_searchbox # type: ignore

from public_transit_viewer import LOGO_PATH
from public_transit_viewer import LOGO_PATH, ICON_PATH
from public_transit_viewer.components.form_components import (
query_config_expandable,
time_form_row,
Expand All @@ -18,7 +18,7 @@

st.set_page_config(
page_title="Naviqore - Isolines",
page_icon=str(LOGO_PATH),
page_icon=str(ICON_PATH),
)

header_col1, header_col2 = st.columns([1, 4])
Expand Down

0 comments on commit ba52896

Please sign in to comment.