diff --git a/src/assets/images/2025_lgce.jpg b/src/assets/images/2025_lgce.jpg new file mode 100644 index 0000000..0c58975 Binary files /dev/null and b/src/assets/images/2025_lgce.jpg differ diff --git a/src/pages/GazetteIssue/index.js b/src/pages/GazetteIssue/index.js index 8c68610..ca9e1d7 100644 --- a/src/pages/GazetteIssue/index.js +++ b/src/pages/GazetteIssue/index.js @@ -197,29 +197,25 @@ const Index = () => { - + Upload Files + { - readFile(event) - }} - /> - + onChange={readFile} + aria-label="Upload Excel file (.xlsx)" + /> + - :null diff --git a/src/pages/Holiday/index.js b/src/pages/Holiday/index.js index 3fe85a7..4f24c29 100644 --- a/src/pages/Holiday/index.js +++ b/src/pages/Holiday/index.js @@ -183,41 +183,36 @@ const Index = () => { - + {isGrantedAny(["MAINTAIN_GAZETTE_ISSUE"]) ? + - - - {isGrantedAny(["MAINTAIN_GAZETTE_ISSUE"]) ? - - Upload Files + { - readFile(event) - }} - /> - + onChange={readFile} + aria-label="Upload Excel file (.xlsx)" + /> + :null } diff --git a/src/pages/Proof/Create_FromApp/ProofForm.js b/src/pages/Proof/Create_FromApp/ProofForm.js index ab47b56..0624763 100644 --- a/src/pages/Proof/Create_FromApp/ProofForm.js +++ b/src/pages/Proof/Create_FromApp/ProofForm.js @@ -273,32 +273,26 @@ const FormPanel = ({ formData }) => { /> - + - + - - import('./AuthCardCustom'))); @@ -18,38 +19,95 @@ const BackgroundHead = { }; const AuthWrapper = ({ children }) => { - // Move useIntl inside component const intl = useIntl(); + const isSmall = useMediaQuery('(max-width:600px)'); + const [openPopup, setOpenPopup] = useState(true); + +const handleClosePopup = () => { + setOpenPopup(false); +}; + return ( + {/* Popup */} + + + + + + + + + + + + {/* Page content */}
- - + - + -
+
- @@ -61,24 +119,24 @@ const AuthWrapper = ({ children }) => { - { - checkSysEnv() !== '' ? - - User Acceptance Test Environment - - : "" - } + {checkSysEnv() !== '' ? ( + + User Acceptance Test Environment + + ) : ( + "" + )} - + {children} diff --git a/src/translations/en.json b/src/translations/en.json index fbcb762..97d70a8 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -592,5 +592,7 @@ "userGuidePub10":"10. Payment", "Dashboard": "Dashboard", - "event": "Event" + "event": "Event", + "lgce_alt": "2025 Legislative Council General Election", + "lgce_title": "2025 Legislative Council General Election" } \ No newline at end of file diff --git a/src/translations/zh-CN.json b/src/translations/zh-CN.json index 7628cbc..3fe53bd 100644 --- a/src/translations/zh-CN.json +++ b/src/translations/zh-CN.json @@ -588,5 +588,7 @@ "userGuidePub10":"10. 付款", "Dashboard": "仪表板", - "event": "活动" + "event": "活动", + "lgce_alt": "2025年立法会换届选举", + "lgce_title": "2025年立法会换届选举" } \ No newline at end of file diff --git a/src/translations/zh-HK.json b/src/translations/zh-HK.json index c622028..d9394e7 100644 --- a/src/translations/zh-HK.json +++ b/src/translations/zh-HK.json @@ -589,5 +589,7 @@ "userGuidePub10":"10. 付款", "Dashboard": "儀表板", - "event": "活動" + "event": "活動", + "lgce_alt": "2025年立法會換屆選舉", + "lgce_title": "2025年立法會換屆選舉" } \ No newline at end of file