Add lessons page and members page
This commit is contained in:
13
app.py
13
app.py
@@ -2,12 +2,22 @@ import streamlit as st
|
||||
import webpages as pg
|
||||
from webpages.navigation import navigation_bar as nv
|
||||
|
||||
st.set_page_config(page_title="BuffTeks Student Organization",
|
||||
page_icon="./images/BuffTeksLogo.png",
|
||||
layout = "centered"
|
||||
)
|
||||
|
||||
|
||||
|
||||
page_label = nv()
|
||||
|
||||
# block for main pages
|
||||
if page_label == "Homepage":
|
||||
pg.home()
|
||||
|
||||
elif page_label == "Outstanding Members":
|
||||
pg.outstanding_members()
|
||||
|
||||
elif page_label == "BuffTeks Project":
|
||||
pg.project()
|
||||
|
||||
@@ -27,6 +37,9 @@ elif page_label == "Lesson1":
|
||||
pg.pythonx_lesson1()
|
||||
elif page_label == "Lesson2":
|
||||
pg.pythonx_lesson2()
|
||||
elif page_label == "Lesson3":
|
||||
pg.pythonx_lesson3()
|
||||
|
||||
|
||||
# block for testing page
|
||||
elif page_label == "Testing":
|
||||
|
||||
Reference in New Issue
Block a user