Update Home.py
Browse files
Home.py
CHANGED
|
@@ -105,12 +105,23 @@ st.markdown(
|
|
| 105 |
unsafe_allow_html=True
|
| 106 |
)
|
| 107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
import streamlit as st
|
| 109 |
|
| 110 |
-
# Apply custom CSS for
|
| 111 |
st.markdown(
|
| 112 |
"""
|
| 113 |
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
.next-btn {
|
| 115 |
padding: 10px 20px;
|
| 116 |
font-size: 16px;
|
|
@@ -130,10 +141,10 @@ st.markdown(
|
|
| 130 |
border-color: white;
|
| 131 |
}
|
| 132 |
</style>
|
|
|
|
|
|
|
|
|
|
| 133 |
""",
|
| 134 |
unsafe_allow_html=True
|
| 135 |
)
|
| 136 |
|
| 137 |
-
# Add a styled button using streamlit's button widget
|
| 138 |
-
if st.button("Next", key="next_page", help="Go to the next page"):
|
| 139 |
-
st.switch_page("pages/0_Problem-Statement_and_Aim.py")
|
|
|
|
| 105 |
unsafe_allow_html=True
|
| 106 |
)
|
| 107 |
|
| 108 |
+
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
|
| 113 |
import streamlit as st
|
| 114 |
|
| 115 |
+
# Apply custom CSS for button styling
|
| 116 |
st.markdown(
|
| 117 |
"""
|
| 118 |
<style>
|
| 119 |
+
.button-container {
|
| 120 |
+
display: flex;
|
| 121 |
+
justify-content: center;
|
| 122 |
+
gap: 20px;
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
.next-btn {
|
| 126 |
padding: 10px 20px;
|
| 127 |
font-size: 16px;
|
|
|
|
| 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 |
|
|
|
|
|
|
|
|
|