useraccess_helper_library / page_components.py
louiecerv's picture
Add the header and footer
f480456
raw
history blame contribute delete
802 Bytes
import streamlit as st
def app_header():
st.markdown(
"""
<style>
.header {
padding: 10px;
text-align: center;
}
</style>
<div class="header">
<h1>Application Template</h1>
</div>
""",
unsafe_allow_html=True,
)
def app_footer():
st.markdown(
"""
<style>
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
text-align: center;
padding: 10px;
}
</style>
<div class="footer">
<p>Copyright 2024 | West Visayas State University</p>
</div>
""",
unsafe_allow_html=True,
)