Update Home.py
Browse files
Home.py
CHANGED
|
@@ -105,45 +105,7 @@ st.markdown(
|
|
| 105 |
unsafe_allow_html=True
|
| 106 |
)
|
| 107 |
|
| 108 |
-
|
| 109 |
-
import streamlit as st
|
| 110 |
-
|
| 111 |
-
# Apply custom CSS for button styling and centering
|
| 112 |
-
st.markdown(
|
| 113 |
-
"""
|
| 114 |
-
<style>
|
| 115 |
-
.button-container {
|
| 116 |
-
display: flex;
|
| 117 |
-
justify-content: center;
|
| 118 |
-
align-items: center;
|
| 119 |
-
height: 100vh;
|
| 120 |
-
}
|
| 121 |
-
|
| 122 |
-
.next-btn {
|
| 123 |
-
padding: 10px 20px;
|
| 124 |
-
font-size: 16px;
|
| 125 |
-
border: 2px solid transparent;
|
| 126 |
-
border-radius: 12px;
|
| 127 |
-
cursor: pointer;
|
| 128 |
-
color: white;
|
| 129 |
-
font-weight: bold;
|
| 130 |
-
text-align: center;
|
| 131 |
-
width: 180px;
|
| 132 |
-
transition: all 0.3s ease;
|
| 133 |
-
background: linear-gradient(to right, #6a11cb, #2575fc); /* Gradient */
|
| 134 |
-
border: none;
|
| 135 |
-
}
|
| 136 |
-
|
| 137 |
-
.next-btn:hover {
|
| 138 |
-
transform: scale(1.1);
|
| 139 |
-
border-color: white;
|
| 140 |
-
}
|
| 141 |
-
</style>
|
| 142 |
-
""",
|
| 143 |
-
unsafe_allow_html=True
|
| 144 |
-
)
|
| 145 |
-
|
| 146 |
# Center-aligned button with emoji and functionality
|
| 147 |
-
if st.button("Next
|
| 148 |
st.switch_page("pages/0_Problem-Statement_and_Aim.py")
|
| 149 |
|
|
|
|
| 105 |
unsafe_allow_html=True
|
| 106 |
)
|
| 107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
# Center-aligned button with emoji and functionality
|
| 109 |
+
if st.button("Next ⏭️"):
|
| 110 |
st.switch_page("pages/0_Problem-Statement_and_Aim.py")
|
| 111 |
|