File size: 392 Bytes
9c6937e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)