Rayan545454 commited on
Commit
6c9efad
·
verified ·
1 Parent(s): 502928b

إلغاء عيد الوطني أضف اليوم الوطني فقط - Initial Deployment

Browse files
Files changed (3) hide show
  1. README.md +6 -4
  2. index.html +271 -18
  3. prompts.txt +15 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Rr444
3
- emoji: 📉
4
- colorFrom: pink
5
  colorTo: pink
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: rr444
3
+ emoji: 🐳
4
+ colorFrom: green
5
  colorTo: pink
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,272 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="ar" dir="rtl">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>اليوم الوطني السعودي 94 - أسئلة وأجوبة</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
10
+ <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
12
+ <script src="https://cdn.jsdelivr.net/npm/three@0.155.0/build/three.min.js"></script>
13
+ <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
14
+ <style>
15
+ @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@300;400;500;600;700;800&display=swap');
16
+
17
+ body {
18
+ font-family: 'Noto Sans Arabic', sans-serif;
19
+ background: linear-gradient(135deg, #004c3c 0%, #006a4e 50%, #00875a 100%);
20
+ }
21
+
22
+ .question-card {
23
+ background: rgba(255, 255, 255, 0.1);
24
+ backdrop-filter: blur(10px);
25
+ border: 1px solid rgba(255, 255, 255, 0.2);
26
+ transition: all 0.3s ease;
27
+ }
28
+
29
+ .question-card:hover {
30
+ background: rgba(255, 255, 255, 0.15);
31
+ transform: translateY(-5px);
32
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
33
+ }
34
+
35
+ .answer-reveal {
36
+ max-height: 0;
37
+ overflow: hidden;
38
+ transition: max-height 0.5s ease;
39
+ }
40
+
41
+ .answer-reveal.active {
42
+ max-height: 200px;
43
+ }
44
+
45
+ .flag-animation {
46
+ animation: wave 3s ease-in-out infinite;
47
+ }
48
+
49
+ @keyframes wave {
50
+ 0%, 100% { transform: rotate(0deg); }
51
+ 50% { transform: rotate(5deg); }
52
+ }
53
+
54
+ .firework {
55
+ position: absolute;
56
+ width: 4px;
57
+ height: 4px;
58
+ border-radius: 50%;
59
+ animation: explode 1s ease-out forwards;
60
+ }
61
+
62
+ @keyframes explode {
63
+ 0% {
64
+ transform: scale(0);
65
+ opacity: 1;
66
+ }
67
+ 100% {
68
+ transform: scale(20);
69
+ opacity: 0;
70
+ }
71
+ }
72
+
73
+ .gradient-text {
74
+ background: linear-gradient(45deg, #ffd700, #ffed4e);
75
+ -webkit-background-clip: text;
76
+ -webkit-text-fill-color: transparent;
77
+ background-clip: text;
78
+ }
79
+
80
+ .pulse-border {
81
+ animation: pulse-border 2s infinite;
82
+ }
83
+
84
+ @keyframes pulse-border {
85
+ 0% {
86
+ box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
87
+ }
88
+ 70% {
89
+ box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
90
+ }
91
+ 100% {
92
+ box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
93
+ }
94
+ }
95
+ </style>
96
+ </head>
97
+ <body class="min-h-screen">
98
+ <!-- Vanta Background -->
99
+ <div id="vanta-bg" class="fixed inset-0 z-0"></div>
100
+
101
+ <!-- Content -->
102
+ <div class="relative z-10">
103
+ <!-- Header -->
104
+ <header class="text-center py-16 px-4">
105
+ <div data-aos="fade-down" class="mb-8">
106
+ <h1 class="text-5xl md:text-7xl font-bold gradient-text mb-4">اليوم الوطني السعودي</h1>
107
+ <p class="text-2xl text-white/90 font-medium">أسئلة وإجابات حول تاريخ المملكة</p>
108
+ </div>
109
+
110
+ <!-- Flag with Saudi Flag Emoji -->
111
+ <div data-aos="zoom-in" class="inline-block">
112
+ <div class="w-40 h-24 bg-gradient-to-b from-[#006c35] via-white to-[#c60c30] relative flag-animation rounded-md shadow-2xl">
113
+ <div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center">
114
+ <span class="text-6xl">🇸🇦</span>
115
+ <div class="absolute -bottom-8 left-1/2 transform -translate-x-1/2 text-2xl font-bold text-white">اليوم الوطني</div>
116
+ </div>
117
+ </div>
118
+ </div>
119
+ </header>
120
+
121
+ <!-- Questions Section -->
122
+ <section class="max-w-4xl mx-auto px-4 pb-16">
123
+ <div class="grid gap-6">
124
+ <!-- Question 1 -->
125
+ <div data-aos="fade-up" data-aos-delay="100" class="question-card rounded-2xl p-6">
126
+ <div class="flex items-start justify-between cursor-pointer" onclick="toggleAnswer(1)">
127
+ <div>
128
+ <h3 class="text-xl font-bold text-white mb-2">السؤال الأول</h3>
129
+ <p class="text-white/80 text-lg">ما اسم الملك الأول؟</p>
130
+ </div>
131
+ <i data-feather="chevron-down" id="icon-1" class="text-white transition-transform duration-300"></i>
132
+ </div>
133
+ <div id="answer-1" class="answer-reveal mt-4">
134
+ <div class="bg-white/10 rounded-lg p-4 border-l-4 border-yellow-400">
135
+ <p class="text-white text-lg font-semibold">الجواب: الملك عبدالعزيز آل سعود.</p>
136
+ </div>
137
+ </div>
138
+ </div>
139
+
140
+ <!-- Question 2 -->
141
+ <div data-aos="fade-up" data-aos-delay="200" class="question-card rounded-2xl p-6">
142
+ <div class="flex items-start justify-between cursor-pointer" onclick="toggleAnswer(2)">
143
+ <div>
144
+ <h3 class="text-xl font-bold text-white mb-2">السؤال الثاني</h3>
145
+ <p class="text-white/80 text-lg">كم عمر المملكة العربية السعودية؟</p>
146
+ </div>
147
+ <i data-feather="chevron-down" id="icon-2" class="text-white transition-transform duration-300"></i>
148
+ </div>
149
+ <div id="answer-2" class="answer-reveal mt-4">
150
+ <div class="bg-white/10 rounded-lg p-4 border-l-4 border-yellow-400">
151
+ <p class="text-white text-lg font-semibold">الجواب: المملكة العربية السعودية مرت بأربعة فصول من التطور والتقدم منذ تأسيسها.</p>
152
+ </div>
153
+ </div>
154
+ </div>
155
+
156
+ <!-- Question 3 -->
157
+ <div data-aos="fade-up" data-aos-delay="300" class="question-card rounded-2xl p-6">
158
+ <div class="flex items-start justify-between cursor-pointer" onclick="toggleAnswer(3)">
159
+ <div>
160
+ <h3 class="text-xl font-bold text-white mb-2">السؤال الثالث</h3>
161
+ <p class="text-white/80 text-lg">متى تم توحيد المملكة العربية السعودية؟</p>
162
+ </div>
163
+ <i data-feather="chevron-down" id="icon-3" class="text-white transition-transform duration-300"></i>
164
+ </div>
165
+ <div id="answer-3" class="answer-reveal mt-4">
166
+ <div class="bg-white/10 rounded-lg p-4 border-l-4 border-yellow-400">
167
+ <p class="text-white text-lg font-semibold">الجواب: تم توحيد المملكة العربية السعودية في عام 1932م.</p>
168
+ </div>
169
+ </div>
170
+ </div>
171
+
172
+ <!-- Question 4 -->
173
+ <div data-aos="fade-up" data-aos-delay="400" class="question-card rounded-2xl p-6">
174
+ <div class="flex items-start justify-between cursor-pointer" onclick="toggleAnswer(4)">
175
+ <div>
176
+ <h3 class="text-xl font-bold text-white mb-2">السؤال الرابع</h3>
177
+ <p class="text-white/80 text-lg">متى اليوم الوطني السعودي؟</p>
178
+ </div>
179
+ <i data-feather="chevron-down" id="icon-4" class="text-white transition-transform duration-300"></i>
180
+ </div>
181
+ <div id="answer-4" class="answer-reveal mt-4">
182
+ <div class="bg-white/10 rounded-lg p-4 border-l-4 border-yellow-400">
183
+ <p class="text-white text-lg font-semibold">الجواب: اليوم الوطني السعودي في 23 سبتمبر من كل عام</p>
184
+ </div>
185
+ </div>
186
+ </div>
187
+ </div>
188
+
189
+ <!-- Celebration Button -->
190
+ <div data-aos="zoom-in" data-aos-delay="500" class="text-center mt-12">
191
+ <button onclick="createFireworks()" class="bg-gradient-to-r from-yellow-400 to-yellow-600 text-green-800 font-bold py-4 px-8 rounded-full text-xl hover:scale-105 transition-transform pulse-border">
192
+ <i data-feather="star" class="inline w-6 h-6 ml-2"></i>
193
+ اليوم الوطني السعودي
194
+ </button>
195
+ </div>
196
+ </section>
197
+ </div>
198
+
199
+ <!-- Scripts -->
200
+ <script>
201
+ // Initialize AOS
202
+ AOS.init({
203
+ duration: 800,
204
+ once: true
205
+ });
206
+
207
+ // Initialize Feather Icons
208
+ feather.replace();
209
+
210
+ // Initialize Vanta
211
+ VANTA.GLOBE({
212
+ el: "#vanta-bg",
213
+ mouseControls: true,
214
+ touchControls: true,
215
+ gyroControls: false,
216
+ minHeight: 200.00,
217
+ minWidth: 200.00,
218
+ scale: 1.00,
219
+ scaleMobile: 1.00,
220
+ color: 0x006c35,
221
+ color2: 0x4a90e2,
222
+ size: 1.00,
223
+ backgroundColor: 0x004c3c
224
+ });
225
+
226
+ // Toggle answer function
227
+ function toggleAnswer(questionNumber) {
228
+ const answer = document.getElementById(`answer-${questionNumber}`);
229
+ const icon = document.getElementById(`icon-${questionNumber}`);
230
+
231
+ if (answer.classList.contains('active')) {
232
+ answer.classList.remove('active');
233
+ icon.style.transform = 'rotate(0deg)';
234
+ } else {
235
+ // Close all other answers
236
+ for (let i = 1; i <= 4; i++) {
237
+ document.getElementById(`answer-${i}`).classList.remove('active');
238
+ document.getElementById(`icon-${i}`).style.transform = 'rotate(0deg)';
239
+ }
240
+
241
+ // Open clicked answer
242
+ answer.classList.add('active');
243
+ icon.style.transform = 'rotate(180deg)';
244
+ }
245
+ }
246
+
247
+ // Create fireworks
248
+ function createFireworks() {
249
+ const colors = ['#ffd700', '#ffffff', '#006c35'];
250
+ const container = document.body;
251
+
252
+ for (let i = 0; i < 15; i++) {
253
+ setTimeout(() => {
254
+ const firework = document.createElement('div');
255
+ firework.className = 'firework';
256
+ firework.style.left = Math.random() * 100 + '%';
257
+ firework.style.top = Math.random() * 100 + '%';
258
+ firework.style.backgroundColor = colors[Math.floor(Math.random() * colors.length)];
259
+ container.appendChild(firework);
260
+
261
+ setTimeout(() => firework.remove(), 1000);
262
+ }, i * 100);
263
+ }
264
+ }
265
+
266
+ // Auto-reveal first answer after 2 seconds
267
+ setTimeout(() => {
268
+ toggleAnswer(1);
269
+ }, 2000);
270
+ </script>
271
+ </body>
272
  </html>
prompts.txt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ سوال و وجاوب ريبورت عن اليوم الوطني السعودي
2
+
3
+ السؤال الأول: ما اسم الملك الأول؟
4
+ الجواب: الملك عبدالعزيز آل سعود.
5
+
6
+ السؤال الثاني: كم عمر المملكة العربية السعودية؟
7
+ الجواب: المملكة العربية السعودية مرت بأربعة فصول من التطور والتقدم منذ تأسيسها.
8
+
9
+ السؤال الثالث: متى تم توحيد المملكة العربية السعودية؟
10
+ الجواب: تم توحيد المملكة العربية السعودية في عام 1932م.
11
+
12
+ السؤال الرابع: متى اليوم الوطني السعودي؟
13
+ الجواب: اليوم الوطني السعودي في 23 سبتمبر من كل عام، ويحتفل هذا العام بالذكرى الـ94
14
+ العلم السعودي 🇸🇦
15
+ إلغاء عيد الوطني أضف اليوم الوطني فقط