import streamlit as st
from streamlit_extras.switch_page_button import switch_page
from st_pages import Page, show_pages, hide_pages

show_pages([
    Page("Home.py","Home"),
    Page("pages/login.py","Login")
])

hide_pages(['Login'])



#st.set_page_config(
 #   page_title="Home",
  #  page_icon="👋",
#)

st.markdown("<h2 style='text-align: center; color: blue;'>Information system for monitoring of financial, economic and reporting activity</h2>", unsafe_allow_html=True)
#st.write("# Welcome to Information system for monitoring financial, economic and reporting activity")

#st.sidebar.success("Select a demo above.")

st.markdown(
    """
An information system will allow you to follow the main financial and economic indicators for the management of a livestock farm.

### Three modules have been developed in the system:

- To keep track of the annual reports of passes, expenses and profit.

- To realize summarized and detailed analysis of income and expenses.

- Description of earnings for a specific period of time.

### To start working with a system, you must first log into the system with a username and password.

"""
)

#st.title("Main Page")
#st.sidebar.success("Select a page above.")

if st.button('Login'):
    switch_page('Login')
    
#st.set_page_config(
#	page_title="Multipage App",
#	page_icon=":)",
#)
	
