import streamlit as st from streamlit_extras.switch_page_button import switch_page # Background Image Styling st.markdown( f""" """, unsafe_allow_html=True, ) # Header with Logo st.markdown( """
🏏 Cric Metrics - AI-Powered Cricket Insights 🏏
""", unsafe_allow_html=True ) # Intro to Cricket st.markdown("

Cricket - The Gentleman’s Game 🏆

", unsafe_allow_html=True) st.markdown( """
Cricket is not just a sport—it's a passion that unites nations. From the roar of the stadium to the precision of a last-ball thriller, cricket teaches discipline, strategy, and the spirit of sportsmanship.

Whether it's Test cricket’s grind, ODI’s balance, or T20’s thrill—each format brings unique excitement. Players like Sachin Tendulkar, MS Dhoni, and Virat Kohli have inspired generations across the globe.
""", unsafe_allow_html=True ) # What is Cric Metrics? st.markdown("

What is Cric Metrics? 📊

", unsafe_allow_html=True) st.markdown( """
Cric Metrics is a smart analytics platform built using Python and Machine Learning. It helps cricket fans and analysts: Whether you're a fan, coach, or data nerd—Cric Metrics is your playground for cricket analytics.
""", unsafe_allow_html=True ) # Player Info Button st.markdown("
", unsafe_allow_html=True) if st.button("📊 Explore Player Information"): switch_page("pages/1player_information.py") st.markdown("
", unsafe_allow_html=True) # About Author st.markdown("

About the Author 👨‍💻

", unsafe_allow_html=True) st.markdown( """
Sai Kalyan Satwik is a seasoned cricket enthusiast and tech entrepreneur with over 10 years of experience in data science and software development.

His passion for cricket meets his technical expertise in this app, blending numbers with narratives for fans and analysts alike.
""", unsafe_allow_html=True ) # Footer st.markdown("", unsafe_allow_html=True)