Spaces:
Sleeping
Sleeping
Update Home.py
Browse files
Home.py
CHANGED
|
@@ -13,24 +13,41 @@ st.markdown("""
|
|
| 13 |
color: white;
|
| 14 |
}
|
| 15 |
|
| 16 |
-
h1, h2 {
|
| 17 |
-
color: #00FFFF;
|
| 18 |
text-align: center;
|
| 19 |
text-shadow: 0px 0px 10px rgba(0, 255, 255, 0.8);
|
| 20 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
.section {
|
| 23 |
background: rgba(255, 255, 255, 0.1);
|
| 24 |
padding: 20px;
|
| 25 |
border-radius: 15px;
|
| 26 |
-
margin-bottom:
|
| 27 |
box-shadow: 0px 4px 12px rgba(0, 255, 255, 0.2);
|
| 28 |
}
|
| 29 |
|
| 30 |
.glow-button {
|
| 31 |
background: linear-gradient(90deg, #00FFFF, #00CCFF);
|
| 32 |
border: none;
|
| 33 |
-
padding:
|
| 34 |
color: black;
|
| 35 |
font-weight: bold;
|
| 36 |
border-radius: 25px;
|
|
@@ -39,6 +56,8 @@ st.markdown("""
|
|
| 39 |
text-decoration: none;
|
| 40 |
display: inline-block;
|
| 41 |
text-align: center;
|
|
|
|
|
|
|
| 42 |
}
|
| 43 |
|
| 44 |
.glow-button:hover {
|
|
@@ -46,14 +65,10 @@ st.markdown("""
|
|
| 46 |
box-shadow: 0px 0px 20px rgba(0, 255, 255, 1);
|
| 47 |
}
|
| 48 |
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
li::before {
|
| 55 |
-
content: "β‘ ";
|
| 56 |
-
color: #00FFFF;
|
| 57 |
}
|
| 58 |
</style>
|
| 59 |
""", unsafe_allow_html=True)
|
|
@@ -74,13 +89,13 @@ st_lottie(lottie_animation, height=200, key="cricket")
|
|
| 74 |
|
| 75 |
# About the App
|
| 76 |
st.markdown('<div class="section">', unsafe_allow_html=True)
|
| 77 |
-
st.
|
| 78 |
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!")
|
| 79 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 80 |
|
| 81 |
# Key Features
|
| 82 |
st.markdown('<div class="section">', unsafe_allow_html=True)
|
| 83 |
-
st.
|
| 84 |
st.markdown("""
|
| 85 |
- π **Player Performance Analysis**
|
| 86 |
- π **Predictive Insights for Matches**
|
|
@@ -91,16 +106,21 @@ st.markdown('</div>', unsafe_allow_html=True)
|
|
| 91 |
|
| 92 |
# About the Creator
|
| 93 |
st.markdown('<div class="section">', unsafe_allow_html=True)
|
| 94 |
-
st.
|
| 95 |
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.")
|
| 96 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 97 |
|
| 98 |
-
#
|
| 99 |
st.markdown('<div class="section">', unsafe_allow_html=True)
|
| 100 |
-
st.
|
|
|
|
|
|
|
|
|
|
| 101 |
st.markdown("""
|
| 102 |
[<button class="glow-button">LinkedIn</button>](https://www.linkedin.com/in/dommeti-thoran-raj-692769191/)
|
| 103 |
[<button class="glow-button">GitHub</button>](https://github.com/raj2216)
|
| 104 |
[<button class="glow-button">Email</button>](mailto:rajbunny2216@gmail.com)
|
| 105 |
""", unsafe_allow_html=True)
|
| 106 |
st.markdown('</div>', unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
| 13 |
color: white;
|
| 14 |
}
|
| 15 |
|
| 16 |
+
h1, h2, h3 {
|
|
|
|
| 17 |
text-align: center;
|
| 18 |
text-shadow: 0px 0px 10px rgba(0, 255, 255, 0.8);
|
| 19 |
}
|
| 20 |
+
|
| 21 |
+
h1 {
|
| 22 |
+
color: #00FFFF;
|
| 23 |
+
font-size: 36px;
|
| 24 |
+
font-weight: 700;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
h2 {
|
| 28 |
+
color: #FFD700;
|
| 29 |
+
font-size: 28px;
|
| 30 |
+
font-weight: 600;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
h3 {
|
| 34 |
+
color: #FF6347;
|
| 35 |
+
font-size: 24px;
|
| 36 |
+
font-weight: 500;
|
| 37 |
+
}
|
| 38 |
|
| 39 |
.section {
|
| 40 |
background: rgba(255, 255, 255, 0.1);
|
| 41 |
padding: 20px;
|
| 42 |
border-radius: 15px;
|
| 43 |
+
margin-bottom: 30px;
|
| 44 |
box-shadow: 0px 4px 12px rgba(0, 255, 255, 0.2);
|
| 45 |
}
|
| 46 |
|
| 47 |
.glow-button {
|
| 48 |
background: linear-gradient(90deg, #00FFFF, #00CCFF);
|
| 49 |
border: none;
|
| 50 |
+
padding: 12px 25px;
|
| 51 |
color: black;
|
| 52 |
font-weight: bold;
|
| 53 |
border-radius: 25px;
|
|
|
|
| 56 |
text-decoration: none;
|
| 57 |
display: inline-block;
|
| 58 |
text-align: center;
|
| 59 |
+
font-size: 16px;
|
| 60 |
+
margin: 10px 5px; /* Added spacing between buttons */
|
| 61 |
}
|
| 62 |
|
| 63 |
.glow-button:hover {
|
|
|
|
| 65 |
box-shadow: 0px 0px 20px rgba(0, 255, 255, 1);
|
| 66 |
}
|
| 67 |
|
| 68 |
+
.button-container {
|
| 69 |
+
text-align: center; /* Centering buttons */
|
| 70 |
+
margin-top: 15px; /* Space before buttons */
|
| 71 |
+
margin-bottom: 20px; /* Space after buttons */
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
}
|
| 73 |
</style>
|
| 74 |
""", unsafe_allow_html=True)
|
|
|
|
| 89 |
|
| 90 |
# About the App
|
| 91 |
st.markdown('<div class="section">', unsafe_allow_html=True)
|
| 92 |
+
st.header("π― About the App") # Used st.header() for better styling
|
| 93 |
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!")
|
| 94 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 95 |
|
| 96 |
# Key Features
|
| 97 |
st.markdown('<div class="section">', unsafe_allow_html=True)
|
| 98 |
+
st.header("π Key Features") # Used st.header() to apply styling
|
| 99 |
st.markdown("""
|
| 100 |
- π **Player Performance Analysis**
|
| 101 |
- π **Predictive Insights for Matches**
|
|
|
|
| 106 |
|
| 107 |
# About the Creator
|
| 108 |
st.markdown('<div class="section">', unsafe_allow_html=True)
|
| 109 |
+
st.header("π¨βπ» About the Creator") # Used st.header() for better presentation
|
| 110 |
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.")
|
| 111 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 112 |
|
| 113 |
+
# Contact Section
|
| 114 |
st.markdown('<div class="section">', unsafe_allow_html=True)
|
| 115 |
+
st.header("π Contact Me") # Used st.header() instead of markdown
|
| 116 |
+
|
| 117 |
+
# Button Section (Now Centered with Space)
|
| 118 |
+
st.markdown('<div class="button-container">', unsafe_allow_html=True)
|
| 119 |
st.markdown("""
|
| 120 |
[<button class="glow-button">LinkedIn</button>](https://www.linkedin.com/in/dommeti-thoran-raj-692769191/)
|
| 121 |
[<button class="glow-button">GitHub</button>](https://github.com/raj2216)
|
| 122 |
[<button class="glow-button">Email</button>](mailto:rajbunny2216@gmail.com)
|
| 123 |
""", unsafe_allow_html=True)
|
| 124 |
st.markdown('</div>', unsafe_allow_html=True)
|
| 125 |
+
|
| 126 |
+
st.markdown('</div>', unsafe_allow_html=True)
|