From 70b87c12db0646dc76a0cf46969e97f009526bc4 Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 28 Aug 2024 13:27:30 +0800 Subject: [PATCH] update user guide pub link --- src/pages/extra-pages/UserMenuPub/index.js | 122 +++++++++++---------- 1 file changed, 62 insertions(+), 60 deletions(-) diff --git a/src/pages/extra-pages/UserMenuPub/index.js b/src/pages/extra-pages/UserMenuPub/index.js index 6e1b179..269a01d 100644 --- a/src/pages/extra-pages/UserMenuPub/index.js +++ b/src/pages/extra-pages/UserMenuPub/index.js @@ -52,6 +52,8 @@ const UserMenu = () => { ; } + const pnspsurl = "https://"+window.location.hostname; + return ( !onReady ? @@ -90,102 +92,102 @@ const UserMenu = () => { {getRow({ title: , - orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/01 - Create account - c 1.pdf", - orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/01c - Create account - c 1.pdf", - orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/01sc - Create account - c 1.pdf", - indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/01 - Create account - p 1.pdf", - indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/01c - Create account - p 1.pdf", - indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/01sc - Create account - p 1.pdf" + orgEn: pnspsurl + "/user-guide-pub/eng/01 - Create account - c 1.pdf", + orgZh: pnspsurl + "/user-guide-pub/cht/01c - Create account - c 1.pdf", + orgCn: pnspsurl + "/user-guide-pub/chs/01sc - Create account - c 1.pdf", + indEn: pnspsurl + "/user-guide-pub/eng/01 - Create account - p 1.pdf", + indZh: pnspsurl + "/user-guide-pub/cht/01c - Create account - p 1.pdf", + indCn: pnspsurl + "/user-guide-pub/chs/01sc - Create account - p 1.pdf" })} {getRow({ title: , - orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/02 - Login - c 1.pdf", - orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/02c - Login - c 1.pdf", - orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/02sc - Login - c 1.pdf", - indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/02 - Login - p 1.pdf", - indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/02c - Login - p 1.pdf", - indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/02sc - Login - p 1.pdf" + orgEn: pnspsurl + "/user-guide-pub/eng/02 - Login - c 1.pdf", + orgZh: pnspsurl + "/user-guide-pub/cht/02c - Login - c 1.pdf", + orgCn: pnspsurl + "/user-guide-pub/chs/02sc - Login - c 1.pdf", + indEn: pnspsurl + "/user-guide-pub/eng/02 - Login - p 1.pdf", + indZh: pnspsurl + "/user-guide-pub/cht/02c - Login - p 1.pdf", + indCn: pnspsurl + "/user-guide-pub/chs/02sc - Login - p 1.pdf" })} {getRow({ title: , - orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/03 - Application for publishing a Public Notice in the Gazette - c 1.pdf", - orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/03c - Application for publishing a Public Notice in the Gazette - c 1.pdf", - orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/03sc - Application for publishing a Public Notice in the Gazette - c 1.pdf", - indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/03 - Application for publishing a Public Notice in the Gazette - p 1.pdf", - indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/03c - Application for publishing a Public Notice in the Gazette - p 1.pdf", - indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/03sc - Application for publishing a Public Notice in the Gazette - p 1.pdf" + orgEn: pnspsurl + "/user-guide-pub/eng/03 - Application for publishing a Public Notice in the Gazette - c 1.pdf", + orgZh: pnspsurl + "/user-guide-pub/cht/03c - Application for publishing a Public Notice in the Gazette - c 1.pdf", + orgCn: pnspsurl + "/user-guide-pub/chs/03sc - Application for publishing a Public Notice in the Gazette - c 1.pdf", + indEn: pnspsurl + "/user-guide-pub/eng/03 - Application for publishing a Public Notice in the Gazette - p 1.pdf", + indZh: pnspsurl + "/user-guide-pub/cht/03c - Application for publishing a Public Notice in the Gazette - p 1.pdf", + indCn: pnspsurl + "/user-guide-pub/chs/03sc - Application for publishing a Public Notice in the Gazette - p 1.pdf" })} {getRow({ title: , - orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/04 - Proofreading reply (with correction) - c 1.pdf", - orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/04c - Proofreading reply (with correction) - c 1.pdf", - orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/04sc - Proofreading reply (with correction) - c 1.pdf", - indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/04 - Proofreading reply (with correction) - p 1.pdf", - indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/04c - Proofreading reply (with correction) - p 1.pdf", - indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/04sc - Proofreading reply (with correction) - p 1.pdf" + orgEn: pnspsurl + "/user-guide-pub/eng/04 - Proofreading reply (with correction) - c 1.pdf", + orgZh: pnspsurl + "/user-guide-pub/cht/04c - Proofreading reply (with correction) - c 1.pdf", + orgCn: pnspsurl + "/user-guide-pub/chs/04sc - Proofreading reply (with correction) - c 1.pdf", + indEn: pnspsurl + "/user-guide-pub/eng/04 - Proofreading reply (with correction) - p 1.pdf", + indZh: pnspsurl + "/user-guide-pub/cht/04c - Proofreading reply (with correction) - p 1.pdf", + indCn: pnspsurl + "/user-guide-pub/chs/04sc - Proofreading reply (with correction) - p 1.pdf" })} {getRow({ title: , - orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/05 - Proofreading reply (pass for printing) - c 1.pdf", - orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/05c - Proofreading reply (pass for printing) - c 1.pdf", - orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/05sc - Proofreading reply (pass for printing) - c 1.pdf", - indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/05 - Proofreading reply (pass for printing) - p 1.pdf", - indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/05c - Proofreading reply (pass for printing) - p 1.pdf", - indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/05sc - Proofreading reply (pass for printing) - p 1.pdf" + orgEn: pnspsurl + "/user-guide-pub/eng/05 - Proofreading reply (pass for printing) - c 1.pdf", + orgZh: pnspsurl + "/user-guide-pub/cht/05c - Proofreading reply (pass for printing) - c 1.pdf", + orgCn: pnspsurl + "/user-guide-pub/chs/05sc - Proofreading reply (pass for printing) - c 1.pdf", + indEn: pnspsurl + "/user-guide-pub/eng/05 - Proofreading reply (pass for printing) - p 1.pdf", + indZh: pnspsurl + "/user-guide-pub/cht/05c - Proofreading reply (pass for printing) - p 1.pdf", + indCn: pnspsurl + "/user-guide-pub/chs/05sc - Proofreading reply (pass for printing) - p 1.pdf" })} {getRow({ title: , - orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/06 - Cancellation of application for publishing a Public Notice in the Gazette - c 1.pdf", - orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/06c - Cancellation of application for publishing a Public Notice in the Gazette - c 1.pdf", - orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/06sc - Cancellation of application for publishing a Public Notice in the Gazette - c 1.pdf", - indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/06 - Cancellation of application for publishing a Public Notice in the Gazette - p 1.pdf", - indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/06c - Cancellation of application for publishing a Public Notice in the Gazette - p 1.pdf", - indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/06sc - Cancellation of application for publishing a Public Notice in the Gazette - p 1.pdf" + orgEn: pnspsurl + "/user-guide-pub/eng/06 - Cancellation of application for publishing a Public Notice in the Gazette - c 1.pdf", + orgZh: pnspsurl + "/user-guide-pub/cht/06c - Cancellation of application for publishing a Public Notice in the Gazette - c 1.pdf", + orgCn: pnspsurl + "/user-guide-pub/chs/06sc - Cancellation of application for publishing a Public Notice in the Gazette - c 1.pdf", + indEn: pnspsurl + "/user-guide-pub/eng/06 - Cancellation of application for publishing a Public Notice in the Gazette - p 1.pdf", + indZh: pnspsurl + "/user-guide-pub/cht/06c - Cancellation of application for publishing a Public Notice in the Gazette - p 1.pdf", + indCn: pnspsurl + "/user-guide-pub/chs/06sc - Cancellation of application for publishing a Public Notice in the Gazette - p 1.pdf" })} {getRow({ title: , - orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/07 - Forgot password - c 1.pdf", - orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/07c - Forgot password - c 1.pdf", - orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/07sc - Forgot password - c 1.pdf", - indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/07 - Forgot password - p 1.pdf", - indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/07c - Forgot password - p 1.pdf", - indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/07sc - Forgot password - p 1.pdf" + orgEn: pnspsurl + "/user-guide-pub/eng/07 - Forgot password - c 1.pdf", + orgZh: pnspsurl + "/user-guide-pub/cht/07c - Forgot password - c 1.pdf", + orgCn: pnspsurl + "/user-guide-pub/chs/07sc - Forgot password - c 1.pdf", + indEn: pnspsurl + "/user-guide-pub/eng/07 - Forgot password - p 1.pdf", + indZh: pnspsurl + "/user-guide-pub/cht/07c - Forgot password - p 1.pdf", + indCn: pnspsurl + "/user-guide-pub/chs/07sc - Forgot password - p 1.pdf" })} {getRow({ title: , - orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/08 - Change password - c 1.pdf", - orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/08c - Change password - c 1.pdf", - orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/08sc - Change password - c 1.pdf", - indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/08 - Change password - p 1.pdf", - indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/08c - Change password - p 1.pdf", - indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/08sc - Change password - p 1.pdf" + orgEn: pnspsurl + "/user-guide-pub/eng/08 - Change password - c 1.pdf", + orgZh: pnspsurl + "/user-guide-pub/cht/08c - Change password - c 1.pdf", + orgCn: pnspsurl + "/user-guide-pub/chs/08sc - Change password - c 1.pdf", + indEn: pnspsurl + "/user-guide-pub/eng/08 - Change password - p 1.pdf", + indZh: pnspsurl + "/user-guide-pub/cht/08c - Change password - p 1.pdf", + indCn: pnspsurl + "/user-guide-pub/chs/08sc - Change password - p 1.pdf" })} {getRow({ title: , - orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/09 - Language of email notification - c 1.pdf", - orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/09c - Language of email notification - c 1.pdf", - orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/09sc - Language of email notification - c 1.pdf", - indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/09 - Language of email notification - p 1.pdf", - indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/09c - Language of email notification - p 1.pdf", - indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/09sc - Language of email notification - p 1.pdf" + orgEn: pnspsurl + "/user-guide-pub/eng/09 - Language of email notification - c 1.pdf", + orgZh: pnspsurl + "/user-guide-pub/cht/09c - Language of email notification - c 1.pdf", + orgCn: pnspsurl + "/user-guide-pub/chs/09sc - Language of email notification - c 1.pdf", + indEn: pnspsurl + "/user-guide-pub/eng/09 - Language of email notification - p 1.pdf", + indZh: pnspsurl + "/user-guide-pub/cht/09c - Language of email notification - p 1.pdf", + indCn: pnspsurl + "/user-guide-pub/chs/09sc - Language of email notification - p 1.pdf" })} {getRow({ title: , - orgEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/10 - Payment - c 1.pdf", - orgZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/10c - Payment - c 1.pdf", - orgCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/10sc - Payment - c 1.pdf", - indEn: "https://pnsps.gld.gov.hk/user-guide-pub/eng/10 - Payment - p 1.pdf", - indZh: "https://pnsps.gld.gov.hk/user-guide-pub/cht/10c - Payment - p 1.pdf", - indCn: "https://pnsps.gld.gov.hk/user-guide-pub/chs/10sc - Payment - p 1.pdf" + orgEn: pnspsurl + "/user-guide-pub/eng/10-Payment-c1.pdf", + orgZh: pnspsurl + "/user-guide-pub/cht/10c-Payment-c1.pdf", + orgCn: pnspsurl + "/user-guide-pub/chs/10sc-Payment-c1.pdf", + indEn: pnspsurl + "/user-guide-pub/eng/10-Payment-p1.pdf", + indZh: pnspsurl + "/user-guide-pub/cht/10c-Payment-p1.pdf", + indCn: pnspsurl + "/user-guide-pub/chs/10sc-Payment-p1.pdf" })}