Spaces:
Sleeping
Sleeping
File size: 7,207 Bytes
11c0b84 1de7f8f 9b995e3 1de7f8f 3b8db30 8bead95 4e20d0c cfcab4a 9b995e3 cfcab4a 4e20d0c 9b995e3 |
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 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 |
import streamlit as st
# إعداد الصفحة
st.set_page_config(
page_title="الوكيل الصوتي الذكي",
layout="wide",
initial_sidebar_state="collapsed"
)
# CSS مخصص
st.markdown("""
<style>
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
html, body, [class*="css"] {
font-family: 'Cairo', sans-serif;
background-color: #0f1117;
margin: 0;
padding: 0;
height: 100%;
overflow: hidden !important;
}
section.main {
height: 100vh;
overflow: hidden;
padding: 0 !important;
}
.block-container {
padding: 0 !important;
margin: 0 !important;
overflow: hidden !important;
}
[data-testid="stVerticalBlock"] {
overflow: hidden !important;
max-height: 100vh;
}
header, footer, .viewerBadge_container__1QSob {
display: none !important;
}
.full-screen {
height: 100vh;
width: 100%;
background: linear-gradient(-45deg, #2193b0, #6dd5ed, #1e3c72, #2a5298);
background-size: 400% 400%;
animation: gradientBG 10s ease infinite;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
text-align: center;
padding: 30px 15px;
border-radius: 0 0 40px 40px;
}
@keyframes gradientBG {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.logo-container img {
width: 120px;
height: 120px;
border-radius: 50%;
border: 5px solid white;
box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
animation: glow 3s infinite alternate;
}
@keyframes glow {
0% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.6); }
100% { box-shadow: 0 0 40px rgba(255, 255, 255, 0.9); }
}
h1 {
font-size: 2.8rem;
font-weight: 700;
margin: 20px 0;
color: #ffffff;
}
p {
font-size: 1.1rem;
max-width: 600px;
margin: 15px auto;
opacity: 0.9;
color: rgba(255, 255, 255, 0.95);
}
.cta-buttons {
margin-top: 25px;
}
.cta-buttons a {
background: #00bcd4;
color: white;
font-size: 1.05rem;
font-weight: bold;
text-decoration: none;
padding: 10px 25px;
border-radius: 30px;
transition: 0.3s;
box-shadow: 0 4px 12px rgba(0, 188, 212, 0.4);
}
.cta-buttons a:hover {
background: #0097a7;
box-shadow: 0 6px 20px rgba(0, 188, 212, 0.6);
transform: translateY(-3px);
}
.about-section {
background-color: #ffffff;
color: #222;
border-radius: 30px;
padding: 60px 30px;
max-width: 1000px;
margin: 60px auto;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
text-align: center;
}
.about-section h2 {
font-size: 2.5rem;
color: #0f1117;
margin-bottom: 20px;
font-weight: 800;
}
.about-section p {
font-size: 1.2rem;
color: #555;
margin: 0 auto 40px;
max-width: 700px;
}
.features {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
}
.feature {
background: linear-gradient(135deg, #ffffff, #f7f7f7);
border-radius: 25px;
padding: 30px 20px;
width: 260px;
text-align: center;
box-shadow: 0 6px 18px rgba(0,0,0,0.1);
transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.feature:hover {
transform: scale(1.05);
box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}
.feature img {
width: 60px;
height: 60px;
margin-bottom: 15px;
transition: transform 0.3s ease;
}
.feature:hover img {
transform: rotate(6deg) scale(1.1);
}
.feature h4 {
font-size: 1.3rem;
color: #0077b6;
margin-bottom: 10px;
font-weight: 700;
}
.feature p {
font-size: 1rem;
color: #444;
}
.feature:nth-child(1) { background: #fef6f0; }
.feature:nth-child(2) { background: #f0f8ff; }
.feature:nth-child(3) { background: #f4f4fe; }
</style>
""", unsafe_allow_html=True)
# واجهة الوكيل الصوتي
st.markdown("""
<div class="full-screen">
<div class="logo-container">
<img src="https://cdn-icons-png.flaticon.com/512/4712/4712109.png" alt="Voice Assistant">
</div>
<h1>وكيلك الصوتي الذكي</h1>
<p>
تحدث، ودع وكيلنا الذكي يتولى المهمة!<br>
حجوزاتك وطلباتك تُنجز بسهولة واحترافية.
</p>
<div class="cta-buttons">
<a href="https://vapi.ai?demo=true&shareKey=f612978f-043a-48ad-8133-d5902b2aba32&assistantId=acdaf234-999f-4fc9-b229-d51e1d9fd10d" target="_blank">
تواصل مع وكيلك الآن
</a>
</div>
</div>
<div class="about-section">
<h2>من نحن</h2>
<p>نحن فريق تقني نؤمن بقوة الذكاء الاصطناعي في تسهيل حياتك اليومية، من خلال مساعد ذكي صوتي يفهمك ويتفاعل معك.</p>
<div class="features">
<div class="feature">
<img src="https://cdn-icons-png.flaticon.com/512/3595/3595455.png" alt="Booking">
<h4>سهولة الحجز</h4>
<p>إجراء الحجوزات في العيادات والمطاعم بكل سهولة ويسر.</p>
</div>
<div class="feature">
<img src="https://cdn-icons-png.flaticon.com/512/2099/2099058.png" alt="Recording">
<h4>تسجيل دقيق</h4>
<p>تسجيل الأوامر والطلبات الصوتية بدقة واحترافية عالية.</p>
</div>
<div class="feature">
<img src="https://cdn-icons-png.flaticon.com/512/4712/4712006.png" alt="Interaction">
<h4>تفاعل ذكي</h4>
<p>الرد الفوري والتفاعل الطبيعي مع محادثاتك وكأنك تتحدث مع إنسان.</p>
</div>
</div>
</div>
""", unsafe_allow_html=True) |