Repository navigation
Expand file tree
/
Copy pathsalah_page.html
More file actions
220 lines (208 loc) · 13.1 KB
/
Copy pathsalah_page.html
File metadata and controls
220 lines (208 loc) · 13.1 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
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="مواقيت الصلاة - تطبيق توبة">
<meta name="theme-color" content="#2e7d32">
<title>مواقيت الصلاة - توبتي</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<script src="https://cdn.jsdelivr.net/npm/compasshijri@1.0.3/dist/compass.min.js"></script>
<link rel="stylesheet" href="Style/salah.css">
<script defer src="Script/salah.js"></script>
</head>
<body>
<nav class="NavBar">
<div class="nav-container">
<div class="logo">
<span>توبــــة</span>
</div>
<div class="nav-links" id="navLinks">
<a class="menu__link" href="index.html"><i class="fas fa-home" aria-hidden="true"></i> <span>الرئيسية</span></a>
<a class="menu__link" href="salah_page.html"><i class="fas fa-clock" aria-hidden="true"></i> <span>مواقيت الصلاة</span></a>
<a class="menu__link" href="adhkar_page.html"><i class="fas fa-dharmachakra" aria-hidden="true"></i> <span>أذكار</span></a>
<a class="menu__link" href="quran_page.html"><i class="fas fa-quran" aria-hidden="true"></i> <span>القرآن الكريم</span></a>
<a class="menu__link" href="hadith_page.html"><i class="fas fa-book-open" aria-hidden="true"></i> <span>الحديث الشريف</span></a>
<a class="menu__link" href="tawbah_page.html"><i class="fas fa-hands-praying"></i> توبتي</a>
<div class="dropdown">
<a class="menu__link dropdown-btn active" href="#">
<i class="fas fa-ellipsis-h" aria-hidden="true"></i> <span>المزيد</span>
<i class="fas fa-chevron-down dropdown-icon"></i>
</a>
<div class="dropdown-content">
<a class="menu__link" href="asma_allah.html"><i class="fas fa-book-open"></i> أسماء الله الحسنى</a>
<a class="menu__link" href="stories_page.html"><i class="fas fa-book"></i> قصص إسلامية</a>
<a class="menu__link" href="islamic_figures.html"><i class="fas fa-users"></i> شخصيات إسلامية</a>
<a class="menu__link" href="tasbih.html"><i class="fas fa-praying-hands"></i> مسبحة إلكترونية</a>
</div>
</div>
</div>
<button class="hamburger" id="hamburger" aria-label="قائمة" aria-expanded="false">
<i class="fas fa-bars"></i>
</button>
</div>
</nav>
<div id="prayerAlert" class="prayer-alert">
<div class="alert-content">
<h2 id="alertPrayerName">حان وقت صلاة الفجر</h2>
<p>الله أكبر، الله أكبر، الله أكبر</p>
<audio id="athanAudio" controls loop>
<source src="https://www.islamcan.com/athan/azan1.mp3" type="audio/mpeg">
متصفحك لا يدعم تشغيل الصوت.
</audio>
<div class="alert-buttons">
<button id="stopAthan" class="alert-btn stop-btn">إيقاف الأذان</button>
<button id="closeAlert" class="alert-btn close-btn">إغلاق</button>
</div>
</div>
</div>
<div class="main-content">
<div class="header">
<div class="header-content">
<h1><i class="fas fa-clock" aria-hidden="true"></i> مواقيت الصلاة</h1>
<p class="subtitle">مواقيت الصلاة الدقيقة حسب موقعك الحالي</p>
<div class="verse">
<p><i class="fas fa-quote-right" aria-hidden="true"></i> {إِنَّ الصَّلَاةَ كَانَتْ عَلَى الْمُؤْمِنِينَ كِتَابًا مَّوْقُوتًا}</p>
<p class="ref">[النساء:103]</p>
</div>
</div>
</div>
<div class="sections-container">
<!-- رسالة الخطأ -->
<div id="errorMessage" class="error-message hidden">
<i class="fas fa-exclamation-triangle"></i>
<h3>تعذر تحميل مواقيت الصلاة</h3>
<p>حدث خطأ أثناء جلب بيانات مواقيت الصلاة. يرجى التحقق من اتصال الإنترنت والمحاولة مرة أخرى.</p>
<button id="retryErrorButton" class="retry-btn">
<i class="fas fa-sync-alt"></i> إعادة المحاولة
</button>
</div>
<div class="section" id="prayer-times-section">
<div class="section-header">
<h2 class="section-title"><i class="fas fa-calendar-alt" aria-hidden="true"></i> مواقيت اليوم</h2>
<p class="section-subtitle">مواقيت الصلاة مع فضائل كل صلاة</p>
</div>
<div class="time-remaining">
<p id="nextPrayerInfo">جاري تحديد موعد الصلاة القادمة...</p>
<div id="remainingTime">--:--:--</div>
</div>
<div class="prayer-times" id="prayerTimes">
<div class="prayer">
<div class="prayer-info">
<span class="prayer-name"><i class="fas fa-sun"></i> الفجر</span>
<span class="prayer-time" id="fajrTime">جاري التحميل...</span>
<button class="athan-btn" data-prayer="fajr"><i class="fas fa-bell"></i> تنبيه</button>
</div>
<div class="prayer-benefit">
<p>فضل صلاة الفجر: شهادة من الملائكة، حماية الله، نور يوم القيامة، براءة من النفاق، دخول الجنة، بركة في الرزق والعمل.</p>
</div>
</div>
<div class="prayer">
<div class="prayer-info">
<span class="prayer-name"><i class="fas fa-sun"></i> الشروق</span>
<span class="prayer-time" id="sunriseTime">جاري التحميل...</span>
</div>
</div>
<div class="prayer">
<div class="prayer-info">
<span class="prayer-name"><i class="fas fa-sun"></i> الظهر</span>
<span class="prayer-time" id="dhuhrTime">جاري التحميل...</span>
<button class="athan-btn" data-prayer="dhuhr"><i class="fas fa-bell"></i> تنبيه</button>
</div>
<div class="prayer-benefit">
<p>فضل صلاة الظهر: الالتزام بأمر الله، تكفير الذنوب، الاستراحة الروحية، البركة في الوقت.</p>
</div>
</div>
<div class="prayer">
<div class="prayer-info">
<span class="prayer-name"><i class="fas fa-sun"></i> العصر</span>
<span class="prayer-time" id="asrTime">جاري التحميل...</span>
<button class="athan-btn" data-prayer="asr"><i class="fas fa-bell"></i> تنبيه</button>
</div>
<div class="prayer-benefit">
<p>فضل صلاة العصر: الصلاة الوسطى، سبب لدخول الجنة، تكفير الذنوب، الاستراحة الروحية.</p>
</div>
</div>
<div class="prayer">
<div class="prayer-info">
<span class="prayer-name"><i class="fas fa-moon"></i> المغرب</span>
<span class="prayer-time" id="maghribTime">جاري التحميل...</span>
<button class="athan-btn" data-prayer="maghrib"><i class="fas fa-bell"></i> تنبيه</button>
</div>
<div class="prayer-benefit">
<p>فضل صلاة المغرب: الالتزام بأمر الله، سبب لدخول الجنة، تكفير الذنوب، الاستراحة الروحية.</p>
</div>
</div>
<div class="prayer">
<div class="prayer-info">
<span class="prayer-name"><i class="fas fa-moon"></i> العشاء</span>
<span class="prayer-time" id="ishaTime">جاري التحميل...</span>
<button class="athan-btn" data-prayer="isha"><i class="fas fa-bell"></i> تنبيه</button>
</div>
<div class="prayer-benefit">
<p>فضل صلاة العشاء: تعدل قيام نصف الليل، دليل على قوة الإيمان، سبب للنجاة من النار، تمنح الطمأنينة.</p>
</div>
</div>
</div>
</div>
<div class="section" id="compass-section">
<div class="section-header">
<h2 class="section-title"><i class="fas fa-compass" aria-hidden="true"></i> اتجاه القبلة</h2>
<p class="section-subtitle">حدد اتجاه القبلة باستخدام البوصلة</p>
</div>
<div class="compass-container">
<div class="compass">
<div class="compass-arrow"></div>
<div class="compass-circle"></div>
<div class="compass-markers" id="compassMarkers"></div>
<div class="compass-direction">القبلة</div>
</div>
<div class="compass-info">
<p id="compassStatus">جاري تحديد الاتجاه...</p>
<p id="qiblaDegree">الزاوية: --°</p>
<p id="compassAccuracy">الدقة: --</p>
</div>
<button id="startCompass" class="btn compass-btn">تشغيل البوصلة</button>
<button id="stopCompass" class="btn compass-btn" disabled>إيقاف البوصلة</button>
<div class="desktop-alert">
<i class="fas fa-info-circle"></i>
<p>ميزة اتجاه القبلة تعمل فقط على الأجهزة المحمولة التي تحتوي على حساس للبوصلة.</p>
</div>
</div>
</div>
</div>
</div>
<div id="notification" class="notification"></div>
<footer class="footer">
<div class="footer-content">
<div class="footer-section">
<h3><i class="fas fa-info-circle" aria-hidden="true"></i> عن التطبيق</h3>
<p>تطبيق توبة يهدف إلى مساعدة المسلمين في المحافظة على الصلوات في أوقاتها</p>
</div>
<div class="footer-section">
<h3><i class="fas fa-link" aria-hidden="true"></i> روابط سريعة</h3>
<ul>
<li><a href="index.html">الصفحة الرئيسية</a></li>
<li><a href="salah_page.html">مواقيت الصلاة</a></li>
<li><a href="adhkar_page.html">الأذكار اليومية</a></li>
<li><a href="quran_page.html">القرآن الكريم</a></li>
</ul>
</div>
<div class="footer-section">
<h3><i class="fas fa-envelope" aria-hidden="true"></i> تواصل معنا</h3>
<p>للاستفسارات أو المقترحات، يرجى التواصل عبر البريد الإلكتروني:</p>
<p>info@tawbaty.com</p>
</div>
</div>
<div class="footer-bottom">
<p>© <span id="current-year">2025</span> توبتي - جميع الحقوق محفوظة</p>
</div>
</footer>
<button class="scroll-top" id="scrollTop" aria-label="العودة إلى الأعلى">
<i class="fas fa-arrow-up"></i>
</button>
</body>
</html>