-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcontact-us.html
263 lines (254 loc) · 13.1 KB
/
contact-us.html
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
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8" />
<title>إتصل بنا</title>
<!--blog meta data -->
<meta expr:content="الباحث في الحديث" property="og:site_name" />
<meta content="website" property="og:type" />
<meta content="https://adelpro.github.io/check-hadith/images/256x256.webp" property="og:image" />
<meta content="256" property="og:image:width" />
<meta content="256" property="og:image:height" />
<meta content="100001161316746" property="fb:admins" />
<meta content="https://www.facebook.com/adel.benyahia" property="article:author" />
<meta content="ar_AR" property="og:locale" />
<meta content="DZ" name="geo.region/" />
<meta content="summary" name="twitter:card" />
<meta content="@adelpro" name="twitter:site" />
<meta content="@adelpro" name="twitter:creator" />
<meta content="الباحث في الحديث" name="twitter:title" />
<meta
content="
يمكنك الموقع من البحث عن الأحاديث النبوية والتحقق من صحتها إنطلاقا من كلمة أو جملة من الحديث حيث يستعين بقاعدة بيانات موقع درر "
name="description" />
<meta content="https://adelpro.github.io/check-hadithimages/256x256.webp" name="twitter:image:src" />
<meta content="Algeria" name="geo.placename" />
<meta content="BENYAHIA adel" name="Author" />
<meta content="الحديث النبوي الصحيح محمد رسول الله" name="keywords" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href=".\style-min.css" />
<!-- PWA metadata -->
<meta content="#000000" name="theme-color" />
<link href="./images/32x32.webp" rel="icon" type="image/x-icon" />
<link href="./images/192x192.webp" rel="icon" sizes="192x192" />
<link href="./images/32x32.webp" rel="icon" sizes="32x32" type="image/webp" />
<link href="./images/favicon.ico" rel="icon" sizes="16x16" type="image/ico" />
<link href="./images/32x32.webp" rel="shortcut icon" sizes="32x32" type="image/x-icon" />
<link href="./manifest.json" rel="manifest" />
<!-- Add to home screen for Safari on iOS-->
<link href="./images/192x192.webp" rel="apple-touch-icon" />
<link href="./images/512x512.webp" rel="apple-touch-icon" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black-translucent" name="apple-mobile-web-app-status-bar-style" />
<meta content="Check-hadith" name="apple-mobile-web-app-title" />
<!-- Add to home screen for Windows-->
<meta content="./images/512x512.webp" name="msapplication-TileImage" />
<meta content="#000000" name="msapplication-TileColor" />
<!--Preload google font-->
<!-- connect to domain of font files -->
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<!-- optionally increase loading priority -->
<link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Almarai:wght@700&display=swap" />
<!-- async CSS -->
<link rel="stylesheet" media="print" onload="this.onload=null;this.removeAttribute('media');"
href="https://fonts.googleapis.com/css2?family=Almarai:wght@700&display=swap" />
<!-- no-JS fallback -->
<noscript>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Almarai:wght@700&display=swap" />
</noscript>
<!--Preload google font-->
</head>
<body itemscope itemtype="http://schema.org/WebPage" style="position: relative">
<button href="#navigation" class="nav-trigger" aria-controls="navigation-menu" aria-expanded="false"
aria-haspopup="true" id="navigation-button">
Menu <span></span>
</button>
<nav class="nav-container" id="navigation" aria-labelledby="navigation-button" aria-label="Main navigation"
role="navigation">
<header></header>
<ul class="nav" id="navigation-menu" role="menubar" aria-label="Navigation Menu" itemscope
itemtype="http://www.schema.org/SiteNavigationElement">
<li itemprop="name" role="none">
<a itemprop="url" href=".\index.html" class="nav-link" role="menuitem" aria-label="home">الصفحة
الرئيسية</a>
</li>
<li itemprop="name" role="none">
<a itemprop="url" href=".\download.html" class="nav-link" aria-label="download" role="menuitem">تطبيق
الموقع</a>
</li>
<li itemprop="name" role="none">
<a itemprop="url" href=".\about-us.html" class="nav-link" aria-label="about us">حول الموقع</a>
</li>
<li itemprop="name" role="none" class="active-link">
<span></span>>
<a itemprop="url" href="#" class="nav-link" aria-label="contact us" role="menuitem" aria-current="page">إتصل
بنا</a>
</li>
<li itemprop="name" role="none">
<a itemprop="url" href=".\privacy.html" class="nav-link" aria-label="privacy" role="menuitem">سياسة
الخصوصية</a>
</li>
<li id="social">
<a class="smGlobalBtn" href="https://www.facebook.com/wathakker.wakf" target="_blanc" aria-label="Facebook"><em>
<svg aria-hidden="true" width="25" height="25" data-prefix="fab" data-icon="facebook-f" role="img"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"
class="svg-inline--fa fa-facebook-f fa-w-9 fa-7x">
<path fill="currentColor"
d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"
class=""></path>
</svg></em></a>
<a class="smGlobalBtn" href="https://twitter.com/adelpro" target="_blanc" aria-label="Twitter"><em><svg
aria-hidden="true" width="25" height="25" data-prefix="fab" data-icon="twitter" role="img"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="svg-inline--fa fa-twitter fa-w-16 fa-7x">
<path fill="currentColor"
d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"
class=""></path>
</svg></em></a>
<a class="smGlobalBtn" href="https://m.me/wathakker.wakf" target="_blanc" aria-label="Messenger">
<em><svg aria-hidden="true" width="25" height="25" data-prefix="fab" data-icon="facebook-messenger" role="img"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"
class="svg-inline--fa fa-facebook-messenger fa-w-14 fa-7x">
<path fill="currentColor"
d="M224 32C15.9 32-77.5 278 84.6 400.6V480l75.7-42c142.2 39.8 285.4-59.9 285.4-198.7C445.8 124.8 346.5 32 224 32zm23.4 278.1L190 250.5 79.6 311.6l121.1-128.5 57.4 59.6 110.4-61.1-121.1 128.5z"
class=""></path>
</svg></em></a>
<a class="smGlobalBtn" href="https://www.t.me/wathakkerwakf" target="_blanc" aria-label="Telegram"><em><svg
aria-hidden="true" width="25" height="25" data-prefix="fab" data-icon="telegram" role="img"
xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512" class="svg-inline--fa fa-telegram fa-w-16 fa-7x">
<path fill="currentColor"
d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm121.8 169.9l-40.7 191.8c-3 13.6-11.1 16.9-22.4 10.5l-62-45.7-29.9 28.8c-3.3 3.3-6.1 6.1-12.5 6.1l4.4-63.1 114.9-103.8c5-4.4-1.1-6.9-7.7-2.5l-142 89.4-61.2-19.1c-13.3-4.2-13.6-13.3 2.8-19.7l239.1-92.2c11.1-4 20.8 2.7 17.2 19.5z"
class=""></path>
</svg></em></a>
</lem>
</ul>
</nav>
<div class="overlay"></div>
<!-- improve main element 3d movement -->
<header class="center head" itemscope itemtype="http://schema.org/WPHeader" aria-label="Header">
<div style="height: 256px; width: 256px; padding: 0">
<img src="./images/256x256.webp" srcset="./images/256x256.webp 1x, ./images/512x512.webp 2x" width="256px"
height="256px" alt="check-hadith" itemprop="image" style="object-fit: fill" />
</div>
</header>
<main class="main center" aria-label="Main">
<h1>إتصل بنا</h1>
<section classe="center" style="width: 100%; max-width: 400; padding: 5px">
<form action="javascript:void(0);" method="post" id="form" class="center" style="
align-items: flex-start;
padding: 10px;
background-color: #ccc;
width: 100%;
border-radius: 5px;
">
<label for="email" class="horizontal-spacing">البريد الإلكتروني</label>
<input class="horizontal-spacing" type="text" id="email" placeholder="البريد الإلكتروني..." />
<select id="category" name="category" class="horizontal-spacing">
<option value=" إختيار الموضوع" disabled selected id="select">
إختيار الموضوع
</option>
<option value="error">إبلاغ عن خطأ</option>
<option value="amelioration">اقتراح تحسينات</option>
<option value="other">طلبات أخرى</option>
</select>
<label for="message" class="horizontal-spaccing">الموضوع</label>
<textarea class="horizontal-spacing" id="message" placeholder="كتابة الموضوع..." rows="5">
</textarea>
<div class="horizontal-spacing" style="
width: 100%;
display: flex;
justify-content: center;
padding: 10px;
">
<button type="submit" style="width: 200px">إرسال</button>
</div>
</form>
</section>
</main>
<footer class="footer center" aria-label="Footer" itemscope itemtype="http://schema.org/WPFooter">
<span itemprop="copyrightHolder" itemscope itemtype="http://schema.org/WebSite" class="footer">
<span itemprop="name" class="h-card"> الباحث في الحديث - الإصدار 2 - </span>
<span itemprop="copyrightYear">2021©</span>
</span>
</footer>
<script>
//form submission
const form = document.getElementById("form");
function submitForm(e) {
const email = document.getElementById("email");
const category = document.getElementById("category");
const message = document.getElementById("message");
const select = document.getElementById("select");
const projectID = "626f16dbf0485e0004efca50";
const uri = "https://feeder-node-1337.herokuapp.com/feedback/create";
const emailValidation =
/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/;
if (!emailValidation.test(email.value)) {
alert("Invalid email");
return;
}
if (message.value === "") {
alert("No message");
return;
}
if (category.value === "إختيار الموضوع") {
alert("No Category");
return;
}
const data = {
projectId: projectID,
feedbackMsg: message.value,
feedbackEmail: email.value,
feedbackType: select.value,
};
fetch(uri, {
method: "post",
body: JSON.stringify(data),
headers: {
"Content-Type": "application/json",
},
})
.then(() => alert("تم الإرسال بنجاح"))
.catch(() => alert("لم يتم الإرسال، يرجى إعادة المحاولة لاحقا"));
message.value = "";
email.value = "";
e.preventDefault();
}
form.addEventListener("submit", submitForm);
//form submission
</script>
<script>
//Menu
function toggleNavigation(event) {
event.preventDefault();
body.classList.toggle("nav-open");
}
let navTrigger = document.getElementsByClassName("nav-trigger")[0],
body = document.getElementsByTagName("body")[0];
navTrigger.addEventListener("click", toggleNavigation);
</script>
<script>
/*service worker registration with scope*/
function loadServiceWorker() {
if ("serviceWorker" in navigator) {
window.addEventListener("load", function () {
navigator.serviceWorker.register("./serviceWorker-min.js", {
scope: "./",
});
});
}
}
loadServiceWorker();
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-8RSXLH4V7G"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "G-8RSXLH4V7G");
</script>
</body>
</html>