wesam0099 commited on
Commit
4e20d0c
ยท
verified ยท
1 Parent(s): 8bead95

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +124 -194
src/streamlit_app.py CHANGED
@@ -9,205 +9,135 @@ st.set_page_config(
9
 
10
  # CSS ู…ุฎุตุต
11
  st.markdown("""
12
- <style>
13
- @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
14
-
15
- html, body, [class*="css"] {
16
- font-family: 'Cairo', sans-serif;
17
- background-color: #0f1117;
18
- margin: 0;
19
- padding: 0;
20
- }
21
-
22
- .full-screen {
23
- min-height: 100vh;
24
- width: 100%;
25
- background: linear-gradient(-45deg, #2193b0, #6dd5ed, #1e3c72, #2a5298);
26
- background-size: 400% 400%;
27
- animation: gradientBG 10s ease infinite;
28
- display: flex;
29
- flex-direction: column;
30
- justify-content: center;
31
- align-items: center;
32
- color: white;
33
- text-align: center;
34
- padding: 30px 15px;
35
- border-radius: 0 0 40px 40px;
36
- }
37
-
38
- @keyframes gradientBG {
39
- 0% { background-position: 0% 50%; }
40
- 50% { background-position: 100% 50%; }
41
- 100% { background-position: 0% 50%; }
42
- }
43
-
44
- .logo-container img {
45
- width: 120px;
46
- height: 120px;
47
- border-radius: 50%;
48
- border: 5px solid white;
49
- box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
50
- animation: glow 3s infinite alternate;
51
- }
52
-
53
- @keyframes glow {
54
- 0% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.6); }
55
- 100% { box-shadow: 0 0 40px rgba(255, 255, 255, 0.9); }
56
- }
57
-
58
- h1 {
59
- font-size: 2.8rem;
60
- font-weight: 700;
61
- margin: 20px 0;
62
- color: #ffffff;
63
- }
64
-
65
- p {
66
- font-size: 1.1rem;
67
- max-width: 600px;
68
- margin: 15px auto;
69
- opacity: 0.9;
70
- color: rgba(255, 255, 255, 0.95);
71
- }
72
-
73
- .cta-buttons {
74
- margin-top: 25px;
75
- }
76
-
77
- .cta-buttons a {
78
- background: #00bcd4;
79
- color: white;
80
- font-size: 1.05rem;
81
- font-weight: bold;
82
- text-decoration: none;
83
- padding: 10px 25px;
84
- border-radius: 30px;
85
- transition: 0.3s;
86
- box-shadow: 0 4px 12px rgba(0, 188, 212, 0.4);
87
- }
88
-
89
- .cta-buttons a:hover {
90
- background: #0097a7;
91
- box-shadow: 0 6px 20px rgba(0, 188, 212, 0.6);
92
- transform: translateY(-3px);
93
- }
94
-
95
- .about-section {
96
- background-color: #ffffff;
97
- color: #222;
98
- border-radius: 30px;
99
- padding: 60px 30px;
100
- max-width: 1000px;
101
- margin: 60px auto;
102
- box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
103
- text-align: center;
104
- }
105
-
106
- .about-section h2 {
107
- font-size: 2.5rem;
108
- color: #0f1117;
109
- margin-bottom: 20px;
110
- font-weight: 800;
111
- }
112
-
113
- .about-section p {
114
- font-size: 1.2rem;
115
- color: #555;
116
- margin: 0 auto 40px;
117
- max-width: 700px;
118
- }
119
-
120
- .features {
121
- display: flex;
122
- flex-wrap: wrap;
123
- justify-content: center;
124
- gap: 30px;
125
- }
126
-
127
- .feature {
128
- background: linear-gradient(135deg, #ffffff, #f7f7f7);
129
- border-radius: 25px;
130
- padding: 30px 20px;
131
- width: 260px;
132
- text-align: center;
133
- box-shadow: 0 6px 18px rgba(0,0,0,0.1);
134
- transition: transform 0.4s ease, box-shadow 0.4s ease;
135
- }
136
-
137
- .feature:hover {
138
- transform: scale(1.05);
139
- box-shadow: 0 10px 24px rgba(0,0,0,0.15);
140
- }
141
-
142
- .feature img {
143
- width: 60px;
144
- height: 60px;
145
- margin-bottom: 15px;
146
- transition: transform 0.3s ease;
147
- }
148
-
149
- .feature:hover img {
150
- transform: rotate(6deg) scale(1.1);
151
- }
152
-
153
- .feature h4 {
154
- font-size: 1.3rem;
155
- color: #0077b6;
156
- margin-bottom: 10px;
157
- font-weight: 700;
158
- }
159
-
160
- .feature p {
161
- font-size: 1rem;
162
- color: #444;
163
- }
164
-
165
- .feature:nth-child(1) { background: #fef6f0; }
166
- .feature:nth-child(2) { background: #f0f8ff; }
167
- .feature:nth-child(3) { background: #f4f4fe; }
168
-
169
- </style>
170
  """, unsafe_allow_html=True)
171
 
172
 
173
 
 
 
174
  # ูˆุงุฌู‡ุฉ ุงู„ูˆูƒูŠู„ ุงู„ุตูˆุชูŠ
175
  st.markdown("""
176
- <div class="full-screen">
177
- <div class="logo-container">
178
- <img src="https://cdn-icons-png.flaticon.com/512/4712/4712109.png" alt="Voice Assistant">
179
- </div>
180
- <h1>ูˆูƒูŠู„ูƒ ุงู„ุตูˆุชูŠ ุงู„ุฐูƒูŠ</h1>
181
- <p>
182
- ุชุญุฏุซุŒ ูˆุฏุน ูˆูƒูŠู„ู†ุง ุงู„ุฐูƒูŠ ูŠุชูˆู„ู‰ ุงู„ู…ู‡ู…ุฉ!<br>
183
- ุญุฌูˆุฒุงุชูƒ ูˆุทู„ุจุงุชูƒ ุชูู†ุฌุฒ ุจุณู‡ูˆู„ุฉ ูˆุงุญุชุฑุงููŠุฉ.
184
- </p>
185
- <div class="cta-buttons">
186
- <a href="https://vapi.ai?demo=true&shareKey=f612978f-043a-48ad-8133-d5902b2aba32&assistantId=acdaf234-999f-4fc9-b229-d51e1d9fd10d" target="_blank">
187
- ุชูˆุงุตู„ ู…ุน ูˆูƒูŠู„ูƒ ุงู„ุขู†
188
- </a>
189
- </div>
190
  </div>
191
-
192
- <div class="about-section">
193
- <h2>ู…ู† ู†ุญู†</h2>
194
- <p>ู†ุญู† ูุฑูŠู‚ ุชู‚ู†ูŠ ู†ุคู…ู† ุจู‚ูˆุฉ ุงู„ุฐูƒุงุก ุงู„ุงุตุทู†ุงุนูŠ ููŠ ุชุณู‡ูŠู„ ุญูŠุงุชูƒ ุงู„ูŠูˆู…ูŠุฉุŒ ู…ู† ุฎู„ุงู„ ู…ุณุงุนุฏ ุฐูƒูŠ ุตูˆุชูŠ ูŠูู‡ู…ูƒ ูˆูŠุชูุงุนู„ ู…ุนูƒ.</p>
195
- <div class="features">
196
- <div class="feature">
197
- <img src="https://cdn-icons-png.flaticon.com/512/3595/3595455.png" alt="Booking">
198
- <h4>ุณู‡ูˆู„ุฉ ุงู„ุญุฌุฒ</h4>
199
- <p>ุฅุฌุฑุงุก ุงู„ุญุฌูˆุฒุงุช ููŠ ุงู„ุนูŠุงุฏุงุช ูˆุงู„ู…ุทุงุนู… ุจูƒู„ ุณู‡ูˆู„ุฉ ูˆูŠุณุฑ.</p>
200
- </div>
201
- <div class="feature">
202
- <img src="https://cdn-icons-png.flaticon.com/512/2099/2099058.png" alt="Recording">
203
- <h4>ุชุณุฌูŠู„ ุฏู‚ูŠู‚</h4>
204
- <p>ุชุณุฌูŠู„ ุงู„ุฃูˆุงู…ุฑ ูˆุงู„ุทู„ุจุงุช ุงู„ุตูˆุชูŠุฉ ุจุฏู‚ุฉ ูˆุงุญุชุฑุงููŠุฉ ุนุงู„ูŠุฉ.</p>
205
- </div>
206
- <div class="feature">
207
- <img src="https://cdn-icons-png.flaticon.com/512/4712/4712006.png" alt="Interaction">
208
- <h4>ุชูุงุนู„ ุฐูƒูŠ</h4>
209
- <p>ุงู„ุฑุฏ ุงู„ููˆุฑูŠ ูˆุงู„ุชูุงุนู„ ุงู„ุทุจูŠุนูŠ ู…ุน ู…ุญุงุฏุซุงุชูƒ ูˆูƒุฃู†ูƒ ุชุชุญุฏุซ ู…ุน ุฅู†ุณุงู†.</p>
210
- </div>
211
- </div>
212
  </div>
213
- """, unsafe_allow_html=True)
 
 
 
 
 
 
 
9
 
10
  # CSS ู…ุฎุตุต
11
  st.markdown("""
12
+ <style>
13
+ @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
14
+
15
+ html, body, [class*="css"] {
16
+ font-family: 'Cairo', sans-serif;
17
+ background-color: #0f1117;
18
+ scroll-behavior: smooth;
19
+ }
20
+
21
+ .full-screen {
22
+ min-height: 70vh;
23
+ width: 100%;
24
+ background: linear-gradient(-45deg, #2193b0, #6dd5ed, #1e3c72, #2a5298);
25
+ background-size: 400% 400%;
26
+ animation: gradientBG 10s ease infinite;
27
+ display: flex;
28
+ flex-direction: column;
29
+ justify-content: center;
30
+ align-items: center;
31
+ color: white;
32
+ text-align: center;
33
+ padding: 30px 15px;
34
+ border-radius: 0 0 40px 40px;
35
+ margin-bottom: 40px;
36
+ }
37
+
38
+ @keyframes gradientBG {
39
+ 0% { background-position: 0% 50%; }
40
+ 50% { background-position: 100% 50%; }
41
+ 100% { background-position: 0% 50%; }
42
+ }
43
+
44
+ .logo-container img {
45
+ width: 120px;
46
+ height: 120px;
47
+ border-radius: 50%;
48
+ border: 5px solid white;
49
+ box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
50
+ animation: glow 3s infinite alternate;
51
+ }
52
+
53
+ @keyframes glow {
54
+ 0% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.6); }
55
+ 100% { box-shadow: 0 0 40px rgba(255, 255, 255, 0.9); }
56
+ }
57
+
58
+ h1 {
59
+ font-size: 2.8rem;
60
+ font-weight: 700;
61
+ margin: 20px 0;
62
+ color: #ffffff;
63
+ }
64
+
65
+ p {
66
+ font-size: 1.1rem;
67
+ max-width: 600px;
68
+ margin: 15px auto;
69
+ opacity: 0.9;
70
+ color: rgba(255, 255, 255, 0.95);
71
+ }
72
+
73
+ .cta-buttons {
74
+ margin-top: 25px;
75
+ }
76
+
77
+ .cta-buttons a {
78
+ background: #00bcd4;
79
+ color: white;
80
+ font-size: 1.05rem;
81
+ font-weight: bold;
82
+ text-decoration: none;
83
+ padding: 10px 25px;
84
+ border-radius: 30px;
85
+ transition: 0.3s;
86
+ box-shadow: 0 4px 12px rgba(0, 188, 212, 0.4);
87
+ }
88
+
89
+ .cta-buttons a:hover {
90
+ background: #0097a7;
91
+ box-shadow: 0 6px 20px rgba(0, 188, 212, 0.6);
92
+ transform: translateY(-3px);
93
+ }
94
+
95
+ .about-section {
96
+ background-color: #ffffff;
97
+ color: #222;
98
+ border-radius: 30px;
99
+ padding: 60px 30px;
100
+ max-width: 1000px;
101
+ margin: 60px auto;
102
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
103
+ text-align: center;
104
+ }
105
+
106
+ .about-section h2 {
107
+ font-size: 2.5rem;
108
+ color: #0f1117;
109
+ margin-bottom: 20px;
110
+ font-weight: 800;
111
+ }
112
+
113
+ .about-section p {
114
+ font-size: 1.2rem;
115
+ color: #555;
116
+ margin: 0 auto 40px;
117
+ max-width: 700px;
118
+ }
119
+ </style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
120
  """, unsafe_allow_html=True)
121
 
122
 
123
 
124
+
125
+
126
  # ูˆุงุฌู‡ุฉ ุงู„ูˆูƒูŠู„ ุงู„ุตูˆุชูŠ
127
  st.markdown("""
128
+ <div class="full-screen">
129
+ <div class="logo-container">
130
+ <img src="https://cdn-icons-png.flaticon.com/512/4712/4712027.png" alt="ูˆูƒูŠู„ูƒ ุงู„ุฐูƒูŠ">
 
 
 
 
 
 
 
 
 
 
 
131
  </div>
132
+ <h1>ูˆูƒูŠู„ูƒ ุงู„ุตูˆุชูŠ ุงู„ุฐูƒูŠ</h1>
133
+ <p>ุชุญุฏุซุŒ ูˆุฏุน ูˆูƒูŠู„ูƒ ุงู„ุฐูƒูŠ ูŠุชูˆู„ู‰ ุงู„ู…ู‡ู…ุฉ<br>ุญุฌูˆุฒุงุชูƒุŒ ุทู„ุจุงุชูƒุŒ ูƒู„ู‡ุง ุชุชู… ุจุณู‡ูˆู„ุฉ ูˆุงุญุชุฑุงููŠุฉ</p>
134
+ <div class="cta-buttons">
135
+ <a href="#about">ู…ู† ู†ุญู†</a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
136
  </div>
137
+ </div>
138
+
139
+ <div class="about-section" id="about">
140
+ <h2>ู…ู† ู†ุญู†</h2>
141
+ <p>ู†ุญู† ูˆูƒูŠู„ูƒ ุงู„ุฐูƒูŠุŒ ู†ู‚ุฏู… ุญู„ูˆู„ุงู‹ ู…ุชุทูˆุฑุฉ ู„ุฎุฏู…ุฉ ุงู„ุนู…ู„ุงุก ุงู„ุตูˆุชูŠุฉ ุนุจุฑ ุงู„ุฐูƒุงุก ุงู„ุงุตุทู†ุงุนูŠุŒ ู„ุชุณุฑูŠุน ุชุฌุฑุจุฉ ุงู„ู…ุณุชุฎุฏู…ุŒ ูˆุชุญู‚ูŠู‚ ุชูˆุงุตู„ ุงุญุชุฑุงููŠุŒ ุนู„ู‰ ู…ุฏุงุฑ ุงู„ุณุงุนุฉ.</p>
142
+ </div>
143
+ """, unsafe_allow_html=True)