MohanadAfiffy commited on
Commit
deddd7e
·
verified ·
1 Parent(s): c259ee9

Delete pages/pages_Business_Hubs.py

Browse files
Files changed (1) hide show
  1. pages/pages_Business_Hubs.py +0 -123
pages/pages_Business_Hubs.py DELETED
@@ -1,123 +0,0 @@
1
- # import streamlit as st
2
- # st.write("on maintenance to release a new version")
3
- #!/usr/bin/env python3
4
- # -*- coding: utf-8 -*-
5
- """
6
- Created on Tue Jan 2 12:26:26 2024
7
-
8
- @author: mohanadafiffy
9
- """
10
-
11
- import streamlit as st
12
- from clients import BH_Ngo ,BH_industry
13
-
14
- def main():
15
- # Start of the form
16
- if 'form_submitted' not in st.session_state:
17
- st.session_state['form_submitted'] = False
18
-
19
- # Dictionary mapping emails to sender names
20
- email_to_sender = {
21
- "[email protected]": "Michael",
22
- "[email protected]": "James",
23
- "[email protected]": "Weronika",
24
- "[email protected]": "Paulina",
25
- "[email protected]": "Fabio",
26
- "[email protected]": "Rudradeb",
27
- "[email protected]": "Mohanad",
28
- "[email protected]": "Huzefa",
29
- "[email protected]": "Mustafa",
30
- "[email protected]": "Mike",
31
- "[email protected]": "Ansh",
32
- "[email protected]": "Jamaludeen",
33
- "[email protected]": "Mohammed Zuhair",
34
- "[email protected]": "Shawna",
35
- "[email protected]": "Peter",
36
- "[email protected]": "Derek",
37
- "[email protected]": "Allan",
38
- "[email protected]": "Miguel",
39
- "[email protected]": "Cristian",
40
- "[email protected]": "Vamsi Krishna",
41
- "[email protected]": "Manifest",
42
- "[email protected]": "Utkarsha",
43
- "[email protected]": "Emmanuel",
44
- "[email protected]": "Damian",
45
- "[email protected]": "Humberto",
46
- "[email protected]": "Nafsika",
47
- "[email protected]": "Madalin",
48
- "[email protected]": "William",
49
- "[email protected]": "Adish",
50
- "[email protected]": "John",
51
- "[email protected]": "Dmytro",
52
- "[email protected]": "Levent",
53
- "[email protected]": "Joao",
54
- "[email protected]": "Lior",
55
- "[email protected]":"Lorenz Villain",
56
- "[email protected]" :"Dmytro Levin",
57
- "[email protected]":"Guillermo Orta",
58
- "[email protected]":"Hanneke Verschuren"
59
- }
60
-
61
-
62
- with st.form(key='my_form'):
63
- options = ["NGO Emails", "Industry company focused Emails"]
64
- selected_options = st.selectbox("Please select the needed features", options,key='select feature')
65
-
66
- email_options = list(email_to_sender.keys())
67
- email_receiver = st.selectbox("Please select an email address", email_options)
68
-
69
- # Display the sender name based on the selected email
70
- sender_name = email_to_sender.get(email_receiver, " ")
71
-
72
- # Submit button for the form
73
- calendly_link = st.text_input("Please write your Calendly link")
74
- submit_button = st.form_submit_button(label='Select features')
75
-
76
- # Check if the form has been submitted
77
- if submit_button:
78
- st.session_state['form_submitted'] = True
79
- if st.session_state['form_submitted']:
80
- if "NGO Emails" in selected_options :
81
- BH_Ngo(email_receiver,calendly_link,sender_name)
82
- elif "Industry company focused Emails" in selected_options :
83
- BH_industry(email_receiver,calendly_link,sender_name)
84
-
85
-
86
-
87
- if __name__ == "__main__":
88
- st.markdown(
89
- """
90
- <style>
91
- .higher-title {
92
- font-size:35px !important;
93
- color: #4A90E2; /* Shade of blue */
94
- text-align: center;
95
- font-weight: bold;
96
- margin-top: -20px; /* Adjust this value to control the height */
97
- }
98
- </style>
99
- """,
100
- unsafe_allow_html=True,
101
- )
102
-
103
- st.markdown('<p class="higher-title">SalesIntel AI</p>', unsafe_allow_html=True)
104
-
105
-
106
-
107
- logo_url = "https://i.imgur.com/WYnv26e.jpeg" # Replace this with your image's direct URL
108
- st.markdown(
109
- f"""
110
- <style>
111
- .logo {{
112
- position: fixed;
113
- bottom: 5px;
114
- right: 5px;
115
- width: 100px; # Adjust width as needed
116
- }}
117
- </style>
118
- <img src="{logo_url}" class="logo">
119
- """,
120
- unsafe_allow_html=True,
121
- )
122
- main()
123
-