import streamlit as st
import pandas as pd
# πΉ App Title
st.markdown(
"
π Welcome to Cricket World β Explore Player Stats!
",
unsafe_allow_html=True
)
# πΉ Short Introduction
st.markdown(
"""
You are one-stop place to discover cricket magic! π
Dive into the exciting world of cricket with us! Whether you're a passionate fan or just getting started,
this app brings player statistics, records, and insights right at your fingertips.
""",
unsafe_allow_html=True
)
# πΉ About Cricket
st.markdown(
"""
A Quick Look at Cricket
Cricket is more than just a sport β itβs an emotion that connects millions.
Played between two teams of eleven players each, cricket has different formats loved by fans across the world:
- Test Matches: The traditional and longest form, played over five thrilling days.
- One Day Internationals (ODIs): A 50-overs per side game offering the perfect blend of strategy and excitement.
- T20 Matches: High-energy 20-over matches, packed with big hits and quick action.
- IPL: The Indian Premier League, where cricket meets entertainment, bringing global stars together.
From powerful sixes to magical bowling spells, cricket never fails to amaze!
""",
unsafe_allow_html=True
)
# πΉ About the App
st.markdown(
"""
What's Inside the App?
This app is designed specially for cricket lovers who want easy access to detailed player statistics across formats like Test, ODI, T20, and IPL.
- View Player Stats: Find runs scored, wickets taken, and matches played.
- Compare Performances: See how players perform across different formats.
- Simple and Neat Interface: No messy graphs β just clean dropdowns and easy-to-read numbers!
Stay updated and know about your favorite players with one click!
""",
unsafe_allow_html=True
)
# πΉ Navigation Button
st.markdown(
"""
Want to explore the status of cricket?
""",
unsafe_allow_html=True
)
if st.button("View Player Stats"):
st.switch_page("pages/1_player_stats.py")