import streamlit as st | |
from utils.levels import complete_level, render_page, initialize_level | |
LEVEL = 1 | |
initialize_level() | |
def step1_page(): | |
st.header("Step 1") | |
st.subheader("Level 1: Introduction") | |
st.write("This is the first step of the tutorial. You can add your own content here.") | |
if st.button("Complete"): | |
complete_level(LEVEL) | |
render_page(step1_page, LEVEL) |