Spaces:
Sleeping
Sleeping
Update Home.py
Browse files
Home.py
CHANGED
@@ -13,6 +13,17 @@ st.markdown(
|
|
13 |
color: red;
|
14 |
font-size: 30px;
|
15 |
font-weight: bold;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
}
|
17 |
.sub-header {
|
18 |
color: darkorange;
|
@@ -29,11 +40,16 @@ st.markdown(
|
|
29 |
unsafe_allow_html=True,
|
30 |
)
|
31 |
|
32 |
-
#
|
33 |
-
st.
|
34 |
-
|
35 |
-
|
36 |
-
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
# Cricket Information
|
39 |
st.markdown("<h2 class='sub-header'>Cricket - The Gentleman’s Game 🏆</h2>", unsafe_allow_html=True)
|
|
|
13 |
color: red;
|
14 |
font-size: 30px;
|
15 |
font-weight: bold;
|
16 |
+
display: flex;
|
17 |
+
justify-content: center;
|
18 |
+
align-items: center;
|
19 |
+
position: relative;
|
20 |
+
}
|
21 |
+
.logo {
|
22 |
+
position: absolute;
|
23 |
+
right: 10px;
|
24 |
+
top: 0;
|
25 |
+
width: 80px;
|
26 |
+
height: auto;
|
27 |
}
|
28 |
.sub-header {
|
29 |
color: darkorange;
|
|
|
40 |
unsafe_allow_html=True,
|
41 |
)
|
42 |
|
43 |
+
# App Header with Logo on the Right Corner
|
44 |
+
st.markdown(
|
45 |
+
"""
|
46 |
+
<div class='header'>
|
47 |
+
🏏 Cric Metrics - AI-Powered Cricket Insights 🏏
|
48 |
+
<img src='1.png' class='logo'>
|
49 |
+
</div>
|
50 |
+
""",
|
51 |
+
unsafe_allow_html=True
|
52 |
+
)
|
53 |
|
54 |
# Cricket Information
|
55 |
st.markdown("<h2 class='sub-header'>Cricket - The Gentleman’s Game 🏆</h2>", unsafe_allow_html=True)
|