File size: 773 Bytes
5fd8e56
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
"""Supports other functionalities.
"""


import streamlit as st



# Add a block of HTML code to the app
def apply_css():
    """
    Apply CSS styling to the app.
    """
    st.markdown('<link rel="stylesheet" href="streamlit\style.css">', unsafe_allow_html=True)


def set_page(title='Chess', page_icon="♟️"):
    st.set_page_config(
        page_title=title,
        page_icon=page_icon,
        layout="wide",
        initial_sidebar_state="expanded",
        menu_items={
            'Get Help':
                'https://github.com/dakotalock/QuantumBlue',
            'Report a bug':
                "https://github.com/dakotalock/QuantumBlue",
            'About': "# Streamlit chessboard"
        }
    )

    apply_css()

    st.title('Streamlit Chessboard')