Create home.py
Browse files- pages/home.py +20 -0
pages/home.py
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
from utils import go_to
|
| 3 |
+
|
| 4 |
+
def render():
|
| 5 |
+
st.markdown("<div style='text-align: center;'>", unsafe_allow_html=True)
|
| 6 |
+
st.markdown(
|
| 7 |
+
"<div style='font-size:24px; color:#3366cc; font-weight:bold;'>Explore the concepts:</div>",
|
| 8 |
+
unsafe_allow_html=True
|
| 9 |
+
)
|
| 10 |
+
st.write("")
|
| 11 |
+
|
| 12 |
+
sentences = [
|
| 13 |
+
("ICA Framework.", "ica"),
|
| 14 |
+
]
|
| 15 |
+
|
| 16 |
+
for text, page in sentences:
|
| 17 |
+
if st.button(text):
|
| 18 |
+
go_to(page)
|
| 19 |
+
|
| 20 |
+
st.markdown("</div>", unsafe_allow_html=True)
|