prakharg24 commited on
Commit
322e9eb
·
verified ·
1 Parent(s): 32ae041

Update my_pages/pre_information_loss.py

Browse files
Files changed (1) hide show
  1. my_pages/pre_information_loss.py +14 -1
my_pages/pre_information_loss.py CHANGED
@@ -1,5 +1,6 @@
1
  import streamlit as st
2
  import time
 
3
  from utils import add_bottom_navigation, add_fadein_text
4
 
5
  def render():
@@ -39,4 +40,16 @@ def render():
39
  placeholders[i].markdown(f"<div class='fade-in'>{p[0]}</div>", unsafe_allow_html=True)
40
  time.sleep(p[1]) # delay (seconds) before showing next one
41
 
42
- add_bottom_navigation("landing", "information_loss")
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import streamlit as st
2
  import time
3
+ from utils import go_to
4
  from utils import add_bottom_navigation, add_fadein_text
5
 
6
  def render():
 
40
  placeholders[i].markdown(f"<div class='fade-in'>{p[0]}</div>", unsafe_allow_html=True)
41
  time.sleep(p[1]) # delay (seconds) before showing next one
42
 
43
+ # add_bottom_navigation("landing", "information_loss")
44
+ st.markdown("---")
45
+ col1, col2, col3 = st.columns([1, 4, 1])
46
+
47
+ if previous_page is not None:
48
+ with col1:
49
+ if st.button("Previous"):
50
+ go_to("landing")
51
+
52
+ if next_page is not None:
53
+ with col3:
54
+ if st.button("Next"):
55
+ go_to("information_loss")