Update migrations
This commit is contained in:
17
app/pages/home.py
Normal file
17
app/pages/home.py
Normal file
@@ -0,0 +1,17 @@
|
||||
import streamlit as st
|
||||
from auth_runtime import require_login
|
||||
from ui.sidebar import build_sidebar, hide_sidebar_if_logged_out
|
||||
from auth import get_fullname_for_user
|
||||
|
||||
hide_sidebar_if_logged_out()
|
||||
|
||||
st.set_page_config(page_title="Co-App Home", page_icon="🏠")
|
||||
|
||||
authenticator = require_login()
|
||||
st.session_state["authenticator"] = authenticator
|
||||
|
||||
build_sidebar()
|
||||
|
||||
username = st.session_state.get("username")
|
||||
st.header("Controlling-Portal")
|
||||
st.info(f"Willkommen, {get_fullname_for_user(username)}!")
|
||||
Reference in New Issue
Block a user