Upload app.py
Browse files
app.py
CHANGED
|
@@ -23,9 +23,28 @@ st.markdown("""
|
|
| 23 |
border-radius: 5px;
|
| 24 |
border: none;
|
| 25 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
</style>
|
| 27 |
""", unsafe_allow_html=True)
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
# Sidebar design
|
| 30 |
st.sidebar.button("New Chat", key="new_chat", on_click=None, args=None, kwargs=None, disabled=False)
|
| 31 |
|
|
|
|
| 23 |
border-radius: 5px;
|
| 24 |
border: none;
|
| 25 |
}
|
| 26 |
+
.top-bar {
|
| 27 |
+
background-color: #000000;
|
| 28 |
+
color: white;
|
| 29 |
+
padding: 10px 20px;
|
| 30 |
+
display: flex;
|
| 31 |
+
align-items: center;
|
| 32 |
+
justify-content: space-between;
|
| 33 |
+
}
|
| 34 |
+
.brand-logo {
|
| 35 |
+
height: 40px;
|
| 36 |
+
margin-right: 10px;
|
| 37 |
+
}
|
| 38 |
</style>
|
| 39 |
""", unsafe_allow_html=True)
|
| 40 |
|
| 41 |
+
# Top bar layout
|
| 42 |
+
top_bar_col1, top_bar_col2 = st.columns([1, 20])
|
| 43 |
+
with top_bar_col1:
|
| 44 |
+
st.image("mastercard_logo.png", width=50)
|
| 45 |
+
with top_bar_col2:
|
| 46 |
+
st.markdown('<p class="brand-color">Brand Bot</p>', unsafe_allow_html=True)
|
| 47 |
+
|
| 48 |
# Sidebar design
|
| 49 |
st.sidebar.button("New Chat", key="new_chat", on_click=None, args=None, kwargs=None, disabled=False)
|
| 50 |
|