Sathwikchowdary commited on
Commit
2b1ccb9
·
verified ·
1 Parent(s): f54f3a9

Update Home.py

Browse files
Files changed (1) hide show
  1. Home.py +21 -5
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
- # Innomatics Logo at the top
33
- st.image("1.png", use_container_width=True)
34
-
35
- # App Header
36
- st.markdown("<h1 class='header'>🏏 Cric Metrics - AI-Powered Cricket Insights 🏏</h1>", unsafe_allow_html=True)
 
 
 
 
 
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)