Spaces:
Sleeping
Sleeping
File size: 1,410 Bytes
0da373a ecb3731 f734754 0da373a ecb3731 f734754 ecb3731 f734754 ecb3731 f734754 ecb3731 f734754 ecb3731 f734754 ecb3731 f734754 ecb3731 f734754 ecb3731 f734754 ecb3731 f734754 ecb3731 0da373a ecb3731 f734754 ecb3731 4d161c7 ecb3731 |
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 |
import streamlit as st
# Page configuration
st.set_page_config(page_title="Cricket Stats", layout="centered")
# Custom background and button styles
st.markdown("""
<style>
/* Background gradient */
.stApp {
background: linear-gradient(to bottom right, #e3f2fd, #f3e5f5);
}
/* Style the main button */
.stButton > button {
background-color: #6a1b9a;
color: white;
font-size: 18px;
padding: 0.75rem 2rem;
border-radius: 10px;
border: none;
transition: all 0.3s ease;
}
.stButton > button:hover {
background-color: #8e24aa;
color: #ffebee;
transform: scale(1.05);
}
/* Make text a bit more readable */
.markdown-text-container p {
font-size: 18px;
line-height: 1.6;
color: #333;
}
</style>
""", unsafe_allow_html=True)
# Title
st.title("π Welcome To Cricket Stats")
# Personal intro
st.markdown("""
Hi, I'm **Yamparala Gopi Krishna** π
A data analyst skilled in **Python**, **SQL**, and **Power BI**.
I love turning messy data into insights that help make smart decisions π.
Recently, I analyzed Amazon helmet trends using **web scraping** and **visualization tools** to uncover pricing and rating patterns π.
""")
# Navigation button
if st.button("π Go to Visualizations"):
st.switch_page("pages/players_stats.py")
|