File size: 2,692 Bytes
1f6966e
dddd387
 
 
e334675
dddd387
 
 
 
 
 
 
e334675
dddd387
 
 
 
 
 
 
 
 
 
 
 
816b921
 
dddd387
 
e334675
dddd387
 
e334675
dddd387
 
 
 
 
 
 
 
 
 
e334675
 
 
dddd387
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e334675
dddd387
e334675
 
 
dddd387
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e334675
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# import streamlit as st 
# st.write("On maintenance to release a new version")
import streamlit as st 
from clients import CompanySpecificClient,UserSpecificClient,bothFeaturesFunction

def main():
    # Start of the form
    if 'form_submitted' not in st.session_state:
        st.session_state['form_submitted'] = False
    with st.form(key='my_form'):
        options = ["Company-Specific Email Outreach", "Leadership Email Customization"]
        selected_options = st.multiselect("Please select the needed features", options)
    
        email_options = [
            "[email protected]",
            "[email protected]",
            "[email protected]",
            "[email protected]",
            "[email protected]",
            "[email protected]",
            "[email protected]",
            "[email protected]",
            "[email protected]",
            "[email protected]",
            "[email protected]",
            "[email protected]",
            "[email protected]"
        ]
        email_receiver = st.selectbox("Please select an email address", email_options)
    
        # Submit button for the form
        submit_button = st.form_submit_button(label='Select features')
    
    # Check if the form has been submitted
    if submit_button:
        st.session_state['form_submitted'] = True
    if  st.session_state['form_submitted']:  
        if "Company-Specific Email Outreach" in selected_options and "Leadership Email Customization" in selected_options:
            bothFeaturesFunction(email_receiver)
        elif "Company-Specific Email Outreach" in selected_options :
            CompanySpecificClient(email_receiver)
        elif "Leadership Email Customization" in selected_options :
            UserSpecificClient(email_receiver)
        
                

if __name__ == "__main__":
    st.markdown(
    """
    <style>
    .higher-title {
        font-size:35px !important;
        color: #4A90E2;  /* Shade of blue */
        text-align: center;
        font-weight: bold;
        margin-top: -20px;  /* Adjust this value to control the height */
    }
    </style>
    """, 
    unsafe_allow_html=True,
)

    st.markdown('<p class="higher-title">SalesIntel AI</p>', unsafe_allow_html=True)
    
    
    
    logo_url = "https://i.imgur.com/WYnv26e.jpeg"  # Replace this with your image's direct URL
    st.markdown(
        f"""
        <style>
        .logo {{
            position: fixed;
            bottom: 5px;
            right: 5px;
            width: 100px;  # Adjust width as needed
        }}
        </style>
        <img src="{logo_url}" class="logo">
        """,
        unsafe_allow_html=True,
    )
    main()