Abid Ali Awan Codex commited on
Commit ·
04717ef
1
Parent(s): 3fae071
Polish Urdu interface typography
Browse filesBundle Noto Nastaliq Urdu, improve natural Urdu copy, and refine RTL spacing and responsive typography across the interface.
Co-Authored-By: Codex <noreply@openai.com>
- .gitattributes +1 -0
- static/app.js +38 -38
- static/fonts/OFL.txt +93 -0
- static/fonts/noto-nastaliq-urdu.woff2 +3 -0
- static/index.html +2 -2
- static/styles.css +244 -5
.gitattributes
CHANGED
|
@@ -3,3 +3,4 @@
|
|
| 3 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 4 |
*.png filter=lfs diff=lfs merge=lfs -text
|
| 5 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 3 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 4 |
*.png filter=lfs diff=lfs merge=lfs -text
|
| 5 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.woff2 filter=lfs diff=lfs merge=lfs -text
|
static/app.js
CHANGED
|
@@ -99,73 +99,73 @@ const translations = {
|
|
| 99 |
ur: {
|
| 100 |
pageTitle: "پاکستان نوٹس ہیلپر",
|
| 101 |
pageDescription: "پاکستانی نوٹس اور پیغامات میں عام فراڈ کی علامات چیک کریں۔",
|
| 102 |
-
statusChecking: "ماڈل چیک ہو رہ
|
| 103 |
statusReady: "ماڈل تیار ہے",
|
| 104 |
-
statusCredentials: "
|
| 105 |
-
statusUnavailable: "ماڈل دستیاب نہیں",
|
| 106 |
heroEyebrow: "عمل کرنے سے پہلے سمجھیں",
|
| 107 |
heroTitle: "کیا یہ نوٹس",
|
| 108 |
-
heroSafe: "محفوظ ہے؟",
|
| 109 |
-
heroText: "مشکوک بل، بینک الرٹ
|
| 110 |
-
trustTitle: "اے آئی
|
| 111 |
-
trustText: "اے آئی نوٹس پڑھ کر فراڈ کی
|
| 112 |
checkerEyebrow: "مفت حفاظتی جانچ",
|
| 113 |
-
checkerTitle: "نوٹس یا پیغام چی
|
| 114 |
-
modelDescription: "
|
| 115 |
uploadLabel: "اسکرین شاٹ اپ لوڈ کریں",
|
| 116 |
-
dropImage: "تصویر یہاں
|
| 117 |
-
browseImage: "یا
|
| 118 |
previewAlt: "منتخب نوٹس کا پیش منظر",
|
| 119 |
removeImage: "تصویر ہٹائیں",
|
| 120 |
-
imageMode: "اسکرین شاٹ م
|
| 121 |
-
pasteLabel: "یا پیغام
|
| 122 |
-
textPlaceholder: "ایس ایم ایس، ای میل، بل یا نوٹس کا متن یہاں پیسٹ کریں
|
| 123 |
-
languageSupport: "انگریزی، اردو اور رومن اردو معاون ہ
|
| 124 |
-
textMode: "متن
|
| 125 |
-
traceTitle: "رازداری
|
| 126 |
-
traceText: "صرف
|
| 127 |
-
checkButton: "
|
| 128 |
-
checkingButton: "
|
| 129 |
startOver: "دوبارہ شروع کریں",
|
| 130 |
examplesEyebrow: "مثال آزمائیں",
|
| 131 |
examplesTitle: "پاکستان میں عام پیغامات",
|
| 132 |
courierFee: "کوریئر فیس",
|
| 133 |
-
courierFeeText: "
|
| 134 |
taxRefund: "ٹیکس ریفنڈ",
|
| 135 |
-
taxRefundText: "غیر متوقع رقم واپسی ک
|
| 136 |
bankAlert: "بینک الرٹ",
|
| 137 |
-
bankAlertText: "
|
| 138 |
-
screenshotsTitle: "حقیقی
|
| 139 |
courierScam: "کوریئر فراڈ",
|
| 140 |
courierScamText: "جعلی ڈیلیوری فیس کا پیغام",
|
| 141 |
mobileScam: "موبائل فراڈ",
|
| 142 |
mobileScamText: "جعلی موبائل آپریٹر پیغام",
|
| 143 |
trafficScam: "ٹریفک چالان",
|
| 144 |
-
trafficScamText: "جعلی ای چالان
|
| 145 |
resultsEyebrow: "حفاظتی جائزہ",
|
| 146 |
-
resultsTitle: "
|
| 147 |
explanationTitle: "سادہ وضاحت",
|
| 148 |
-
redFlagsTitle: "خطرے کی
|
| 149 |
nextStepsTitle: "محفوظ اگلے اقدامات",
|
| 150 |
-
replyTitle: "
|
| 151 |
copy: "کاپی کریں",
|
| 152 |
copied: "کاپی ہو گیا",
|
| 153 |
disclaimerTitle: "اہم حفاظتی نوٹ",
|
| 154 |
-
disclaimerText: "پاکستان نوٹس ہیلپر سرکاری تصدیق فراہم نہیں کرتا۔ یہ
|
| 155 |
footerOne: "پاکستان میں محفوظ ڈیجیٹل فیصلوں کے لیے تیار کیا گیا۔",
|
| 156 |
-
footerTwo: "اپنا
|
| 157 |
-
requestStartError: "
|
| 158 |
-
requestReadError: "نتیجہ
|
| 159 |
requestFailedError: "درخواست مکمل نہیں ہو سکی۔",
|
| 160 |
noResultError: "کوئی نتیجہ موصول نہیں ہوا۔",
|
| 161 |
-
analyzeError: "اس مواد ک
|
| 162 |
imageTypeError: "PNG، JPG یا WebP تصویر استعمال کریں۔",
|
| 163 |
imageSizeError: "براہ کرم 8 MB سے چھوٹی تصویر منتخب کریں۔",
|
| 164 |
exampleImageError: "مثالی تصویر لوڈ نہیں ہو سکی۔",
|
| 165 |
-
emptyInputError: "پیغام
|
| 166 |
-
modelSource: "Qwen3.5 4B ماڈل نے
|
| 167 |
-
cachedSource: "محفوظ
|
| 168 |
-
riskLooksNormal: "معمول ک
|
| 169 |
riskVerifyFirst: "پہلے تصدیق کریں",
|
| 170 |
riskSuspicious: "مشکوک",
|
| 171 |
riskLikelyScam: "ممکنہ فراڈ",
|
|
@@ -266,7 +266,7 @@ function setStatus(status) {
|
|
| 266 |
currentStatus = status;
|
| 267 |
const modelName = status.label?.match(/:\s*(.+)$/)?.[1] || "";
|
| 268 |
elements.statusText.textContent = status.connected
|
| 269 |
-
? `${t("statusReady")}${modelName ? `: ${modelName}` : ""}`
|
| 270 |
: status.label?.toLowerCase().includes("credentials")
|
| 271 |
? t("statusCredentials")
|
| 272 |
: t("statusUnavailable");
|
|
|
|
| 99 |
ur: {
|
| 100 |
pageTitle: "پاکستان نوٹس ہیلپر",
|
| 101 |
pageDescription: "پاکستانی نوٹس اور پیغامات میں عام فراڈ کی علامات چیک کریں۔",
|
| 102 |
+
statusChecking: "ماڈل کی دستیابی چیک ہو رہی ہے",
|
| 103 |
statusReady: "ماڈل تیار ہے",
|
| 104 |
+
statusCredentials: "ماڈل کی رسائی درکار ہے",
|
| 105 |
+
statusUnavailable: "ماڈل فی الحال دستیاب نہیں",
|
| 106 |
heroEyebrow: "عمل کرنے سے پہلے سمجھیں",
|
| 107 |
heroTitle: "کیا یہ نوٹس",
|
| 108 |
+
heroSafe: "محفوظ لگتا ہے؟",
|
| 109 |
+
heroText: "مشکوک بل، بینک الرٹ، ایف بی آر کے نام سے آنے والے پیغامات، چالان، کوریئر نوٹس اور ایس ایم ایس اسکرین شاٹس میں فراڈ کی عام نشانیاں جانچیں۔",
|
| 110 |
+
trustTitle: "اے آئی سے حفاظتی جانچ",
|
| 111 |
+
trustText: "اے آئی نوٹس پڑھ کر فراڈ کی ممکنہ نشانیاں بتاتا ہے اور محفوظ اگلے اقدامات تجویز کرتا ہے۔",
|
| 112 |
checkerEyebrow: "مفت حفاظتی جانچ",
|
| 113 |
+
checkerTitle: "نوٹس یا پیغام جانچیں",
|
| 114 |
+
modelDescription: "یہ جانچ ایک چھوٹے ملٹی موڈل اے آئی ماڈل سے کی جاتی ہے۔",
|
| 115 |
uploadLabel: "اسکرین شاٹ اپ لوڈ کریں",
|
| 116 |
+
dropImage: "تصویر یہاں اپ لوڈ کریں",
|
| 117 |
+
browseImage: "یا پی این جی، جے پی جی یا ویب پی فائل منتخب کرنے کے لیے دبائیں",
|
| 118 |
previewAlt: "منتخب نوٹس کا پیش منظر",
|
| 119 |
removeImage: "تصویر ہٹائیں",
|
| 120 |
+
imageMode: "اسکرین شاٹ منتخب ہے، متن کا خانہ بند کر دیا گیا ہے",
|
| 121 |
+
pasteLabel: "یا پیغام کا متن درج کریں",
|
| 122 |
+
textPlaceholder: "ایس ایم ایس، ای میل، بل یا نوٹس کا متن یہاں پیسٹ کریں…",
|
| 123 |
+
languageSupport: "انگریزی، اردو اور رومن اردو کی معاونت موجود ہے",
|
| 124 |
+
textMode: "متن درج ہے، تصویر اپ لوڈ کرنے کا اختیار بند ہے",
|
| 125 |
+
traceTitle: "رازداری کے ساتھ گمنام ٹریس شائع کریں",
|
| 126 |
+
traceText: "صرف چھپایا گیا متن یا تصویر کی عمومی تفصیل محفوظ ہوتی ہے۔ اصل پیغام، اسکرین شاٹ، لنک، شناختی معلومات اور ماڈل کا جواب محفوظ نہیں کیا جاتا۔",
|
| 127 |
+
checkButton: "نوٹس جانچیں",
|
| 128 |
+
checkingButton: "جانچ جاری ہے…",
|
| 129 |
startOver: "دوبارہ شروع کریں",
|
| 130 |
examplesEyebrow: "مثال آزمائیں",
|
| 131 |
examplesTitle: "پاکستان میں عام پیغامات",
|
| 132 |
courierFee: "کوریئر فیس",
|
| 133 |
+
courierFeeText: "پارسل فیس کی فوری ادائیگی کا لنک",
|
| 134 |
taxRefund: "ٹیکس ریفنڈ",
|
| 135 |
+
taxRefundText: "غیر متوقع رقم واپسی کا پیغام",
|
| 136 |
bankAlert: "بینک الرٹ",
|
| 137 |
+
bankAlertText: "حفاظتی کوڈ مانگنے والا پیغام",
|
| 138 |
+
screenshotsTitle: "فراڈ کے حقیقی اسکرین شاٹس",
|
| 139 |
courierScam: "کوریئر فراڈ",
|
| 140 |
courierScamText: "جعلی ڈیلیوری فیس کا پیغام",
|
| 141 |
mobileScam: "موبائل فراڈ",
|
| 142 |
mobileScamText: "جعلی موبائل آپریٹر پیغام",
|
| 143 |
trafficScam: "ٹریفک چالان",
|
| 144 |
+
trafficScamText: "جعلی ای چالان کا پیغام",
|
| 145 |
resultsEyebrow: "حفاظتی جائزہ",
|
| 146 |
+
resultsTitle: "جانچ کا نتیجہ",
|
| 147 |
explanationTitle: "سادہ وضاحت",
|
| 148 |
+
redFlagsTitle: "خطرے کی نشانیاں",
|
| 149 |
nextStepsTitle: "محفوظ اگلے اقدامات",
|
| 150 |
+
replyTitle: "جواب کا شائستہ مسودہ",
|
| 151 |
copy: "کاپی کریں",
|
| 152 |
copied: "کاپی ہو گیا",
|
| 153 |
disclaimerTitle: "اہم حفاظتی نوٹ",
|
| 154 |
+
disclaimerText: "پاکستان نوٹس ہیلپر سرکاری تصدیق فراہم نہیں کرتا۔ یہ فراڈ کی عام نشانیاں دیکھ کر محفوظ اگلے اقدامات بتاتا ہے۔ ادائیگی کرنے یا ذاتی معلومات دینے سے پہلے ہمیشہ متعلقہ ادارے کی سرکاری ویب سائٹ، ایپ یا ہیلپ لائن سے تصدیق کریں۔",
|
| 155 |
footerOne: "پاکستان میں محفوظ ڈیجیٹل فیصلوں کے لیے تیار کیا گیا۔",
|
| 156 |
+
footerTwo: "اپنا او ٹی پی، پن، پاس ورڈ یا سی وی وی کبھی شیئر نہ کریں۔",
|
| 157 |
+
requestStartError: "جانچ شروع نہیں ہو سکی۔",
|
| 158 |
+
requestReadError: "جانچ کا نتیجہ موصول نہیں ہو سکا۔",
|
| 159 |
requestFailedError: "درخواست مکمل نہیں ہو سکی۔",
|
| 160 |
noResultError: "کوئی نتیجہ موصول نہیں ہوا۔",
|
| 161 |
+
analyzeError: "اس مواد کی جانچ نہیں ہو سکی۔",
|
| 162 |
imageTypeError: "PNG، JPG یا WebP تصویر استعمال کریں۔",
|
| 163 |
imageSizeError: "براہ کرم 8 MB سے چھوٹی تصویر منتخب کریں۔",
|
| 164 |
exampleImageError: "مثالی تصویر لوڈ نہیں ہو سکی۔",
|
| 165 |
+
emptyInputError: "پیغام کا متن درج کریں یا اسکرین شاٹ اپ لوڈ کریں۔",
|
| 166 |
+
modelSource: "یہ نتیجہ Qwen3.5 4B ماڈل نے تیار کیا ہے۔",
|
| 167 |
+
cachedSource: "پہلے سے محفوظ ماڈل نتیجہ",
|
| 168 |
+
riskLooksNormal: "معمول کا پیغام",
|
| 169 |
riskVerifyFirst: "پہلے تصدیق کریں",
|
| 170 |
riskSuspicious: "مشکوک",
|
| 171 |
riskLikelyScam: "ممکنہ فراڈ",
|
|
|
|
| 266 |
currentStatus = status;
|
| 267 |
const modelName = status.label?.match(/:\s*(.+)$/)?.[1] || "";
|
| 268 |
elements.statusText.textContent = status.connected
|
| 269 |
+
? `${t("statusReady")}${currentLanguage === "en" && modelName ? `: ${modelName}` : ""}`
|
| 270 |
: status.label?.toLowerCase().includes("credentials")
|
| 271 |
? t("statusCredentials")
|
| 272 |
: t("statusUnavailable");
|
static/fonts/OFL.txt
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright 2022 The Noto Project Authors (https://github.com/notofonts/nastaliq)
|
| 2 |
+
|
| 3 |
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
| 4 |
+
This license is copied below, and is also available with a FAQ at:
|
| 5 |
+
https://openfontlicense.org
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
-----------------------------------------------------------
|
| 9 |
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
| 10 |
+
-----------------------------------------------------------
|
| 11 |
+
|
| 12 |
+
PREAMBLE
|
| 13 |
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
| 14 |
+
development of collaborative font projects, to support the font creation
|
| 15 |
+
efforts of academic and linguistic communities, and to provide a free and
|
| 16 |
+
open framework in which fonts may be shared and improved in partnership
|
| 17 |
+
with others.
|
| 18 |
+
|
| 19 |
+
The OFL allows the licensed fonts to be used, studied, modified and
|
| 20 |
+
redistributed freely as long as they are not sold by themselves. The
|
| 21 |
+
fonts, including any derivative works, can be bundled, embedded,
|
| 22 |
+
redistributed and/or sold with any software provided that any reserved
|
| 23 |
+
names are not used by derivative works. The fonts and derivatives,
|
| 24 |
+
however, cannot be released under any other type of license. The
|
| 25 |
+
requirement for fonts to remain under this license does not apply
|
| 26 |
+
to any document created using the fonts or their derivatives.
|
| 27 |
+
|
| 28 |
+
DEFINITIONS
|
| 29 |
+
"Font Software" refers to the set of files released by the Copyright
|
| 30 |
+
Holder(s) under this license and clearly marked as such. This may
|
| 31 |
+
include source files, build scripts and documentation.
|
| 32 |
+
|
| 33 |
+
"Reserved Font Name" refers to any names specified as such after the
|
| 34 |
+
copyright statement(s).
|
| 35 |
+
|
| 36 |
+
"Original Version" refers to the collection of Font Software components as
|
| 37 |
+
distributed by the Copyright Holder(s).
|
| 38 |
+
|
| 39 |
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
| 40 |
+
or substituting -- in part or in whole -- any of the components of the
|
| 41 |
+
Original Version, by changing formats or by porting the Font Software to a
|
| 42 |
+
new environment.
|
| 43 |
+
|
| 44 |
+
"Author" refers to any designer, engineer, programmer, technical
|
| 45 |
+
writer or other person who contributed to the Font Software.
|
| 46 |
+
|
| 47 |
+
PERMISSION & CONDITIONS
|
| 48 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
| 49 |
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
| 50 |
+
redistribute, and sell modified and unmodified copies of the Font
|
| 51 |
+
Software, subject to the following conditions:
|
| 52 |
+
|
| 53 |
+
1) Neither the Font Software nor any of its individual components,
|
| 54 |
+
in Original or Modified Versions, may be sold by itself.
|
| 55 |
+
|
| 56 |
+
2) Original or Modified Versions of the Font Software may be bundled,
|
| 57 |
+
redistributed and/or sold with any software, provided that each copy
|
| 58 |
+
contains the above copyright notice and this license. These can be
|
| 59 |
+
included either as stand-alone text files, human-readable headers or
|
| 60 |
+
in the appropriate machine-readable metadata fields within text or
|
| 61 |
+
binary files as long as those fields can be easily viewed by the user.
|
| 62 |
+
|
| 63 |
+
3) No Modified Version of the Font Software may use the Reserved Font
|
| 64 |
+
Name(s) unless explicit written permission is granted by the corresponding
|
| 65 |
+
Copyright Holder. This restriction only applies to the primary font name as
|
| 66 |
+
presented to the users.
|
| 67 |
+
|
| 68 |
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
| 69 |
+
Software shall not be used to promote, endorse or advertise any
|
| 70 |
+
Modified Version, except to acknowledge the contribution(s) of the
|
| 71 |
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
| 72 |
+
permission.
|
| 73 |
+
|
| 74 |
+
5) The Font Software, modified or unmodified, in part or in whole,
|
| 75 |
+
must be distributed entirely under this license, and must not be
|
| 76 |
+
distributed under any other license. The requirement for fonts to
|
| 77 |
+
remain under this license does not apply to any document created
|
| 78 |
+
using the Font Software.
|
| 79 |
+
|
| 80 |
+
TERMINATION
|
| 81 |
+
This license becomes null and void if any of the above conditions are
|
| 82 |
+
not met.
|
| 83 |
+
|
| 84 |
+
DISCLAIMER
|
| 85 |
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 86 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
| 87 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
| 88 |
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
| 89 |
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
| 90 |
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
| 91 |
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
| 92 |
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
| 93 |
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
static/fonts/noto-nastaliq-urdu.woff2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:609856a4affa17480bec6ae2e77d0d3743acb94c7cbdc020aeb317b7eb7365f6
|
| 3 |
+
size 239060
|
static/index.html
CHANGED
|
@@ -14,8 +14,8 @@
|
|
| 14 |
<header class="topbar">
|
| 15 |
<div class="topbar-left">
|
| 16 |
<div class="language-switch" role="group" aria-label="Language">
|
| 17 |
-
<button class="language-option active" type="button" data-language="en" aria-pressed="true">English</button>
|
| 18 |
-
<button class="language-option urdu-option" type="button" data-language="ur" aria-pressed="false">اردو</button>
|
| 19 |
</div>
|
| 20 |
<a class="brand" href="/" aria-label="Pakistan Notice Helper home">
|
| 21 |
<span class="brand-mark"><img src="/static/logo.png" alt=""></span>
|
|
|
|
| 14 |
<header class="topbar">
|
| 15 |
<div class="topbar-left">
|
| 16 |
<div class="language-switch" role="group" aria-label="Language">
|
| 17 |
+
<button class="language-option active" type="button" data-language="en" lang="en" aria-pressed="true">English</button>
|
| 18 |
+
<button class="language-option urdu-option" type="button" data-language="ur" lang="ur" dir="rtl" aria-pressed="false">اردو</button>
|
| 19 |
</div>
|
| 20 |
<a class="brand" href="/" aria-label="Pakistan Notice Helper home">
|
| 21 |
<span class="brand-mark"><img src="/static/logo.png" alt=""></span>
|
static/styles.css
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
:root {
|
|
|
|
| 2 |
--green-950: #043b27;
|
| 3 |
--green-800: #075f3b;
|
| 4 |
--green-700: #087a48;
|
|
@@ -46,7 +58,7 @@ button { color: inherit; }
|
|
| 46 |
cursor: pointer;
|
| 47 |
}
|
| 48 |
.language-option.active { background: white; color: var(--green-950); }
|
| 49 |
-
.urdu-option { font-family:
|
| 50 |
.brand { color: white; text-decoration: none; display: flex; align-items: center; gap: 12px; font-weight: 800; }
|
| 51 |
.brand-mark {
|
| 52 |
width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden;
|
|
@@ -229,7 +241,8 @@ footer { padding: 24px clamp(18px, 5vw, 72px); display: flex; justify-content: s
|
|
| 229 |
|
| 230 |
html[lang="ur"] body {
|
| 231 |
direction: rtl;
|
| 232 |
-
font-family:
|
|
|
|
| 233 |
}
|
| 234 |
html[lang="ur"] .topbar { direction: ltr; }
|
| 235 |
html[lang="ur"] .brand, html[lang="ur"] .status-row { direction: ltr; }
|
|
@@ -237,9 +250,207 @@ html[lang="ur"] .hero-copy, html[lang="ur"] .section-heading,
|
|
| 237 |
html[lang="ur"] .field-card, html[lang="ur"] .examples,
|
| 238 |
html[lang="ur"] .results, html[lang="ur"] .disclaimer,
|
| 239 |
html[lang="ur"] footer { direction: rtl; text-align: right; }
|
| 240 |
-
html[lang="ur"] .
|
| 241 |
-
html[lang="ur"] .
|
| 242 |
-
html[lang="ur"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 243 |
|
| 244 |
@media (max-width: 1100px) {
|
| 245 |
.hero { grid-template-columns: 1fr; }
|
|
@@ -274,6 +485,34 @@ html[lang="ur"] textarea { direction: rtl; text-align: right; }
|
|
| 274 |
.example-grid-images { grid-template-columns: 1fr; }
|
| 275 |
.example-thumb { height: 320px; }
|
| 276 |
footer { flex-direction: column; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 277 |
}
|
| 278 |
|
| 279 |
@media (prefers-reduced-motion: reduce) {
|
|
|
|
| 1 |
+
@font-face {
|
| 2 |
+
font-family: "Noto Nastaliq Urdu";
|
| 3 |
+
font-style: normal;
|
| 4 |
+
font-weight: 400 700;
|
| 5 |
+
font-display: swap;
|
| 6 |
+
src: url("/static/fonts/noto-nastaliq-urdu.woff2") format("woff2");
|
| 7 |
+
unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891,
|
| 8 |
+
U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F,
|
| 9 |
+
U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
:root {
|
| 13 |
+
--urdu-font: "Noto Nastaliq Urdu", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
|
| 14 |
--green-950: #043b27;
|
| 15 |
--green-800: #075f3b;
|
| 16 |
--green-700: #087a48;
|
|
|
|
| 58 |
cursor: pointer;
|
| 59 |
}
|
| 60 |
.language-option.active { background: white; color: var(--green-950); }
|
| 61 |
+
.urdu-option { font-family: var(--urdu-font); font-size: 13px; line-height: 1.6; }
|
| 62 |
.brand { color: white; text-decoration: none; display: flex; align-items: center; gap: 12px; font-weight: 800; }
|
| 63 |
.brand-mark {
|
| 64 |
width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden;
|
|
|
|
| 241 |
|
| 242 |
html[lang="ur"] body {
|
| 243 |
direction: rtl;
|
| 244 |
+
font-family: var(--urdu-font);
|
| 245 |
+
line-height: 1.9;
|
| 246 |
}
|
| 247 |
html[lang="ur"] .topbar { direction: ltr; }
|
| 248 |
html[lang="ur"] .brand, html[lang="ur"] .status-row { direction: ltr; }
|
|
|
|
| 250 |
html[lang="ur"] .field-card, html[lang="ur"] .examples,
|
| 251 |
html[lang="ur"] .results, html[lang="ur"] .disclaimer,
|
| 252 |
html[lang="ur"] footer { direction: rtl; text-align: right; }
|
| 253 |
+
html[lang="ur"] .status-text,
|
| 254 |
+
html[lang="ur"] .section-heading > p,
|
| 255 |
+
html[lang="ur"] .field-meta,
|
| 256 |
+
html[lang="ur"] .result-source {
|
| 257 |
+
unicode-bidi: plaintext;
|
| 258 |
+
}
|
| 259 |
+
html[lang="ur"] .status-badge {
|
| 260 |
+
padding-block: 6px 8px;
|
| 261 |
+
font-family: var(--urdu-font);
|
| 262 |
+
font-size: 13px;
|
| 263 |
+
line-height: 1.5;
|
| 264 |
+
}
|
| 265 |
+
html[lang="ur"] .status-dot { margin-right: 0; margin-left: 7px; }
|
| 266 |
+
html[lang="ur"] .hero {
|
| 267 |
+
padding-top: 58px;
|
| 268 |
+
}
|
| 269 |
+
html[lang="ur"] .hero-copy {
|
| 270 |
+
max-width: 720px;
|
| 271 |
+
justify-self: end;
|
| 272 |
+
}
|
| 273 |
+
html[lang="ur"] .eyebrow {
|
| 274 |
+
margin-bottom: 6px;
|
| 275 |
+
font-size: 15px;
|
| 276 |
+
font-weight: 600;
|
| 277 |
+
line-height: 1.8;
|
| 278 |
+
letter-spacing: 0;
|
| 279 |
+
text-transform: none;
|
| 280 |
+
}
|
| 281 |
+
html[lang="ur"] h1 {
|
| 282 |
+
max-width: 720px;
|
| 283 |
+
font-size: clamp(44px, 5.5vw, 68px);
|
| 284 |
+
font-weight: 700;
|
| 285 |
+
line-height: 1.5;
|
| 286 |
+
letter-spacing: 0;
|
| 287 |
+
text-wrap: balance;
|
| 288 |
+
}
|
| 289 |
+
html[lang="ur"] .hero-text {
|
| 290 |
+
margin: 8px 0 18px;
|
| 291 |
+
font-size: clamp(18px, 1.8vw, 21px);
|
| 292 |
+
line-height: 2;
|
| 293 |
+
}
|
| 294 |
+
html[lang="ur"] .trust-note {
|
| 295 |
+
grid-template-columns: 40px minmax(0, 1fr);
|
| 296 |
+
padding: 13px 16px 17px;
|
| 297 |
+
}
|
| 298 |
+
html[lang="ur"] .trust-note p {
|
| 299 |
+
font-size: 15px;
|
| 300 |
+
line-height: 2;
|
| 301 |
+
}
|
| 302 |
+
html[lang="ur"] .trust-note strong {
|
| 303 |
+
margin-bottom: 0;
|
| 304 |
+
font-size: 16px;
|
| 305 |
+
}
|
| 306 |
+
html[lang="ur"] .section-heading h2,
|
| 307 |
+
html[lang="ur"] .result-header h2 {
|
| 308 |
+
font-weight: 700;
|
| 309 |
+
line-height: 1.7;
|
| 310 |
+
letter-spacing: 0;
|
| 311 |
+
}
|
| 312 |
+
html[lang="ur"] .section-heading > p {
|
| 313 |
+
max-width: 430px;
|
| 314 |
+
font-size: 14px;
|
| 315 |
+
line-height: 2;
|
| 316 |
+
}
|
| 317 |
+
html[lang="ur"] .field-label {
|
| 318 |
+
margin-bottom: 6px;
|
| 319 |
+
font-size: 16px;
|
| 320 |
+
line-height: 1.8;
|
| 321 |
+
}
|
| 322 |
+
html[lang="ur"] .field-label > span:first-child {
|
| 323 |
+
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
|
| 324 |
+
line-height: 1;
|
| 325 |
+
}
|
| 326 |
+
html[lang="ur"] .drop-zone {
|
| 327 |
+
min-height: 250px;
|
| 328 |
+
padding: 28px 24px 32px;
|
| 329 |
+
}
|
| 330 |
+
html[lang="ur"] .drop-zone strong {
|
| 331 |
+
font-size: 17px;
|
| 332 |
+
line-height: 1.8;
|
| 333 |
+
}
|
| 334 |
+
html[lang="ur"] .drop-zone small {
|
| 335 |
+
margin-top: 0;
|
| 336 |
+
font-size: 13px;
|
| 337 |
+
line-height: 1.9;
|
| 338 |
+
}
|
| 339 |
+
html[lang="ur"] textarea {
|
| 340 |
+
min-height: 250px;
|
| 341 |
+
padding: 19px 20px 26px;
|
| 342 |
+
direction: rtl;
|
| 343 |
+
text-align: right;
|
| 344 |
+
font-size: 17px;
|
| 345 |
+
line-height: 2.1;
|
| 346 |
+
}
|
| 347 |
+
html[lang="ur"] textarea::placeholder { line-height: 2.1; }
|
| 348 |
+
html[lang="ur"] .field-meta {
|
| 349 |
+
align-items: baseline;
|
| 350 |
+
margin-top: 4px;
|
| 351 |
+
font-size: 12px;
|
| 352 |
+
line-height: 1.9;
|
| 353 |
+
}
|
| 354 |
+
html[lang="ur"] .mode-hint {
|
| 355 |
+
padding-block: 7px 10px;
|
| 356 |
+
font-size: 13px;
|
| 357 |
+
line-height: 1.8;
|
| 358 |
+
}
|
| 359 |
+
html[lang="ur"] .trace-consent {
|
| 360 |
+
padding: 11px 15px 16px;
|
| 361 |
+
}
|
| 362 |
+
html[lang="ur"] .trace-consent input {
|
| 363 |
+
flex: 0 0 auto;
|
| 364 |
+
margin-top: 10px;
|
| 365 |
+
}
|
| 366 |
+
html[lang="ur"] .trace-consent strong {
|
| 367 |
+
font-size: 15px;
|
| 368 |
+
line-height: 1.8;
|
| 369 |
+
}
|
| 370 |
+
html[lang="ur"] .trace-consent small {
|
| 371 |
+
margin-top: 0;
|
| 372 |
+
font-size: 12px;
|
| 373 |
+
line-height: 2;
|
| 374 |
+
}
|
| 375 |
+
html[lang="ur"] .primary-button,
|
| 376 |
+
html[lang="ur"] .reset-button {
|
| 377 |
+
min-height: 56px;
|
| 378 |
+
padding-block: 10px 15px;
|
| 379 |
+
font-size: 16px;
|
| 380 |
+
line-height: 1.7;
|
| 381 |
+
}
|
| 382 |
+
html[lang="ur"] .example-card {
|
| 383 |
+
min-height: 92px;
|
| 384 |
+
padding-block: 13px 18px;
|
| 385 |
+
text-align: right;
|
| 386 |
+
}
|
| 387 |
+
html[lang="ur"] .example-icon {
|
| 388 |
+
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
|
| 389 |
+
}
|
| 390 |
+
html[lang="ur"] .example-card strong {
|
| 391 |
+
font-size: 16px;
|
| 392 |
+
line-height: 1.8;
|
| 393 |
+
}
|
| 394 |
+
html[lang="ur"] .example-card small {
|
| 395 |
+
margin-top: 0;
|
| 396 |
+
font-size: 13px;
|
| 397 |
+
line-height: 1.9;
|
| 398 |
+
}
|
| 399 |
+
html[lang="ur"] .result-header {
|
| 400 |
+
align-items: flex-start;
|
| 401 |
+
}
|
| 402 |
+
html[lang="ur"] .risk-badge {
|
| 403 |
+
padding: 9px 18px 14px;
|
| 404 |
+
font-size: clamp(18px, 3vw, 25px);
|
| 405 |
+
line-height: 1.7;
|
| 406 |
+
}
|
| 407 |
+
html[lang="ur"] .result-source {
|
| 408 |
+
font-size: 13px;
|
| 409 |
+
line-height: 1.9;
|
| 410 |
+
}
|
| 411 |
+
html[lang="ur"] .result-card {
|
| 412 |
+
padding-top: 20px;
|
| 413 |
+
padding-bottom: 27px;
|
| 414 |
+
}
|
| 415 |
+
html[lang="ur"] .card-title h3 {
|
| 416 |
+
font-size: 18px;
|
| 417 |
+
line-height: 1.8;
|
| 418 |
+
}
|
| 419 |
+
html[lang="ur"] .card-title > span {
|
| 420 |
+
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
|
| 421 |
+
}
|
| 422 |
+
html[lang="ur"] .copy-button {
|
| 423 |
+
padding: 5px 10px 9px;
|
| 424 |
+
font-size: 13px;
|
| 425 |
+
line-height: 1.5;
|
| 426 |
+
}
|
| 427 |
+
html[lang="ur"] .result-card p,
|
| 428 |
+
html[lang="ur"] .result-card li {
|
| 429 |
+
font-size: 16px;
|
| 430 |
+
line-height: 2.1;
|
| 431 |
+
}
|
| 432 |
+
html[lang="ur"] .result-card ul,
|
| 433 |
+
html[lang="ur"] .result-card ol {
|
| 434 |
+
padding-left: 0;
|
| 435 |
+
padding-right: 26px;
|
| 436 |
+
}
|
| 437 |
+
html[lang="ur"] .disclaimer {
|
| 438 |
+
padding-block: 17px 22px;
|
| 439 |
+
}
|
| 440 |
+
html[lang="ur"] .disclaimer strong {
|
| 441 |
+
font-size: 16px;
|
| 442 |
+
line-height: 1.8;
|
| 443 |
+
}
|
| 444 |
+
html[lang="ur"] .disclaimer p {
|
| 445 |
+
margin-top: 0;
|
| 446 |
+
font-size: 14px;
|
| 447 |
+
line-height: 2;
|
| 448 |
+
}
|
| 449 |
+
html[lang="ur"] footer {
|
| 450 |
+
align-items: center;
|
| 451 |
+
font-size: 13px;
|
| 452 |
+
line-height: 2;
|
| 453 |
+
}
|
| 454 |
|
| 455 |
@media (max-width: 1100px) {
|
| 456 |
.hero { grid-template-columns: 1fr; }
|
|
|
|
| 485 |
.example-grid-images { grid-template-columns: 1fr; }
|
| 486 |
.example-thumb { height: 320px; }
|
| 487 |
footer { flex-direction: column; }
|
| 488 |
+
html[lang="ur"] .topbar { padding-block: 8px 10px; }
|
| 489 |
+
html[lang="ur"] .language-option { min-height: 34px; }
|
| 490 |
+
html[lang="ur"] .status-badge { max-width: 135px; }
|
| 491 |
+
html[lang="ur"] .hero {
|
| 492 |
+
min-height: 440px;
|
| 493 |
+
padding-top: 38px;
|
| 494 |
+
}
|
| 495 |
+
html[lang="ur"] h1 {
|
| 496 |
+
font-size: clamp(39px, 12vw, 49px);
|
| 497 |
+
line-height: 1.55;
|
| 498 |
+
}
|
| 499 |
+
html[lang="ur"] .hero-text {
|
| 500 |
+
font-size: 17px;
|
| 501 |
+
line-height: 2;
|
| 502 |
+
}
|
| 503 |
+
html[lang="ur"] .trust-note {
|
| 504 |
+
grid-template-columns: 34px minmax(0, 1fr);
|
| 505 |
+
}
|
| 506 |
+
html[lang="ur"] .workspace {
|
| 507 |
+
padding-top: 19px;
|
| 508 |
+
}
|
| 509 |
+
html[lang="ur"] .section-heading {
|
| 510 |
+
gap: 4px;
|
| 511 |
+
margin-bottom: 22px;
|
| 512 |
+
}
|
| 513 |
+
html[lang="ur"] .result-card {
|
| 514 |
+
padding-bottom: 24px;
|
| 515 |
+
}
|
| 516 |
}
|
| 517 |
|
| 518 |
@media (prefers-reduced-motion: reduce) {
|