Vlad Bastina commited on
Commit
c6e5231
·
1 Parent(s): afe102c
Files changed (3) hide show
  1. app.py +10 -2
  2. style.css +32 -0
  3. zega_logo.svg +15 -0
app.py CHANGED
@@ -39,13 +39,21 @@ def load_chatbot():
39
  # Streamlit App Configuration
40
  st.set_page_config(page_title="Zega AI Sales Agent", page_icon="🤖", layout="centered")
41
 
 
 
 
 
 
42
  load_css("style.css")
43
 
44
  # Sidebar with branding
45
  # Use a placeholder if the logo doesn't exist
46
- logo_path = "zega_logo.PNG"
47
  if os.path.exists(logo_path):
48
- st.sidebar.image(logo_path, width=300)
 
 
 
49
  else:
50
  st.sidebar.warning("Logo zega_logo.PNG not found.")
51
  st.sidebar.markdown("### Welcome to Zega AI Sales Agent!")
 
39
  # Streamlit App Configuration
40
  st.set_page_config(page_title="Zega AI Sales Agent", page_icon="🤖", layout="centered")
41
 
42
+ st.markdown("""
43
+ <link rel="preconnect" href="https://fonts.googleapis.com">
44
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
45
+ <link href="https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&display=swap" rel="stylesheet">
46
+ """, unsafe_allow_html=True)
47
  load_css("style.css")
48
 
49
  # Sidebar with branding
50
  # Use a placeholder if the logo doesn't exist
51
+ logo_path = "zega_logo.svg"
52
  if os.path.exists(logo_path):
53
+ with open(logo_path, "r", encoding="utf-8") as f:
54
+ svg_content = f.read()
55
+
56
+ st.sidebar.markdown(svg_content,unsafe_allow_html=True)
57
  else:
58
  st.sidebar.warning("Logo zega_logo.PNG not found.")
59
  st.sidebar.markdown("### Welcome to Zega AI Sales Agent!")
style.css CHANGED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ h1, h2, h3, h4, h5, h6 {
2
+ font-family: "Space Grotesk", sans-serif !important;
3
+ font-optical-sizing: auto !important;
4
+ font-weight: 700 !important;
5
+ font-style: normal !important;
6
+ }
7
+
8
+ h1, h2 {
9
+ letter-spacing: -1px !important;
10
+ }
11
+
12
+ h1 {
13
+ font-size: 36px !important;
14
+ }
15
+
16
+ h2 {
17
+ font-size: 27px !important;
18
+ }
19
+
20
+ .st-emotion-cache-1dp5vir {
21
+ background-image: linear-gradient(90deg, rgb(65, 105, 225), rgb(0, 255, 255)) !important;
22
+ }
23
+
24
+ body {
25
+ font-family: 'Inter Tight', Arial, Helvetica, sans-serif !important;
26
+ font-size: 14px !important;
27
+ text-align: left !important;
28
+ }
29
+
30
+ p , textarea {
31
+ font-family: 'Inter Tight', Arial, Helvetica, sans-serif !important;
32
+ }
zega_logo.svg ADDED