trohith89 commited on
Commit
661bce9
·
verified ·
1 Parent(s): 3678ab7

Update Home.py

Browse files
Files changed (1) hide show
  1. Home.py +6 -7
Home.py CHANGED
@@ -114,7 +114,7 @@ st.markdown(
114
  gap: 20px;
115
  }
116
 
117
- .prev-btn, .next-btn {
118
  padding: 10px 20px;
119
  font-size: 16px;
120
  border: 2px solid transparent;
@@ -127,23 +127,22 @@ st.markdown(
127
  transition: all 0.3s ease;
128
  }
129
 
130
- .prev-btn {
131
- background: linear-gradient(to right, #ff7e5f, #feb47b);
132
- }
133
 
134
  .next-btn {
135
  background: linear-gradient(to right, #6a11cb, #2575fc);
136
  }
137
 
138
- .prev-btn:hover, .next-btn:hover {
139
  transform: scale(1.1);
140
  border-color: white;
141
  }
142
  </style>
143
  <div class="button-container">
144
- <button class="prev-btn" onclick="window.location.href='YOUR_PREV_PAGE_URL'">Previous</button>
145
- <button class="next-btn" onclick="window.location.href='YOUR_NEXT_PAGE_URL'">Next</button>
146
  </div>
147
  """,
148
  unsafe_allow_html=True
149
  )
 
 
 
 
114
  gap: 20px;
115
  }
116
 
117
+ .next-btn {
118
  padding: 10px 20px;
119
  font-size: 16px;
120
  border: 2px solid transparent;
 
127
  transition: all 0.3s ease;
128
  }
129
 
 
 
 
130
 
131
  .next-btn {
132
  background: linear-gradient(to right, #6a11cb, #2575fc);
133
  }
134
 
135
+ .next-btn:hover {
136
  transform: scale(1.1);
137
  border-color: white;
138
  }
139
  </style>
140
  <div class="button-container">
141
+ <button class="next-btn" id="next-btn">Next</button>
 
142
  </div>
143
  """,
144
  unsafe_allow_html=True
145
  )
146
+
147
+ if st.button("Next"):
148
+ st.switch_page("pages/0_Problem-Statement_and_Aim.py")