Spaces:
Build error
Build error
Romeo David commited on
Commit ·
be5c225
1
Parent(s): 74ecf43
Add icons to buttons for improved user experience in home and output pages
Browse files- pages/home.py +1 -1
- pages/output.py +1 -1
pages/home.py
CHANGED
|
@@ -53,7 +53,7 @@ class DigitalFootprintDashboard:
|
|
| 53 |
else:
|
| 54 |
st.session_state["analyze"] = ''
|
| 55 |
|
| 56 |
-
self.analyze_button = st.button("Analyze")
|
| 57 |
if self.analyze_button == True:
|
| 58 |
st.switch_page("pages/analyzing_page.py")
|
| 59 |
else:
|
|
|
|
| 53 |
else:
|
| 54 |
st.session_state["analyze"] = ''
|
| 55 |
|
| 56 |
+
self.analyze_button = st.button("Analyze", icon="✨")
|
| 57 |
if self.analyze_button == True:
|
| 58 |
st.switch_page("pages/analyzing_page.py")
|
| 59 |
else:
|
pages/output.py
CHANGED
|
@@ -211,6 +211,6 @@ Regardless, it is still a great channel worth investing to improve a business’
|
|
| 211 |
# write_table(marketpalce_data)
|
| 212 |
|
| 213 |
|
| 214 |
-
if st.button("Back to Dashboard"):
|
| 215 |
st.switch_page("pages/home.py")
|
| 216 |
display_outputs()
|
|
|
|
| 211 |
# write_table(marketpalce_data)
|
| 212 |
|
| 213 |
|
| 214 |
+
if st.button("Back to Dashboard", icon="🏠"):
|
| 215 |
st.switch_page("pages/home.py")
|
| 216 |
display_outputs()
|