import { Grid, Typography, Stack, } from '@mui/material';
import { useState, useEffect, lazy } from "react";
import Loadable from 'components/Loadable';
import { useIntl, FormattedMessage } from "react-intl";
import titleBackgroundImg from 'assets/images/dashboard/gazette-bar.png'
const BackgroundHead = {
backgroundImage: `url(${titleBackgroundImg})`,
width: '100%',
height: '100%',
backgroundSize: 'contain',
backgroundRepeat: 'no-repeat',
backgroundColor: '#0C489E',
backgroundPosition: 'right'
}
const LoadingComponent = Loadable(lazy(() => import('pages/extra-pages/LoadingComponent')));
import DownloadIcon from '@mui/icons-material/Download';
const UserMenu = () => {
const intl = useIntl();
const { locale } = intl;
const [onReady, setOnReady] = useState(false);
useEffect(() => {
setOnReady(true);
}, [locale]);
const tableStyle = {
fontFamily: "arial, sans-serif",
borderCollapse: "collapse",
width: "100%",
}
const cellStyle = {
border: "1px solid #dddddd",
textAlign: "left",
padding: "8px"
};
const getRow = ({ title, orgEn, orgZh, orgCn, indEn, indZh, indCn }) => {
return <>
{title} |
|
|
>
;
}
return (
!onReady ?
:
(
|
|
|
{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"
})}
{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"
})}
{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"
})}
{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"
})}
{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"
})}
{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"
})}
{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"
})}
{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"
})}
{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"
})}
{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"
})}
)
);
}
export default UserMenu;