File size: 2,864 Bytes
5fba847
2d6cc10
 
e5556c0
2d6cc10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
986895c
2d6cc10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
986895c
2d6cc10
 
 
 
 
 
986895c
2d6cc10
 
 
23c0773
2d6cc10
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import streamlit as st
import os
from clients import CompanySpecificClient, UserSpecificClient,hooks,RengagmentEmail

st.set_page_config(page_title="SalesIntel",layout="wide")
st.html("styles.html")
endpoint = os.getenv('blog_lead_endpoint')
st.html('<h1 class="title"> SalesIntel </h1>')
st.html('<h4 class="hero-subtitle"> Your AI Sales Companions for Success</h4>')
email_options = [
    "[email protected]",
    "[email protected]",
    "[email protected]",
    "[email protected]",
    "[email protected]",
    "[email protected]",
    "[email protected]",
    "[email protected]",
    "[email protected]",
]
email_address = st.selectbox("**Introduce yourself to us**", email_options)
def main():
    # First container for Hook2Lead
    cols = st.columns(2)

    with cols[0]:
        with st.container(border=True):
            st.html('<h3><span>Re-engagement Campaigns</span></h3>')
            cols_internal=st.columns(2)
            with cols_internal[0]:
                if st.button("Hook2lead", help="The tool will match it with the leads. You can bring your hooks either a blog, AI announcement, or trend"):
                    hook_dialog(email_address)
            with cols_internal[1]:
                if st.button("let the AI hooks", help="The AI will summarize the conversation and action points for you and write an email to explore new use cases. You can bring old conversations with previous leads"):
                    rengage_lead()                
    with cols[1]:
        with st.container(border=True):
            st.html('<h3><span>Cold Campaigns</span></h3>')   
            cols = st.columns(2)
            with cols[0]:
                if st.button("Tailored for companies", help="Generate cold emails based on company offerings and Omdena's services"):
                    cold_organization_dialog()
            with cols[1]:
                if st.button("Tailored for executives", help="Generate cold emails based on executive achievements"):
                    cold_executive_dialog()

@st.dialog("Bring your hook , and we will match it with the leads", width="large")
def hook_dialog(email_address):
    hooks(email_address)
@st.dialog("personalized cold emails for company offerings", width="large")
def cold_organization_dialog():
    CompanySpecificClient(email_address)

@st.dialog("personalized cold emails for executive achievements", width="large")
def cold_executive_dialog():
    UserSpecificClient(email_address)    

@st.dialog("Tailored emails for re-engaging leads", width="large")
def rengage_lead():
    RengagmentEmail(email_address)    
if __name__ == "__main__":
    logo_url = "https://i.imgur.com/WYnv26e.jpeg"  # Replace this with your image's direct URL
    st.markdown(
        f"""
        <img src="{logo_url}" class="logo">
        """,
        unsafe_allow_html=True,
    )
    
    main()