File size: 2,441 Bytes
b5734ec
08af828
b5734ec
08af828
 
 
 
 
d99adf7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
08af828
 
 
 
 
 
d99adf7
2303388
d99adf7
0a9aa5b
d99adf7
b5734ec
08af828
d99adf7
08af828
d99adf7
08af828
d99adf7
08af828
 
 
29b864c
08af828
d99adf7
08af828
d99adf7
08af828
d99adf7
08af828
 
 
f80ff0a
 
 
d99adf7
0a9aa5b
 
d99adf7
0a9aa5b
d99adf7
 
 
0a9aa5b
 
 
d99adf7
 
2303388
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import streamlit as st
from streamlit_extras.switch_page_button import switch_page

# Custom styles
st.markdown(
    """
    <style>
        .stApp {
            background-color: #f0f8ff;
        }
        .header {
            text-align: center;
            color: red;
            font-size: 30px;
            font-weight: bold;
        }
        .sub-header {
            color: darkorange;
            font-size: 24px;
            font-weight: bold;
        }
        .text {
            font-size: 16px;
            color: black;
            font-style: italic;
        }
    </style>
    """,
    unsafe_allow_html=True,
)

# Innomatics Logo at the top
st.image("/mnt/data/1.png", use_container_width=True)

# App Header
st.markdown("<h1 class='header'>🏏 Cric Metrics - AI-Powered Cricket Insights 🏏</h1>", unsafe_allow_html=True)

# Cricket Information
st.markdown("<h2 class='sub-header'>Cricket - The Gentleman’s Game πŸ†</h2>", unsafe_allow_html=True)
st.markdown(
    "<p class='text'>"
    "Cricket is one of the most popular sports worldwide, loved by millions. It is played in multiple formats, including Test matches, One Day Internationals (ODIs), and T20s. "
    "With legendary players, thrilling rivalries, and unforgettable moments, cricket has become more than just a gameβ€”it's an emotion for fans around the globe. 🏏πŸ”₯"
    "</p>",
    unsafe_allow_html=True
)

# About Cric Metrics
st.markdown("<h2 class='sub-header'>What is Cric Metrics? πŸ“Š</h2>", unsafe_allow_html=True)
st.markdown(
    "<p class='text'>"
    "Cric Metrics is an advanced cricket analytics platform designed to provide in-depth insights, player comparisons, "
    "score predictions, and team analysis using AI and machine learning. πŸ“ˆπŸ€–"
    "</p>",
    unsafe_allow_html=True
)

# Player Information Button
if st.button("πŸ“Š Player Information"):
    st.switch_page("pages/1player_information.py")

# Author Section
st.markdown("<h2 class='sub-header'>About the Author πŸ‘¨β€πŸ’»</h2>", unsafe_allow_html=True)
st.markdown(
    "<p class='text'>"
    "<b>Sai Kalyan Satwik</b> is a seasoned cricket enthusiast and tech entrepreneur with over 10 years of experience. "
    "He specializes in data science, Python programming, and Exploratory Data Analysis (EDA). πŸπŸ“Š"
    "</p>",
    unsafe_allow_html=True
)

# Innomatics Logo at the bottom as well (optional)
st.image("/mnt/data/1.png", use_container_width=True)