Update Home.py
Browse files
Home.py
CHANGED
|
@@ -106,10 +106,9 @@ st.markdown(
|
|
| 106 |
)
|
| 107 |
|
| 108 |
|
| 109 |
-
|
| 110 |
import streamlit as st
|
| 111 |
|
| 112 |
-
# Apply custom CSS for button styling
|
| 113 |
st.markdown(
|
| 114 |
"""
|
| 115 |
<style>
|
|
@@ -129,7 +128,7 @@ st.markdown(
|
|
| 129 |
color: white;
|
| 130 |
font-weight: bold;
|
| 131 |
text-align: center;
|
| 132 |
-
width:
|
| 133 |
transition: all 0.3s ease;
|
| 134 |
background: linear-gradient(to right, #6a11cb, #2575fc); /* Gradient */
|
| 135 |
border: none;
|
|
@@ -144,8 +143,7 @@ st.markdown(
|
|
| 144 |
unsafe_allow_html=True
|
| 145 |
)
|
| 146 |
|
| 147 |
-
#
|
| 148 |
-
if st.button("Next"):
|
| 149 |
st.switch_page("pages/0_Problem-Statement_and_Aim.py")
|
| 150 |
|
| 151 |
-
|
|
|
|
| 106 |
)
|
| 107 |
|
| 108 |
|
|
|
|
| 109 |
import streamlit as st
|
| 110 |
|
| 111 |
+
# Apply custom CSS for button styling and centering
|
| 112 |
st.markdown(
|
| 113 |
"""
|
| 114 |
<style>
|
|
|
|
| 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;
|
|
|
|
| 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 |
|
|
|