File size: 431 Bytes
33ea4bb
b586854
 
e80e35a
 
 
 
b586854
 
 
 
 
e80e35a
 
 
33ea4bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import os
import streamlit as st

from page_selector import remove_seasonal_pages
from login_component import get_authorization_button


def local_css(file_name):
    with open(file_name) as f:
        st.markdown("<style>{}</style>".format(f.read()), unsafe_allow_html=True)


def common_page_config():
    get_authorization_button()
    remove_seasonal_pages()
    local_css(os.path.join(os.path.dirname(__file__), "style.css"))