-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
292 lines (253 loc) · 7.02 KB
/
index.html
File metadata and controls
292 lines (253 loc) · 7.02 KB
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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
<!DOCTYPE html>
<html lang="ar">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>صفحة ترحيبية مميزة</title>
<style>
/* تعيين الخلفية والألوان الأساسية */
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(to right, #ff7e5f, #feb47b);
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
text-align: center;
color: white;
min-height: 100vh;
overflow-x: hidden;
}
/* إعداد الحاوية الرئيسية */
.welcome-container {
background: rgba(0, 0, 0, 0.6);
padding: 60px;
border-radius: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
animation: fadeIn 2s ease-in-out;
max-width: 800px;
width: 90%;
margin-top: 20px;
}
/* النص الرئيسي */
.welcome-message h1 {
font-size: 3rem;
margin-bottom: 20px;
animation: slideIn 1s ease-in-out;
}
/* الفقرة */
.welcome-message p {
font-size: 1.4rem;
margin-bottom: 30px;
animation: fadeInUp 2s ease-in-out;
}
/* زر الاستكشاف */
.explore-btn {
background-color: #ff7e5f;
padding: 15px 35px;
font-size: 1.4rem;
color: white;
text-decoration: none;
border-radius: 30px;
transition: all 0.3s ease;
border: 2px solid #feb47b;
}
.explore-btn:hover {
background-color: #feb47b;
transform: translateY(-5px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
/* تأثيرات الحركة */
@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}
@keyframes slideIn {
0% { transform: translateY(-50px); opacity: 0; }
100% { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInUp {
0% { opacity: 0; transform: translateY(20px); }
100% { opacity: 1; transform: translateY(0); }
}
/* إضافة تأثير للمحتوى عند التمرير */
.content {
margin-top: 40px;
text-align: center;
animation: fadeInUp 2s ease-in-out;
}
.content img {
width: 100%;
max-width: 600px;
border-radius: 10px;
margin: 20px 0;
transition: transform 0.3s ease;
}
.content img:hover {
transform: scale(1.05);
}
/* نموذج الاشتراك */
.subscribe-form {
margin-top: 30px;
background: rgba(0, 0, 0, 0.6);
padding: 20px;
border-radius: 10px;
}
.subscribe-form input[type="email"] {
padding: 10px;
font-size: 1.2rem;
border-radius: 5px;
margin-right: 10px;
width: 250px;
border: none;
}
.subscribe-form button {
padding: 10px 20px;
font-size: 1.2rem;
background-color: #ff7e5f;
border: none;
color: white;
border-radius: 5px;
cursor: pointer;
}
.subscribe-form button:hover {
background-color: #feb47b;
}
/* قسم الأسئلة الشائعة */
.faq-section {
background-color: rgba(0, 0, 0, 0.7);
padding: 40px;
border-radius: 10px;
margin-top: 40px;
width: 90%;
max-width: 1000px;
box-sizing: border-box;
}
.faq-section h2 {
font-size: 2rem;
margin-bottom: 20px;
}
.faq-item {
margin-bottom: 15px;
text-align: right;
}
.faq-item h3 {
font-size: 1.5rem;
cursor: pointer;
color: #feb47b;
}
.faq-item p {
font-size: 1.2rem;
color: #ffffff;
display: none;
padding-top: 5px;
}
.faq-item.active p {
display: block;
}
/* قسم "عن الموقع" */
.about-section {
margin-top: 60px;
padding: 40px;
background-color: rgba(0, 0, 0, 0.7);
width: 90%;
max-width: 1000px;
border-radius: 10px;
text-align: center;
}
.about-section h2 {
font-size: 2rem;
margin-bottom: 20px;
}
/* الفوتر */
.footer {
position: relative;
bottom: 20px;
width: 100%;
text-align: center;
font-size: 1rem;
color: white;
opacity: 0.8;
background-color: rgba(0, 0, 0, 0.6);
padding: 10px;
border-radius: 10px;
}
/* استجابة للمحتوى */
@media (max-width: 768px) {
body {
padding: 20px;
justify-content: flex-start;
}
.content img {
width: 100%;
max-width: 90%;
}
.subscribe-form input[type="email"] {
width: 70%;
}
.subscribe-form button {
font-size: 1.1rem;
padding: 8px 18px;
}
.faq-section {
padding: 30px;
}
.faq-item h3 {
font-size: 1.3rem;
}
}
</style>
</head>
<body>
<div class="welcome-container">
<div class="welcome-message">
<h1>مرحبًا بك في موقعنا!</h1>
<p>نحن سعيدون بزيارتك. استمتع بتصفح الموقع.</p>
<a href="#explore" class="explore-btn">استكشاف المزيد</a>
</div>
</div>
<div class="content" id="explore">
<h2>اكتشف المزيد</h2>
<p>نحن نقدم لك تجربة رائعة وممتعة في هذا الموقع.</p>
<img src="https://via.placeholder.com/600x300" alt="صورة ترحيب" />
</div>
<div class="subscribe-form">
<h3>اشترك في نشرتنا الإخبارية</h3>
<form action="#">
<input type="email" placeholder="أدخل بريدك الإلكتروني" required />
<button type="submit">اشترك</button>
</form>
</div>
<!-- قسم الأسئلة الشائعة -->
<div class="faq-section">
<h2>الأسئلة الشائعة</h2>
<div class="faq-item">
<h3>ما هي خدمات الموقع؟</h3>
<p>نحن نقدم خدمات متنوعة تتعلق بالتصفح والمحتوى التفاعلي الممتع.</p>
</div>
<div class="faq-item">
<h3>هل يمكنني التسجيل في الموقع؟</h3>
<p>نعم، يمكنك التسجيل في الموقع للوصول إلى الميزات الخاصة.</p>
</div>
</div>
<!-- قسم "عن الموقع" -->
<div class="about-section">
<h2>عن الموقع</h2>
<p>هذا الموقع تم تصميمه ليقدم لك تجربة فريدة من نوعها في عالم الإنترنت. هدفنا هو توفير محتوى تفاعلي وسهل الاستخدام.</p>
</div>
<div class="footer">
<p>© 2025 موقعنا - جميع الحقوق محفوظة</p>
</div>
<script>
// وظيفة لفتح وإغلاق محتويات الأسئلة الشائعة
document.querySelectorAll('.faq-item h3').forEach(item => {
item.addEventListener('click', () => {
item.parentElement.classList.toggle('active');
});
});
</script>
</body>
</html>