import streamlit as st from streamlit_lottie import st_lottie import requests # Custom CSS for Enhanced Styling st.markdown(""" """, unsafe_allow_html=True) # Title st.markdown("

🏏 Crick-o-Meter: Unleashing Data-Driven Cricket Insights! 📊🔥

", unsafe_allow_html=True) # Load Lottie Animation @st.cache_data def load_lottie_url(url: str): response = requests.get(url) if response.status_code != 200: return None return response.json() lottie_animation = load_lottie_url("https://lottie.host/6e182649-61a6-4683-8680-5493855ac08a/G0pStmcS8T.json") if lottie_animation: st_lottie(lottie_animation, height=200, key="cricket") else: st.error("⚠️ Failed to load animation. Please check your internet connection.") # About the App st.markdown('
', unsafe_allow_html=True) st.markdown("

🎯 About the App

", unsafe_allow_html=True) st.write("Crick-o-Meter is your ultimate companion for cricket statistics and analytics. Whether you're a fantasy cricket player, a data nerd, or just an ardent fan, our app gives you real-time stats, player comparisons, and predictive insights!") st.markdown('
', unsafe_allow_html=True) # Key Features st.markdown('
', unsafe_allow_html=True) st.markdown("

🚀 Key Features

", unsafe_allow_html=True) st.markdown(""" - 📊 **Player Performance Analysis** - 📈 **Predictive Insights for Matches** - 🧠 **AI-driven Cricket Forecasting** - 📌 **Team Comparisons & Head-to-Head Stats** """) st.markdown('
', unsafe_allow_html=True) # About the Creator st.markdown('
', unsafe_allow_html=True) st.markdown("

👨‍💻 About the Creator

", unsafe_allow_html=True) st.write("Hi! I'm a passionate developer blending machine learning with cricket analytics. My goal is to make cricket statistics accessible and insightful for fans worldwide.") st.markdown('
', unsafe_allow_html=True) # Contact Section st.markdown('
', unsafe_allow_html=True) st.markdown("

📞 Contact Me

", unsafe_allow_html=True) # Buttons with Links st.markdown('
', unsafe_allow_html=True) st.markdown(""" """, unsafe_allow_html=True) st.markdown('
', unsafe_allow_html=True)