fix: all content fixed

This commit is contained in:
Sabda Yagra 2025-02-20 08:59:28 +07:00
parent d2000a0166
commit 47893d5d05
4 changed files with 8 additions and 7 deletions

View File

@ -689,7 +689,7 @@ const page = () => {
<b>{otpValidate}</b> <b>{otpValidate}</b>
</p> </p>
<div className="flex flex-row px-0 lg:px-28 justify-between items-center my-4"> <div className="flex flex-row px-0 lg:px-28 justify-between items-center my-4">
<a className="bg-slate-300 text-center rounded-lg mr-1 w-[200px] py-2 text-base cursor-pointer" onClick={() => handleResendOTP()}> <a className="bg-slate-300 dark:bg-black text-center rounded-lg mr-1 w-[200px] py-2 text-base cursor-pointer" onClick={() => handleResendOTP()}>
{t("resending")} ({convertMilisecondsToHour(timerCount)}) {t("resending")} ({convertMilisecondsToHour(timerCount)})
</a> </a>
<a className="bg-red-700 w-[200px] py-2 text-center text-white rounded-lg ml-1 cursor-pointer" onClick={() => handleVerifyOTP()}> <a className="bg-red-700 w-[200px] py-2 text-center text-white rounded-lg ml-1 cursor-pointer" onClick={() => handleVerifyOTP()}>

View File

@ -240,15 +240,16 @@ const Navbar = () => {
</NavigationMenu> </NavigationMenu>
</div> </div>
</div> </div>
{/* Mobile Menu Toggle */} {/* Mobile Menu Toggle */}
<button className="text-black dark:text-white right-0 size-20 h-10 w-10 lg:hidden" onClick={() => setMenuOpen(!menuOpen)}> <button className="text-black dark:text-white right-0 size-20 h-10 w-10 lg:hidden" onClick={() => setMenuOpen(!menuOpen)}>
{menuOpen ? ( {menuOpen ? (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path fill="#000" d="m13.41 12l4.3-4.29a1 1 0 1 0-1.42-1.42L12 10.59l-4.29-4.3a1 1 0 0 0-1.42 1.42l4.3 4.29l-4.3 4.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l4.29-4.3l4.29 4.3a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42Z" /> <path fill="currentColor" d="m13.41 12l4.3-4.29a1 1 0 1 0-1.42-1.42L12 10.59l-4.29-4.3a1 1 0 0 0-1.42 1.42l4.3 4.29l-4.3 4.29a1 1 0 0 0 0 1.42a1 1 0 0 0 1.42 0l4.29-4.3l4.29 4.3a1 1 0 0 0 1.42 0a1 1 0 0 0 0-1.42Z" />
</svg> </svg>
) : ( ) : (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path fill="#000" d="M4 6a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1m0 6a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1m1 5a1 1 0 1 0 0 2h14a1 1 0 1 0 0-2z" /> <path fill="currentColor" d="M4 6a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1m0 6a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1m1 5a1 1 0 1 0 0 2h14a1 1 0 1 0 0-2z" />
</svg> </svg>
)} )}
</button> </button>

View File

@ -405,7 +405,6 @@
"terms": "Terms and Conditions", "terms": "Terms and Conditions",
"enterOTP": "Enter OTP Code", "enterOTP": "Enter OTP Code",
"checkInbox": "Please check your email inbox or spam box.", "checkInbox": "Please check your email inbox or spam box.",
"resending": "Resending",
"fullName": "Full Name", "fullName": "Full Name",
"enterFullName": "Insert your full name", "enterFullName": "Insert your full name",
"enterUsername": "Insert your Username", "enterUsername": "Insert your Username",
@ -517,7 +516,8 @@
"answer4": "MediaHub is a platform that provides various informative and educational content. Key features include search, download, and personalization of content.", "answer4": "MediaHub is a platform that provides various informative and educational content. Key features include search, download, and personalization of content.",
"welcome": "Welcome To", "welcome": "Welcome To",
"polda": "Official coverage sourced from Polri activities at Polda", "polda": "Official coverage sourced from Polri activities at Polda",
"satker": "Official coverage sourced from Polri activities at Satker" "satker": "Official coverage sourced from Polri activities at Satker",
"resending": "Resending"
}, },
"FilterPage": { "FilterPage": {
"image": "Image", "image": "Image",

View File

@ -405,7 +405,6 @@
"terms": "Syarat dan Ketentuan", "terms": "Syarat dan Ketentuan",
"enterOTP": "Masukkan kode OTP", "enterOTP": "Masukkan kode OTP",
"checkInbox": "Silahkan cek inbox atau kotak spam pada email Anda.", "checkInbox": "Silahkan cek inbox atau kotak spam pada email Anda.",
"resending": "Kirim Ulang",
"fullName": "Nama Lengkap", "fullName": "Nama Lengkap",
"enterFullName": "Masukkan Nama Lengkap Anda", "enterFullName": "Masukkan Nama Lengkap Anda",
"enterUsername": "Masukkan Username Anda", "enterUsername": "Masukkan Username Anda",
@ -517,7 +516,8 @@
"answer4": "MediaHub adalah platform yang menyediakan berbagai konten informatif dan edukatif. Fitur utama meliputi pencarian, pengunduhan, dan personalisasi konten.", "answer4": "MediaHub adalah platform yang menyediakan berbagai konten informatif dan edukatif. Fitur utama meliputi pencarian, pengunduhan, dan personalisasi konten.",
"welcome": "Selamat Datang di", "welcome": "Selamat Datang di",
"polda": "Liputan resmi yang bersumber dari kegiatan Polri di Polda", "polda": "Liputan resmi yang bersumber dari kegiatan Polri di Polda",
"satker": "Liputan resmi yang bersumber dari kegiatan Polri di Satker" "satker": "Liputan resmi yang bersumber dari kegiatan Polri di Satker",
"resending": "Kirim Ulang"
}, },
"FilterPage": { "FilterPage": {
"image": "Foto", "image": "Foto",