qumra-engine 2.0.165 → 2.0.167

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- export declare const notFoundPage = "\n<!DOCTYPE html>\n<html lang=\"ar\" dir=\"rtl\">\n<head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <title>\u0627\u0644\u0635\u0641\u062D\u0629 \u063A\u064A\u0631 \u0645\u0648\u062C\u0648\u062F\u0629</title>\n <style>\n body {\n margin: 0;\n padding: 0;\n font-family: system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto;\n background: #f9fafb;\n color: #111827;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100vh;\n text-align: center;\n }\n\n .container {\n max-width: 420px;\n padding: 20px;\n }\n\n h1 {\n font-size: 82px;\n margin-bottom: 0;\n color: #ef4444;\n font-weight: 800;\n }\n\n .subtitle {\n font-size: 22px;\n margin-bottom: 15px;\n }\n\n p {\n font-size: 16px;\n color: #6b7280;\n margin-bottom: 30px;\n }\n\n a {\n display: inline-block;\n padding: 12px 26px;\n background: #111827;\n color: #fff;\n border-radius: 10px;\n text-decoration: none;\n font-size: 16px;\n transition: 0.2s;\n }\n\n a:hover {\n background: #000;\n transform: translateY(-2px);\n }\n </style>\n</head>\n\n<body>\n <div class=\"container\">\n <h1>404</h1>\n <div class=\"subtitle\">\u0627\u0644\u0635\u0641\u062D\u0629 \u063A\u064A\u0631 \u0645\u0648\u062C\u0648\u062F\u0629</div>\n <p>\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u062A\u064A \u062A\u062D\u0627\u0648\u0644 \u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u064A\u0647\u0627 \u063A\u064A\u0631 \u0645\u062A\u0627\u062D\u0629 \u0623\u0648 \u062A\u0645 \u0646\u0642\u0644\u0647\u0627.</p>\n <a href=\"/\">\u0627\u0644\u0631\u062C\u0648\u0639 \u0644\u0644\u0631\u0626\u064A\u0633\u064A\u0629</a>\n </div>\n</body>\n</html>\n";
1
+ export declare const notFoundPage = "\n<!DOCTYPE html>\n<html lang=\"ar\" dir=\"rtl\">\n<head>\n <meta charset=\"UTF-8\" />\n <title>\u0627\u0644\u0635\u0641\u062D\u0629 \u063A\u064A\u0631 \u0645\u0648\u062C\u0648\u062F\u0629</title>\n\n <!-- \u0627\u0633\u062A\u062F\u0639\u0627\u0621 \u062E\u0637 Inter \u0627\u0644\u0639\u0635\u0631\u064A -->\n <link href=\"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap\" rel=\"stylesheet\">\n\n <style>\n * {\n box-sizing: border-box;\n }\n\n body {\n margin: 0;\n padding: 0;\n background-color: #001d20;\n font-family: 'Inter', sans-serif;\n display: flex;\n justify-content: center;\n align-items: center;\n min-height: 100vh;\n color: #ffffff;\n text-align: center;\n letter-spacing: -0.3px;\n }\n\n .wrapper {\n padding: 24px;\n }\n\n .card {\n max-width: 420px;\n background: rgba(255, 255, 255, 0.03);\n backdrop-filter: blur(6px);\n border-radius: 16px;\n padding: 40px 28px;\n border: 1px solid rgba(255, 255, 255, 0.07);\n animation: fadeIn 0.5s ease;\n }\n\n h1 {\n font-size: 88px;\n margin: 0;\n font-weight: 800;\n color: #4ed5c5;\n letter-spacing: -2px;\n }\n\n h2 {\n font-size: 26px;\n margin-top: 8px;\n margin-bottom: 12px;\n font-weight: 600;\n color: #e9fffb;\n }\n\n p {\n color: #c3e9e4;\n font-size: 15px;\n margin: 0 auto 28px;\n line-height: 1.7;\n }\n\n a {\n display: inline-block;\n padding: 12px 30px;\n background-color: #4ed5c5;\n color: #001d20;\n font-weight: 700;\n text-decoration: none;\n border-radius: 10px;\n font-size: 15px;\n transition: 0.2s ease-in-out;\n letter-spacing: -0.2px;\n }\n\n a:hover {\n background-color: #3bbcad;\n transform: translateY(-2px);\n }\n\n @keyframes fadeIn {\n from { opacity: 0; transform: translateY(8px); }\n to { opacity: 1; transform: translateY(0); }\n }\n </style>\n</head>\n\n<body>\n <div class=\"wrapper\">\n <div class=\"card\">\n <h1>404</h1>\n <h2>\u0627\u0644\u0635\u0641\u062D\u0629 \u063A\u064A\u0631 \u0645\u0648\u062C\u0648\u062F\u0629</h2>\n <p>\n \u064A\u0628\u062F\u0648 \u0623\u0646\u0643 \u062A\u062D\u0627\u0648\u0644 \u0627\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0635\u0641\u062D\u0629 \u063A\u064A\u0631 \u0635\u062D\u064A\u062D\u0629 \u0623\u0648 \u063A\u064A\u0631 \u0645\u062A\u0627\u062D\u0629 \u062D\u0627\u0644\u064A\u064B\u0627.<br />\n \u0645\u0646 \u0641\u0636\u0644\u0643 \u062A\u0623\u0643\u062F \u0645\u0646 \u0627\u0644\u0631\u0627\u0628\u0637 \u0623\u0648 \u0639\u062F \u0644\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629.\n </p>\n <a href=\"/\">\u0627\u0644\u0639\u0648\u062F\u0629 \u0625\u0644\u0649 \u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629</a>\n </div>\n </div>\n</body>\n</html>\n";
package/dist/pages/404.js CHANGED
@@ -6,69 +6,103 @@ exports.notFoundPage = `
6
6
  <html lang="ar" dir="rtl">
7
7
  <head>
8
8
  <meta charset="UTF-8" />
9
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
10
9
  <title>الصفحة غير موجودة</title>
10
+
11
+ <!-- استدعاء خط Inter العصري -->
12
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap" rel="stylesheet">
13
+
11
14
  <style>
15
+ * {
16
+ box-sizing: border-box;
17
+ }
18
+
12
19
  body {
13
20
  margin: 0;
14
21
  padding: 0;
15
- font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
16
- background: #f9fafb;
17
- color: #111827;
22
+ background-color: #001d20;
23
+ font-family: 'Inter', sans-serif;
18
24
  display: flex;
19
25
  justify-content: center;
20
26
  align-items: center;
21
- height: 100vh;
27
+ min-height: 100vh;
28
+ color: #ffffff;
22
29
  text-align: center;
30
+ letter-spacing: -0.3px;
31
+ }
32
+
33
+ .wrapper {
34
+ padding: 24px;
23
35
  }
24
36
 
25
- .container {
37
+ .card {
26
38
  max-width: 420px;
27
- padding: 20px;
39
+ background: rgba(255, 255, 255, 0.03);
40
+ backdrop-filter: blur(6px);
41
+ border-radius: 16px;
42
+ padding: 40px 28px;
43
+ border: 1px solid rgba(255, 255, 255, 0.07);
44
+ animation: fadeIn 0.5s ease;
28
45
  }
29
46
 
30
47
  h1 {
31
- font-size: 82px;
32
- margin-bottom: 0;
33
- color: #ef4444;
48
+ font-size: 88px;
49
+ margin: 0;
34
50
  font-weight: 800;
51
+ color: #4ed5c5;
52
+ letter-spacing: -2px;
35
53
  }
36
54
 
37
- .subtitle {
38
- font-size: 22px;
39
- margin-bottom: 15px;
55
+ h2 {
56
+ font-size: 26px;
57
+ margin-top: 8px;
58
+ margin-bottom: 12px;
59
+ font-weight: 600;
60
+ color: #e9fffb;
40
61
  }
41
62
 
42
63
  p {
43
- font-size: 16px;
44
- color: #6b7280;
45
- margin-bottom: 30px;
64
+ color: #c3e9e4;
65
+ font-size: 15px;
66
+ margin: 0 auto 28px;
67
+ line-height: 1.7;
46
68
  }
47
69
 
48
70
  a {
49
71
  display: inline-block;
50
- padding: 12px 26px;
51
- background: #111827;
52
- color: #fff;
53
- border-radius: 10px;
72
+ padding: 12px 30px;
73
+ background-color: #4ed5c5;
74
+ color: #001d20;
75
+ font-weight: 700;
54
76
  text-decoration: none;
55
- font-size: 16px;
56
- transition: 0.2s;
77
+ border-radius: 10px;
78
+ font-size: 15px;
79
+ transition: 0.2s ease-in-out;
80
+ letter-spacing: -0.2px;
57
81
  }
58
82
 
59
83
  a:hover {
60
- background: #000;
84
+ background-color: #3bbcad;
61
85
  transform: translateY(-2px);
62
86
  }
87
+
88
+ @keyframes fadeIn {
89
+ from { opacity: 0; transform: translateY(8px); }
90
+ to { opacity: 1; transform: translateY(0); }
91
+ }
63
92
  </style>
64
93
  </head>
65
94
 
66
95
  <body>
67
- <div class="container">
68
- <h1>404</h1>
69
- <div class="subtitle">الصفحة غير موجودة</div>
70
- <p>الصفحة التي تحاول الوصول إليها غير متاحة أو تم نقلها.</p>
71
- <a href="/">الرجوع للرئيسية</a>
96
+ <div class="wrapper">
97
+ <div class="card">
98
+ <h1>404</h1>
99
+ <h2>الصفحة غير موجودة</h2>
100
+ <p>
101
+ يبدو أنك تحاول الوصول إلى صفحة غير صحيحة أو غير متاحة حاليًا.<br />
102
+ من فضلك تأكد من الرابط أو عد للصفحة الرئيسية.
103
+ </p>
104
+ <a href="/">العودة إلى الصفحة الرئيسية</a>
105
+ </div>
72
106
  </div>
73
107
  </body>
74
108
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qumra-engine",
3
- "version": "2.0.165",
3
+ "version": "2.0.167",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {