Update Home.py
Browse files
Home.py
CHANGED
|
@@ -141,10 +141,20 @@ st.markdown(
|
|
| 141 |
border-color: white;
|
| 142 |
}
|
| 143 |
</style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
<div class="button-container">
|
| 145 |
<button class="next-btn" onclick="window.location.href='/pages/0_Problem-Statement_and_Aim.py'">Next</button>
|
| 146 |
</div>
|
| 147 |
""",
|
| 148 |
unsafe_allow_html=True
|
| 149 |
)
|
| 150 |
-
|
|
|
|
| 141 |
border-color: white;
|
| 142 |
}
|
| 143 |
</style>
|
| 144 |
+
""",
|
| 145 |
+
unsafe_allow_html=True
|
| 146 |
+
)
|
| 147 |
+
|
| 148 |
+
# Use Streamlit's button for functionality
|
| 149 |
+
if st.button("Next"):
|
| 150 |
+
st.switch_page("pages/0_Problem-Statement_and_Aim.py")
|
| 151 |
+
|
| 152 |
+
# Alternatively, if you want to use HTML and still maintain navigation functionality, you can use this:
|
| 153 |
+
st.markdown(
|
| 154 |
+
"""
|
| 155 |
<div class="button-container">
|
| 156 |
<button class="next-btn" onclick="window.location.href='/pages/0_Problem-Statement_and_Aim.py'">Next</button>
|
| 157 |
</div>
|
| 158 |
""",
|
| 159 |
unsafe_allow_html=True
|
| 160 |
)
|
|
|