diff --git a/backend/mobile/downloadApps.route.ts b/backend/mobile/downloadApps.route.ts index 5b8f4cd..69f5a87 100644 --- a/backend/mobile/downloadApps.route.ts +++ b/backend/mobile/downloadApps.route.ts @@ -62,4 +62,44 @@ router.get("/ehs/xml", (_, res) => { return res.sendFile(xmlPath); }); +router.get("/upgrade/android/13", (_, res) => { + const apkPath = path.join( + downloadDir, + "HE_FULL_UPDATE_13-51-16.00-TG-U00-STD-HEL-04.zip", + ); + + if (!fs.existsSync(apkPath)) { + return res.status(404).json({ success: false, message: "APK not found" }); + } + + //res.setHeader("Content-Type", "application/vnd.android.package-archive"); + res.setHeader("Content-Type", "application/zip"); + res.setHeader( + "Content-Disposition", + `attachment; filename="HE_FULL_UPDATE_13.zip"`, + ); + + return res.sendFile(apkPath); +}); + +router.get("/upgrade/android/14", (_, res) => { + const apkPath = path.join( + downloadDir, + "HE_FULL_UPDATE_14-38-04.00-UG-U15-STD-HEL-04.zip", + ); + + if (!fs.existsSync(apkPath)) { + return res.status(404).json({ success: false, message: "APK not found" }); + } + + //res.setHeader("Content-Type", "application/vnd.android.package-archive"); + res.setHeader("Content-Type", "application/zip"); + res.setHeader( + "Content-Disposition", + `attachment; filename="HE_FULL_UPDATE_14.zip"`, + ); + + return res.sendFile(apkPath); +}); + export default router; diff --git a/frontend/public/imgs/docs/mobile/usday1-1.png b/frontend/public/imgs/docs/mobile/usday1-1.png new file mode 100644 index 0000000..3c1c77d Binary files /dev/null and b/frontend/public/imgs/docs/mobile/usday1-1.png differ diff --git a/frontend/public/imgs/docs/mobile/usday1-2.png b/frontend/public/imgs/docs/mobile/usday1-2.png new file mode 100644 index 0000000..e819c5d Binary files /dev/null and b/frontend/public/imgs/docs/mobile/usday1-2.png differ diff --git a/frontend/public/imgs/docs/mobile/usday1-3.png b/frontend/public/imgs/docs/mobile/usday1-3.png new file mode 100644 index 0000000..2416a48 Binary files /dev/null and b/frontend/public/imgs/docs/mobile/usday1-3.png differ diff --git a/frontend/public/imgs/docs/mobile/usweb1-1.png b/frontend/public/imgs/docs/mobile/usweb1-1.png new file mode 100644 index 0000000..bf892bc Binary files /dev/null and b/frontend/public/imgs/docs/mobile/usweb1-1.png differ diff --git a/frontend/public/imgs/docs/mobile/usweb1-2.png b/frontend/public/imgs/docs/mobile/usweb1-2.png new file mode 100644 index 0000000..4285383 Binary files /dev/null and b/frontend/public/imgs/docs/mobile/usweb1-2.png differ diff --git a/frontend/public/imgs/docs/mobile/usweb1-3.png b/frontend/public/imgs/docs/mobile/usweb1-3.png new file mode 100644 index 0000000..9965b1e Binary files /dev/null and b/frontend/public/imgs/docs/mobile/usweb1-3.png differ diff --git a/frontend/public/stage-now/usday1-stageNow.pdf b/frontend/public/stage-now/usday1-stageNow.pdf new file mode 100644 index 0000000..521f4fc Binary files /dev/null and b/frontend/public/stage-now/usday1-stageNow.pdf differ diff --git a/frontend/public/stage-now/usweb1-stageNow.pdf b/frontend/public/stage-now/usweb1-stageNow.pdf new file mode 100644 index 0000000..7a36cb2 Binary files /dev/null and b/frontend/public/stage-now/usweb1-stageNow.pdf differ diff --git a/frontend/src/components/Sidebar/DocBar.tsx b/frontend/src/components/Sidebar/DocBar.tsx index 2a0cc36..f671566 100644 --- a/frontend/src/components/Sidebar/DocBar.tsx +++ b/frontend/src/components/Sidebar/DocBar.tsx @@ -85,10 +85,9 @@ export default function DocBar() { {docs.map((item) => ( - <> +
{item.isActive && ( )} - +
))}