Spaces:
Sleeping
Sleeping
File size: 1,354 Bytes
247d9dc 1332b22 247d9dc 1332b22 247d9dc 1332b22 247d9dc 1332b22 e6b6394 1332b22 e6b6394 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
import streamlit as st
from streamlit.components.v1 import html
st.set_page_config(page_title="Crawler Test")
page = st.query_params.get("page", "home")
if page == "home":
st.title("Crawler Test - Home Page")
st.markdown('<a href="?page=loop1" target="_self">Go to Loop Page 1</a>', unsafe_allow_html=True)
elif page == "loop1":
st.title("Loop Page 1")
st.markdown('<a href="?page=home" target="_self">Go back to Home</a>', unsafe_allow_html=True)
st.markdown('<a href="?page=loop2" target="_self">Go to Loop Page 2</a>', unsafe_allow_html=True)
elif page == "loop2":
st.title("Loop Page 2")
st.markdown("""
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt
ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt
mollit anim id est laborum. Sed ut perspiciatis unde omnis iste natus error sit
voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab
illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
""") |