-
Notifications
You must be signed in to change notification settings - Fork 1
/
🏠_Home.py
54 lines (45 loc) · 3.3 KB
/
🏠_Home.py
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import streamlit as st
st.set_page_config(
page_title="Cricket StatsGuru",
page_icon="🏠",
layout="centered",
initial_sidebar_state="expanded",
)
def display_project_introduction():
logo = "resources/images/cricket_statsguru.png"
st.image(logo)
st.markdown('# Project Introduction')
st.markdown('Cricket StatsGuru is a dynamic dashboard that contains visualization, analytics and modeling tools for Nepali cricket enthusiasts. This Streamlit-based web application provides a number of features specially tailored to enhance your understanding and enjoyment behind the runs and wickets. Whether you’re a lifelong cricket fan or a casual observer, we’ve got something for you. So, stick around and embark on an immersive Nepali cricket experience like never before!')
def featured_content():
st.markdown("## Features 🌟")
st.markdown("- Visualize the performance of your favorite Nepali cricketers side by side to compare their achievements.")
st.markdown("- Explore in-depth batting and bowling statistics to uncover the secrets behind their success.")
st.markdown("- Immerse yourself in the overall journey of the Nepali cricket team, from triumphs to challenges.")
st.markdown("- Get historical insights into the evolution of Nepali cricket with an archive of past records and achievements.")
st.markdown("- Engage with interactive charts and graphs, making statistical analysis both informative and enjoyable.")
st.markdown("## Sections 📊")
st.markdown("- **Player Profile**: Get insights into individual players' achievements, records, and milestones.")
st.markdown("- **Team Statistics**: Dive into comprehensive statistics showcasing the team's performance over time.")
st.markdown("- **Tournament Tracker**: Stay updated on upcoming fixtures, match results, and tournament standings.")
st.markdown("- **Player Comparison**: Compare players head-to-head and discover the legends of Nepali cricket.")
st.markdown("- **News and Updates**: Stay informed with the latest news, articles, and developments in Nepalese cricket.")
st.markdown("- **Performance Analysis**: Analyze player and team performances through interactive heatmaps and trend visualizations.")
def display_sources():
# st.markdown('# Our Sources' , unsafe_allow_html= True)
st.markdown('<ol>'
'<li><a href= "https://www.espncricinfo.com/" target="_blank">ESPNCRICINFO</a></li>'
'<li><a href= "https://en.wikipedia.org/wiki/List_of_Nepal_Twenty20_International_cricket_records" target="_blank">Nepal Twenty20 International Cricket Records</a></li>'
'<li><a href= "https://en.wikipedia.org/wiki/List_of_Nepal_One_Day_International_records" target="_blank">Nepal One Day International Records</a></li>'
'<li><a href= "https://www.mykhel.com/cricket/nepal-tp266/players/" target="_blank">Nepal Cricket Players on MyKhel</a></li>'
'<li><a href= "https://www.cricnepal.com/" target="_blank">CricNepal</a></li>'
'</ol>', unsafe_allow_html = True)
def main():
tab1, tab3 = st.tabs(["Project Introduction", "Our Sources"])
with tab1:
display_project_introduction()
# with tab2:
# featured_content()
with tab3:
display_sources()
if __name__ == "__main__":
main()